Re: [cc65] ca65 for stand-alone asm projects

From: Christian Grössler <chris1groessler.org>
Date: 2010-11-12 20:19:58
On 11.11.10 06:55, Daniel Pralle wrote:
>
> IMHO its enuff to ive the warning. There are cases when you do not need a DOS and want to use all memory from $600 upwards. Maybe we can copy $700-$26ff to $e000-$ffff so teh program can exit cleanly. When you use the DOS memeory for dynamic data (aka after the C prgram has loaded) it would even be loadable from DOS ;)

You mean to swap out (save it under the OS ROM area) the parts of DOS which will get overwritten?
This might work, unless, due to the low load address, the parts of DOS which load the EXE chunk
are overwritten in the process of loading this chunk.

>>
>
> Ermmm... maybe your explaination is wrong worded, but when we copy the ROM ($c000-$cfff and $e000-$ffff) into teh underlaying ROM (same memroy regions) how do we gain more memory for the C program? We wouldl get more RAM when we copy C functions under the ROM and have a possibility to call them in a special way (switching off OS/IRQs, calling, switching on OS/IRQs after return).

I was referring to http://www.cc65.org/mailarchive/2009-11/7591.html .
I was under the impression that parts of the OS which aren't normally used, could be assigned to the
heap or linker segments after the OS was copied to RAM. Reading the mail
message again it might not be the case. But then it might be possible
to implement something like HIGHMEM for the Atari.

I have to think about it...

chris
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Nov 12 20:20:03 2010

This archive was generated by hypermail 2.1.8 : 2010-11-12 20:20:06 CET