From: Greg King (gngking_at_erols.com)
Date: 2003-01-05 21:40:48
-----Original Message----- From: Maciej Witkowiak Date: Thursday, January 02, 2003 05:41 PM Subject: Re: [cc65] LUnix > (to Uz) > Looking at lunix.cfg for ld65, I see that ZEROPAGE segment > begins at $80 -- are zero-page locations in o65 put with > $80+offset_in_zp_segment; or, just offset_in_zp_segment, > and it is up to loader to relocate them using zp base-address from header? > Current loader for LUnix does not relocate zp (it is silently assumed that > base-address of zp is 0) because applications have to have access > to system-data in $02-$80 range. It is $80+segment_offset -- as you said before, relocation isn't needed. "cc65/asminc/lunix/system.inc" defines system-variables with address-literals. They aren't affected by the loader. I need o65_loader to be a public function (defined in "jumptab.h"). Then, the LUnix version of mod_load() can use it to do most of the work. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-01-05 21:52:44 CET