Re: [cc65] Atari __RESERVED_MEMORY__

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-10-27 19:04:58
On Mon, Oct 26, 2009 at 09:44:00PM -0300, Daniel Serpell wrote:
> There is another solution: the graphics function wrapper could reserve
> the memory
> needed from the heap, adjusting RAMTOP (ZP $6A) to just bellow the stack
> and APPMHI to the current top of the heap.
[...]
> Of course, a better alternative still is using a malloced buffer and setting the
> graphics mode in the TGI code. This allows keeping the text mode screen
> unchanged when in graphics mode, all the conio functions would work to this
> "virtual" screen, but then all the graphics function should set and restore
> SAVMSC before calling ROM functions.

There's no platform specific code in the tgi library, all platform code is in
the driver. And the driver has no access to the heap ...

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Oct 27 19:13:22 2009

This archive was generated by hypermail 2.1.8 : 2009-10-27 19:13:24 CET