XA Output

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

XA Output

Post by Badger » Tue Oct 22, 2019 7:54 pm

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: 2491
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Re: XA Output

Post by Chema » Wed Oct 23, 2019 8:10 am


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

Re: XA Output

Post by Badger » Thu Oct 24, 2019 6:21 am

Perfect.

Even creates the data staements too.

Many thanks

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

Post Reply