Discussion
 
421 views
 
69% damifortune
pet (format) View HTML Version
 

The '[b]Commodore PET'[/b] was a 1977 personal computer by Commodore International. Some versions of the PET came with "beeper" sound - a 1-channel speaker used for sound generation. That's what we're here to make music for, similar to the '[[zxbeep (format)[ZXBeep format] or '[[channelf (format)[Channel F]. A converter is used to make music in an .xm file that gets turned into a .prg program readable by the PET (or an emulator).

'[#[Tools]
You will need both the '[l[https://sourceforge.net/projects/tass64/files/binaries/64tass-1.53.1515.zip/download[64tass] assembly compiler and the '[l[https://kleeder.de/files/botb/pet/thingscantpet.zip[thingscantpet] .xm converter to make music for this format.

Official repo for '[l[https://github.com/AYCEdemo/pettan[Pettan Converter]
Pettan Converter supports 64tass v1.53.1515 through v1.55.2200

Quick reference for Pettan:

To convert XM => BIN
python xmconv.py music.xm music.bin

To convert BIN => PRG (Executable)
64tass -C -a -D STANDALONE=1 -o pettan.prg player.asm

Note: if using a different filename than "music.bin"
Update the player.asm file, line 462
.binary "yourBinFileNameHere.bin"


'[#[Restrictions on submit]
Submission should be a .prg file playable on the Commodore PET (or in an emulator).

'[#[Playback (for voting)]
Open the .prg in your emulator of choice (such as VICE) to hear the song. Make sure you have enough RAM chosen (default is 8KB)!

'[#[See also]
- '[[zxbeep (format)]
- '[[channelf (format)]
- '[[c64 (format)]

 
C A T E G O R I E S
 
 
Battle Formats