Re: [cc65] Linker configs for VIC20

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-02-10 13:15:00
On Thu, Feb 10, 2005 at 10:55:48AM -0000, Jeff Dyer wrote:
> Also - why does the default config start at $FFF when according to the
> memory map it should by $1000

On an unexpanded VIC, BASIC programs load to $1001. The file on disk contains
the load address in the first two bytes, this load address is read by the
kernal and stripped. Since what the linker generates is a disk file, it must
contain the load address, and therefore the virtual start address of the
program is not $1001, but $FFF.

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 Thu Feb 10 13:15:04 2005

This archive was generated by hypermail 2.1.8 : 2005-02-10 13:15:14 CET