Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #781
| From | Egan Ford <datajerk@gmail.com> |
|---|---|
| Newsgroups | comp.sys.apple2.programmer |
| Subject | Re: Dual 65C816/65C02 programs |
| Date | 2013-07-27 15:04 -0600 |
| Organization | XMission http://xmission.com/ |
| Message-ID | <kt1ckm$vge$1@news.xmission.com> (permalink) |
| References | (4 earlier) <df594e1e-9fff-4500-a727-bb19c4d89758@googlegroups.com> <ksbr2i$82p$1@news.xmission.com> <205ff4d1-03fa-462b-8b43-4345473ff2c8@googlegroups.com> <kseioh$cs2$1@news.xmission.com> <98019f17-3110-4775-acef-17d7e36710d9@googlegroups.com> |
On 7/25/13 9:25 AM, gids.rs@sasktel.net wrote: > Due to 16-bit registers used in 16 mode, detection and redirection would also not work, since there pretty much will never be any common code, unless you are using emulation mode from 16-bit mode. But the IIGS is about speed, and you will want to use 16-bits to benefit from that speed. Yes that is very true, however there are a few exceptions, e.g. JMPs and tests on flags. E.g LDA addr, you do not care what the value is, but you can test for zero flag. But then there is a challenge of what bank if on a 16-bit system.... > You are way better off to have two separate programs so that both 8-bit code and 16-bit code are not in memory at the same time. > > Step 1: Identify computer > Step 2: run 16-bit program if IIGS found > : run 8-bit program if IIGS not found > > RAM memory is way more precious than disk space. Completely agree. That was my first post in this thread, "I can think of one reason why you wouldn't want to do that--code size. The code segment would most likely take 2x RAM.". This thread has turned in to a "could I", vs. a "should I".
Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Dual 65C816/65C02 programs D Finnigan <dog_cow@macgui.com> - 2013-07-14 02:35 +0000
Re: Dual 65C816/65C02 programs Egan Ford <datajerk@gmail.com> - 2013-07-14 21:35 -0500
Re: Dual 65C816/65C02 programs D Finnigan <dog_cow@macgui.com> - 2013-07-15 21:34 +0000
Re: Dual 65C816/65C02 programs Charlie <charlieDOTd@verEYEzon.net> - 2013-07-15 20:47 -0400
Re: Dual 65C816/65C02 programs gbody4@bigpond.com - 2013-07-15 18:52 -0700
Re: Dual 65C816/65C02 programs Dagen Brock <DagenBrock@gmail.com> - 2013-07-19 07:49 -0700
Re: Dual 65C816/65C02 programs Egan Ford <datajerk@gmail.com> - 2013-07-19 10:55 -0600
Re: Dual 65C816/65C02 programs Dagen Brock <DagenBrock@gmail.com> - 2013-07-19 13:21 -0700
Re: Dual 65C816/65C02 programs Egan Ford <datajerk@gmail.com> - 2013-07-20 11:52 -0600
Re: Dual 65C816/65C02 programs D Finnigan <dog_cow@macgui.com> - 2013-07-20 22:47 +0000
Re: Dual 65C816/65C02 programs Egan Ford <datajerk@gmail.com> - 2013-07-21 11:19 -0600
Re: Dual 65C816/65C02 programs D Finnigan <dog_cow@macgui.com> - 2013-07-21 17:35 +0000
Re: Dual 65C816/65C02 programs gids.rs@sasktel.net - 2013-07-25 08:25 -0700
Re: Dual 65C816/65C02 programs Egan Ford <datajerk@gmail.com> - 2013-07-27 15:04 -0600
csiph-web