ZX81 assembler development on Linux
Posted: Tue May 30, 2017 10:36 am
Good morning,
I recently got rid of Windows on my home computer, and I am now happily running Ubuntu. I used to use ZX-IDE with EightyOne on Windows. I am now using Notepadqq (for editing), PASMO (for assembling) and ZEsarUX (for emulating) on Linux. Works well, even if I miss the integrated environment that ZX-IDE was providing.
One of the annoyances I'm running into with PASMO is the lack of a mode similar to the LISTING mode I could find on ZX-IDE. I can certainly generate a table of symbols with PASMO, but it does not come close to the usefulness of seeing my program in Z80 mnemonics next to the generated hexdecimal codes and the memory addresses locations. It became a handicap the other day when I wanted to start my assembly program at an address which is not at 16514 (usual address for a 16K ZX81). The only solution i could find was to put a label where i want to start my program, generate the symbol table, and go back to my program afterward to replace 16514 with whatever the symbol table gave me:
basic_0010: defb 0,10 ; 10 RAND VAL "USR 16522"
defw basic_0020-basic_0010-4
defb _RAND,_VAL,_DQT,_USR,_1,_6,_5,_2,_2,_DQT
Quite a heavy process...
Did one of the PASMO users came up with a lighter solution already? Or do I have a way to refer to my label where I want to start in the generated BASIC line (like what TASM allows me to do in ZX-IDE)?
Thanks in advance. Bruno.
I recently got rid of Windows on my home computer, and I am now happily running Ubuntu. I used to use ZX-IDE with EightyOne on Windows. I am now using Notepadqq (for editing), PASMO (for assembling) and ZEsarUX (for emulating) on Linux. Works well, even if I miss the integrated environment that ZX-IDE was providing.
One of the annoyances I'm running into with PASMO is the lack of a mode similar to the LISTING mode I could find on ZX-IDE. I can certainly generate a table of symbols with PASMO, but it does not come close to the usefulness of seeing my program in Z80 mnemonics next to the generated hexdecimal codes and the memory addresses locations. It became a handicap the other day when I wanted to start my assembly program at an address which is not at 16514 (usual address for a 16K ZX81). The only solution i could find was to put a label where i want to start my program, generate the symbol table, and go back to my program afterward to replace 16514 with whatever the symbol table gave me:
basic_0010: defb 0,10 ; 10 RAND VAL "USR 16522"
defw basic_0020-basic_0010-4
defb _RAND,_VAL,_DQT,_USR,_1,_6,_5,_2,_2,_DQT
Quite a heavy process...
Did one of the PASMO users came up with a lighter solution already? Or do I have a way to refer to my label where I want to start in the generated BASIC line (like what TASM allows me to do in ZX-IDE)?
Thanks in advance. Bruno.