XA Output

Here you can ask questions or provide insights about how to use efficiently 6502 assembly code on the Oric.
User avatar
Badger
Pilot Officer
Posts: 84
Joined: Sat Sep 22, 2018 10:04 am
Location: Wigan, England

XA Output

Post 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
flag_uk Amateurs built the Ark, Professionals built the Titanic.
User avatar
Chema
Game master
Posts: 3014
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Re: XA Output

Post by Chema »

User avatar
Badger
Pilot Officer
Posts: 84
Joined: Sat Sep 22, 2018 10:04 am
Location: Wigan, England

Re: XA Output

Post by Badger »

Perfect.

Even creates the data staements too.

Many thanks

Ian :D
flag_uk Amateurs built the Ark, Professionals built the Titanic.
Post Reply