For the ZX81 I found a great Visual Code extension, which allows to develop and debug the Z80 code and in the same time generates a BASIC program I can execute either in the EightyOne emulator or on the ZX itself.
For the Orics I tested the Oricutron emulator et l'OSDK but the debugger in the OSDK Monitor window is very limited.
I also tested CC65, the C and assembly compilator, it's great. For debugging I tested DB65.
The problem I face is that I didn't not found the compilator / linker instructions and 6502 assembly code to generate a tape file and which can be debugged with DB65.
- For generating a tape file I use the following instructions:
Code: Select all
ca65.exe -g --cpu 6502 -l TestDom.lst -o TestDom.o TestDom.s
ld65.exe -t atmos -m TestDom.map -Ln TestDom.sym --dbgfile TestDom.dbg -o TestDom.tap TestDom.o atmos.lib
Code: Select all
.forceimport __STARTUP__
Code: Select all
ca65.exe -g --cpu 6502 -l TestDom.lst -o TestDom.o TestDom.s
ld65.exe -m TestDom.map -Ln TestDom.sym --dbgfile TestDom.dbg -C TestDom.cfg -o TestDom.bin TestDom.o
The .cfg file is the same than this DB65 example: https://github.com/tmr4/db65xx_projects ... _world.cfg
All the 6502 code I write in the .s file can be the same in both configurations.
Is there another way of doing or other 6502 development and debugging tools which can generate a tape file and can be debugged with great tools like Visual Code or Studio?
Thanks a lot