Page 1 of 1

xa65 cross assembler - ROM binaries?

Posted: Sat Nov 08, 2003 12:45 pm
by philpem
Hi,
Has anyone managed to get Andre Fachat's "XA65" assembler to produce a binary file?
I'm trying to write an OS loader for my 6502 computer project. The catch is, I can't see how to get xa65 to produce a raw binary file as output. ATM it seems to be producing C64 PRG files.

Thanks.
Phil.

Posted: Thu Nov 13, 2003 7:28 pm
by schidester
I'm not 100% certain of this, but I believe that the C64's PRG format simply allows for the start address of the program to be specified in the first two bytes (this is the address where the program is to be loaded in memory, not necessarily the start vector for the program). Following these two bytes is a raw binary image of the program, suitable for EPROM programming or whatever. If you can't figure out how to get the assembler to do a raw binary, simply strip these two bytes off the front of your program in a hex editor.

Posted: Mon Nov 24, 2003 12:10 pm
by swiety
Look at http://www.atariarea.histeria.pl/x-asm/
It's good atari xl assembler for DOS , but ca generate binary files good as rom , and can fill area between 2 orgs !
I use it to assembly my rom files