Hello Uz, * On Fri, Jan 21, 2005 at 11:32:33AM +0100 Ullrich von Bassewitz wrote: > I will send you a diff for co65 in private mail which fixes the > zeropage segment and exports problem. However, I cannot guarantee that > this is the last problem, you will run into. See below. Ok, I found another thing: With your patch, co65 outputs (for example) PP_READWRITE_DATA = +16384 ca65 does not accept this line 1571.s(8): Error: Syntax error 1571.s(8): Error: Unexpected trailing garbage characters removing the "+" for decimal solves this problem. According to ca65-3.html#ss3.3, ca65 does not expect a plus sign for a decimal number, so I believe this would be a bug in co65, not in ca65. But I may be wrong. ;-) BTW: Does ca65 support negative values? > The reason for this is that lunix is not really a fully supported > target. The compiler is able to generate output for Lunix, but the > necessary support files (even the startup file) are not part of cc65. Ok. As you already know, I am not interested in Lunix, but in the 1541/1571/1581 drives with (x)o65 files. Do you recommend another better option? ld65-5.html#ss5.8 does not mention if other OS versions than Lunix are supported. http://www.6502.org/users/andre/o65/fileformat.html mentions the OSA/65 header supplement, and you told me that there is a version for cc65 use. But which keywords do I have to use for this? And is it recommended to try another variant? Anyway, now, I can link o65 files together to form an executable (after removing the "+" from the .s files generated from co65). BTW: To compile the cc65 package on my cygwin box [1], I had to make sure that src/common/inttypes.h includes stdint.h instead of defining the own types, or I get an error. Trying to check for __STDC_VERSION__ with a simple test source [2], I get "No __STDC_VERSION__", so I do not know how this can be distinguished. Anything, everything else compiles flawlessly (despite the docs, but I do not have the sgml tools installed). Regards, Spiro. [1] $ gcc --version gcc (GCC) 3.3.1 (cygming special) [2] #include <stdio.h> #include <stddef.h> #include <string.h> #include <limits.h> int main(void) { #ifdef __STDC_VERSION__ printf("%s\n", #__STDC_VERSION__); #else printf("NO _STDC_VERSION_\n"); #endif return 0; } -- 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 13:49:47 2005
This archive was generated by hypermail 2.1.8 : 2005-01-21 13:49:57 CET