Page 1 of 1

XA Output

Posted: Tue Oct 22, 2019 7:54 pm
by Badger
Does anyone know of a way that when I compile an assembly listing using OSDK it can output a memory dump of the assembled code as a file.

something like :-
400:41 31 20 B0 20 42 24 C1
408:22 30 22 B6 42 24 0 15
410:4 4A 1 90 0 0 0 29
418:C1 31 20 B0 20 42 24 C1
420:22 30 22 B6 42 24 0 2D

I have a 6502 breadboard computer running basic and connected via a serial terminal to my pc. The only way to load/save is to send text over the serial link as a basic program. So my idea is to convert the output file into data statements in a basic program and poke them in from there.

I could convert the opcodes by hand but this would get tedious for anything more than about 10 instructions.

Obviously the asm is non-oric specific, I would just like to test some routines on the breadboard before I start adding other chips like via and sound.

Thanks in advance
Ian

Re: XA Output

Posted: Wed Oct 23, 2019 8:10 am
by Chema

Re: XA Output

Posted: Thu Oct 24, 2019 6:21 am
by Badger
Perfect.

Even creates the data staements too.

Many thanks

Ian :D