Multi version emu launch script

These files might not work on the most current version of the Commander X16, or these may be held over from the previous forum. To find previous versions of the emulator, so you can test old programs, please visit Our GitHub Page
Post Reply
ZeroByte
Posts: 714
Joined: Wed Feb 10, 2021 2:40 pm

Multi version emu launch script

Post by ZeroByte »


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.

 



fixed a bug in the -rom argument logic


Attachments

[The extension ash has been deactivated and can no longer be displayed.]

Post Reply