New upload: Multi version emu launch script

All aspects of programming on the Commander X16.
Post Reply
ZeroByte
Posts: 714
Joined: Wed Feb 10, 2021 2:40 pm

New upload: Multi version emu launch script

Post by ZeroByte »




Multi version emu launch script




View File






This is a simple quality-of-life bash script I wrote.

It makes it easy to install multiple versions of the emulator on the same system and run them from any arbitrary place. I have a directory ~/x16emu where I then create subdirectories for each revision, e.g. ~/x16emu/r38

The r38 folder is just the contents of the release .zip file (x16emu, rom.bin, kernal.sym, etc)

I place this bash script in the path (e.g. /usr/local/bin) and rename it x16emu. Now you can launch any revision by typing x16emu -v r38 and all other arguments are passed through to the actual emulator. Furthermore, if you want to use a custom ROM image and put -rom /path/to/customrom.bin , then the bash script uses that and does not send its own auto-generated -rom argument.

 






 
Post Reply