Re: [cc65] Atari Memory Layout

From: Oliver Schmidt <ol.sc1web.de>
Date: 2010-09-26 18:14:19
Hi Chris,

> So depending on the DOS version used, the lowest available memory address
> for the
> program may vary. The $2E00 value is chosen very chosen conservatively to
> work in
> (hopefully) all scenarios.

I see.

> If you know the DOS version used (since you prepare a whole boot disk where
> the
> program is supposed to be started from), you can adjust the lower memory
> accordingly.

Okay, so the approach to first select the DOS to be used and then
adjust the start address for that DOS - presuming that the program is
(only) intended to run on the chosen DOS.

> I don't know why $FFFF was chosen in the cited config file. I chose $BC1F
> since
> it's the value for a 48k+ Atari. For Ataris with less than 48k the startup
> code
> adjusts stack and heap accordlingly.

So $BC1F is a rather optimistic value and there's no scenario with a
higher value - correct?

Thanks, Oliver
----------------------------------------------------------------------
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 Sep 26 18:14:27 2010

This archive was generated by hypermail 2.1.8 : 2010-09-26 18:14:31 CEST