- Notifications
You must be signed in to change notification settings - Fork0
Music programs for Commander X16 using it's PSG in Vera
License
mobluse/x16-psg-music
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Music programs for Commander X16 using it's PSG in Vera.
The example Frere Gustav is modified fromSinclair ZX Spectrum BASIC Programming by Steven Vickers:https://worldofspectrum.org/ZXBasicManual/zxmanchap19.html. It's played with minor coords.
Command line to run using x16emu:x16emu -bas FRERE-GUSTAV.BAS -run
x16emu for Windows, Linux, and macOS can be downloaded fromhttps://www.commanderx16.com/I most often run x16emu in Raspberry Pi OS Linux on Raspberry Pi 4 B 8GB, but then you need to get it fromhttps://snapcraft.io/x16emu, or compile itfromsource.
This simulates the DECPS escape sequence using BASIC v2 DATA statements.
Command line to run using x16emu:x16emu -bas DECPS.BAS -run
The subroutine inFRERE-GUSTAV.BAS andDECPS.BAS is compatible with Basicode-3 and 3C, but has extra entryline numbers for polyphonic music:https://github.com/robhagemans/basicode/blob/master/BASICODE.rst#gosub-400