Re: [cc65] Banking out ROM

From: Daniel Serpell <daniel.serpell1gmail.com>
Date: 2009-11-15 17:20:37
Hi,

On Sun, Nov 15, 2009 at 12:53 PM, Fatih Aygün <cyco130@yahoo.com> wrote:
>
> Christian Grössler wrote:
>
>> I don't remember how exactly I came up with the $2E00 value. Maybe it
>> was with a big DOS (MyDOS for many drives) and loaded R: driver.
>>
>> I selected it to have a working default value for most cases. Remember,
>> the space for the R: driver is not dependent on whether the program uses
>> R:, but whether a 850 is being present at boot time.
>
> I was thinking that it's not the most common configuration (probably because
> I don't have a 850). But making the default value work for most cases makes
> sense to me now.
>

Another possibility is loading a little routine first to check if MEMLO is
less than the STARTUP load address, printing an error if the load would
fail.

Check this crt0.s: http://daniel.serpell.googlepages.com/crt0.s
with this config: http://daniel.serpell.googlepages.com/atari.cfg

This works in dos2.5, mydos and bwdos at least.

    Daniel.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Nov 15 17:20:51 2009

This archive was generated by hypermail 2.1.8 : 2009-11-15 17:20:54 CET