Hi! On Tue, Nov 16, 2010 at 03:20:29PM -0500, Greg King wrote: > That looks like a circular dependency! DriveBuffer's address comes from > DRIVERCODE's address, which comes from DRIVEBUFFER's address, which > comes from DriveBuffer, which comes from DRIVERCODE, which comes from > ... > > Or, did you mean to put DriveBuffer in some other segment? You're right, it must be two segments. I wrote all the examples out of my head without actually testing them. But I hope you get the idea what I wanted to show with the example: One can place a memory area inside some piece of code, and then place another memory area inside, which then is filled with other data using the linker. 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 Wed Nov 17 12:40:02 2010
This archive was generated by hypermail 2.1.8 : 2010-11-17 12:40:05 CET