On Fri, Feb 17, 2006 at 07:25:30AM -0800, Payton Byrd wrote: > > http://www.esw-heim.tu-clausthal.de/~marco/smorbrod/acme/acme.html > > would be great to get this ported to the Apple II! > > Maybe this isn't the perfect place for that because this mailing list is > about the cc65 package which already comes with the - at least in my opinion > great - ca65 cross assembler ;-) If I understood him correctly, the question was about running the assembler natively on the Apple by compiling it with cc65. As a testcase, I've tried to translate the ca65 source with cc65. There are two problems: 1. Assignments like struct foo f = { ... }; void func (void) { struct foo bar = f; ... } do not work. 2. The code generator is not able to access local variables with more than 256 bytes in all cases (that is: it depends on the code if this will work or not). The former is solvable and will be solved, but I fear that the latter is a permanent limitation. Allowing more than 256 bytes of local variables would be possible, but it needs big and slow code for variable access, since it is no longer possible to access the data via (sp),y using an index register. So I don't think it's really worth the trouble. What I couldn't try because of above errors is if the resulting executable would run on or even link for one of the 6502 platforms. The linux executable for ca65 has ~128KB - and this is without the complete C runtime library, which is in a dynamic library. The assembler needs lots of additional memory for symbols, listing and code, so I do severely doubt that it is useful when compiled for a 6502 platform. The same is probably true for ACME. 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 Fri Feb 17 19:42:09 2006
This archive was generated by hypermail 2.1.8 : 2006-02-17 19:42:13 CET