Re: [cc65] Relocating the stack?

From: Payton Byrd <plbyrd1gmail.com>
Date: 2010-08-02 09:54:00
This didn't solve my problem but I did manage to utilize the memory in BANK5
in another manner.

Instead of dynamically allocating arrays for the selected entries on the
heap, I set the arrays to memory locations at $A100 and $A500 and I simply
fill these with '\0' to initialize them instead of using free() and
calloc().

Next, instead of putting screen and color RAM in arrays I copy them at $B000
and $B1F8 to store then and from there to retrieve them.  This allowed me to
put D64/D81 support in the VIC 20 version of CBM-Command!

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Aug 2 09:54:36 2010

This archive was generated by hypermail 2.1.8 : 2010-08-02 09:54:38 CEST