Closed robin-raymond closed 6 months ago
Yes it works.
The update address is not 4099 ($1003), but rather 4102 ($1006). That is however driver dependent, but for all publicly released drivers for SF2, the vectors are:
1000 init (accumulator denotes which song) 1003 stop 1006 update
Ah okay, that was not clear. I could not find any documentation to this detail. When I look at the .PRG file I only saw the two JMP
, instructions at the start of the file so I speculated there was only two entries, init and play not realizing that play entry point was actually located at address+$06
.
Describe the bug I load an example song, e.g. Animal - Nah Na Mah Na.sf2
To Reproduce Steps to reproduce the behavior:
Load .prg file into C64 (e.g. VICE). if you type:
Expected behavior I would expect the song to play, although badly timed. I hear nothing at all. Complete silence. If I use the debugger the A register is
$00
. If I force the A register to be$01
prior toSYS 4096
, it still doesn't work.