Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(4 edits)

Of course. A lot of SID tunes tend to have their own based music players where music can be initialised at an address before an IRQ plays and then inside the main IRQ raster interrupt. Music can play. Assuming you are using CBMPRGStudio's default assembly language:

Where your variables are, add the following:


musicinit = $1000
musicplay = $1003

Where adding the binary to your project add (for example)
            *=$1000   
            incbin "music.prg",2 ;(Or if .dat, use that extension)

Before your IRQ raster interrupt add the following code:

            ;Initialise music
             lda #0
             jsr musicinit

Inside your IRQ raster interrupt add:

          ;Play music
          jsr musicplay

That's how it is done :)             

So I can use SID tunes I find online or make my own? I found this huge collection online (https://www.cosmos-c64.com/The-Epic-Commodore-C64-SID-Collection.html) but I'm not sure if it's legal for me to use any of these in the game.

I started making a tune for your game yesterday. :)

Wow that's very kind of you. Thanks mate! I look forward to hearing it.

No problem. It should be ready in under 2 weeks or so. As soon as the tune is done, I'll post you a link to the tune.