Goattracker arpeggio
(An earlier version of this answer misread your source code, apologies.)
#GOATTRACKER ARPEGGIO CODE#
Outside of very small examples, that's not a very useful way to use a sound chip, since unless the song code is designed like a coroutine, you won't be able to do anything else while the song is playing. It turns out that I should just find the music in the right format, open it in the hex editor and take out byte by byte, according to the format description?įrom your source code, it looks like you're expecting to be able to find individual songs as standalone assembly listings for a 'master' CPU (such as your 8086) that you can execute to play a song on a sound chip. If the music format contains commands for the sound chip, it means that it must also contain delays (for a reading program on a PC). Playing it on a PC is also not a problem. Finding music in different formats is not a problem. I searched google for the information itself. I mean source code for real music, and not just a single tone sounds/melodies like for the buzzer in Arduino. So, is there a base in which for a sound chip I can find music for it in the form of assembler commands for this chip? Something like (x86 pseudo asm) : byte db portSound 2īyte db musicPart1 0x5A //asm command of sound chip And this must be done at regular intervals. It turns out that for the chip to play music, I need to submit the assembler commands of this sound chip to sound chip from the assembler commands of the CPU. Let's say the sound chip is connected to the port. The sound chip (c64's SID, spectrum's Yamaha, etc.) is connected either to the input / output port, which will be reserved for the sound chip, or directly to the CPU data bus.