An idea to resolve this (Was: Re: [cc65] ca65 for stand-alone asm projects)

From: Markus Stehr <bastetfurry1ircnet.de>
Date: 2010-11-06 12:16:47
Hello List! :)

Just an idea, what if ca65 would get a new pseudo-OP called .option?
So, if you write a C64 program you would write .option c64 and the
assembler would automaticly create those loader address bytes at the
start.
Typing .option c64-basicloader $1000 would autogenerate the loader
address and a BASIC stub that would SYS to $1000.
That could be done analogue to the other platforms.
So for Example an .option Nintendo would generate me an iNES Header at
the start of my binary.

This .option could be used for other things too.
".option fillspaces $ff" would fill all empty spaces inside a binary
with $ff.
".option explicit" would warn or even refuse to write in non-declared
space.

And for that translation table stuff.
".option chartranslation cbm" would translate all string declarations to
CBMSCII.

Just my thoughts.

Greetings,
Markus

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Nov 6 12:17:00 2010

This archive was generated by hypermail 2.1.8 : 2010-11-06 12:17:03 CET