Hello, * On Thu, Jan 20, 2005 at 09:26:30PM +0100 Ullrich von Bassewitz wrote: > Since the linker tells you now, if there is a order problem, I don't > think it's necessary. Most people aren't reading the docs anyway:-) So, it seems I'm not "most people". ;-) Now, I'm making progress, but I am stuck again. Not only do I get an error message co65.exe: Warning: Operating system option without data found which I kindly ignore, but my 1541.s and 1571.s output files from co65 look "strange": ; ; File generated by co65 v 2.10.5 using model `none' ; .fopt compiler,"co65 v 2.10.5" .case on .debuginfo off PP_READWRITE_DATA = XXX .export PP_READWRITE_DATA PP_READWRITE_DDR = XXX .export PP_READWRITE_DDR [... rest snipped ...] Interestingly, 1541.s and 1571.s look exactly the same, although they define completely other values for PP_READWRITE_DATA and PP_READWRITE_DDR. For sure, it is not XXX which they define. ;-) Furthermore, if I try to compile any of the generated files, I get the following message: 1541.s(35): Error: Unexpected trailing garbage characters or readwrite.s(42): Error: Unexpected trailing garbage characters For all three files, the line cited is the one which defines .segment "ZEROPAGE", zeropage so, I believe the ", zeropage" is the thing which the assembler does not like. Ok, I can confirm this, because removing the trailing ", zeropage" results in the (expected) error message 1541.s(8): Error: Symbol `XXX' is undefined for 1541.s and 1571.s, while readwrite.s can be compiled successfully. (test files for testing yourself can be found at http://www.trikaliotis.net/download/o65test3.tar.gz again. I'm using the cc65 snapshot cc65-snapshot-win32-2.10.5.20050115-1.zip and tested cc65-snapshot-win32-2.10.5.20050121-1.zip, too.) BTW: You once told me to use the Lunix ld65 configuration file as a starting point. Where do I find that one? From ld65-5.html#ss5.10, it seems they could be found in a platform-specific package, but there is no one for Lunix. Ok, I found it in the sources, but this statement in the docs is misleading, at least. Regards, Spiro. -- Spiro R. Trikaliotis http://www.trikaliotis.net/ ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Fri Jan 21 10:36:49 2005
This archive was generated by hypermail 2.1.8 : 2005-01-21 10:36:59 CET