Hi! On Fri, Jan 21, 2005 at 08:15:38PM +0100, Spiro Trikaliotis wrote: > I mean the "OS version" of the (x)o65 file format. André's page > describes two types (OSA/65, Lunix), and I know from the conversation > with you that there is a third, official one, cc65-module. The official OS name is "cc65" (at least I hope so:-). Currently I'm using it only for cc65 modules. > BTW: Would cc65-module be a suitable "OS version" for my work, or should > I go and try to "register" another one? This is up to André to decide. When generating cc65 modules, ld65 adds a 16 bit word as OS data, which can be set using ID=xxx in the linker config. So another possibility would be to use this ID to distinguish your modules from loadable cc65 modules. This would need a small change in the linker, because currently no exports and imports are allowed when generating cc65 modules. For example, I could allow exports and imports for ids >= $8000, so you could use os = cc65, id = $8000, type = small; for your modules. Since this is nothing more than just another id, so you can also talk to André to register your own OS id. But even this would need changes in the linker, because it does currently not allow other than the three known ids. Of course you can also ignore the whole issue, and just use the Lunix or OS/A65 ids:-) > > BTW: cc65 doesn't define __STDC_VERSION__ either, but the case is somewhat > > different ... > > Well, don't you support C99? (just kidding) I'm still fighting:-) Seriously: While it would be possible, it doesn't make sense. The 64 bit integer type and a complex floating point type is just too much for an 8 bit machine. Actually, this is one of my biggest objections: The standard is no longer suited for small machines. And since the C99 standard declares all older C standards void (the C89 standard is actually no longer an official standard), most compilers for small machines won't be standards compliant. 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 Jan 21 23:41:44 2005
This archive was generated by hypermail 2.1.8 : 2005-01-21 23:41:55 CET