I am currently working on a SpecNext development environment on Linux (but basically for any OS). My plan is to use Microsoft Visual Studio Code as editor (there is a Z80 assembler extension!), SjASMPlus as assembler, and ant as build tool. The final piece of the puzzle is the emulator. I want to be able to run the assembled .nex file straight from command line.
I took an old demo that I wrote for the Speccy 48k in 1987, and changed it so it is saved as a .nex file now. The .nex file is running fine on a real SpecNext, so it should be a suitable testing candidate.
I first tried #CSpect, and my .nex file is running there, too. However, I found no way to start my demo straight from command line. I need to use the browser and manually select the .nex file. Also, #CSpect is booting up the Next every time, which takes way too long for my purpose.
ZEsarUX is the only available alternative. According to the ZEsarUX FAQ, I should be able to just run my .nex file with this command line:
Code: Select all
zesarux --noconfigfile --zoom 1 --machine tbblue --realvideo \
--enabletimexvideo --tbblue-fast-boot-mode --quickexit \
--nowelcomemessage --enable-esxdos-handler \
--esxdos-root-dir mydemodir mydemodir/mydemo.nex
My question is: How can I start my .nex file in ZEsarUX? Or how can I run it in #CSpect without booting up and manual interactions? (I would prefer ZEsarUX because it's open source.)
Thank you for your help!