Action 52 Music Driver Code and Format Document
Moderator: Moderators
Action 52 Music Driver Code and Format Document
I made an Action 52 NSF awhile back, and had to figure it all out, so I made the driver a fully assembleable unit, and documented how the format works.
Turns out, it's a Sculptured Software music driver since the same driver appears in almost all of their games (found via binary search against all NES roms).
Some of the A52 music is from "Music Construction Set" demo tunes as was previously discussed and were written by Ed Bogas, including the Cheetahmen music.
Anyways I might as well release it instead of letting it fester on the HD.
http://blog.kevtris.org/blogfiles/A52NSF.ASM
http://blog.kevtris.org/blogfiles/A52FMT.TXT
have fun!
Whoops, I might've posted this a few years ago. I honestly can't remember. Someone asked about it on IRC, so I figured it hadn't been posted yet.
Turns out, it's a Sculptured Software music driver since the same driver appears in almost all of their games (found via binary search against all NES roms).
Some of the A52 music is from "Music Construction Set" demo tunes as was previously discussed and were written by Ed Bogas, including the Cheetahmen music.
Anyways I might as well release it instead of letting it fester on the HD.
http://blog.kevtris.org/blogfiles/A52NSF.ASM
http://blog.kevtris.org/blogfiles/A52FMT.TXT
have fun!
Whoops, I might've posted this a few years ago. I honestly can't remember. Someone asked about it on IRC, so I figured it hadn't been posted yet.
/* this is a comment */
I guess that explains the Title Screen theme of NES Monopoly.
Anyway, a quick search reveals some names of staff at Sculptured Software:
Paul Webb is credited as the musician and sound effects guy.
Ken Moore, Ken Grant, Bill Williams, and Dwain Skinner have been credited as programmers for NES games developed by Sculptured Software.
So then, who programmed the sound driver?
edit again:
Action 52, Eliminator Boat Duel, Monopoly, Metal Mech, and Day Dreamin' Davey seem to use this small snippet of code:
Anyway, a quick search reveals some names of staff at Sculptured Software:
Paul Webb is credited as the musician and sound effects guy.
Ken Moore, Ken Grant, Bill Williams, and Dwain Skinner have been credited as programmers for NES games developed by Sculptured Software.
So then, who programmed the sound driver?
edit again:
Action 52, Eliminator Boat Duel, Monopoly, Metal Mech, and Day Dreamin' Davey seem to use this small snippet of code:
Code: Select all
A9 1F LDA #$1F
8D 15 40 STA $4015 ;all channels on
A9 C0 LDA #$C0
8D 17 40 STA $4017
Last edited by Dwedit on Wed Apr 06, 2011 12:12 am, edited 4 times in total.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
Re: Action 52 Music Driver Code and Format Document
I swear, I must have the only C64 version of this program that contains the Ed Bogas music.kevtris wrote:Some of the A52 music is from "Music Construction Set" demo tunes as was previously discussed and were written by Ed Bogas, including the Cheetahmen music.
None the less, the inner workings of music engines is always an interesting read.
Re: Action 52 Music Driver Code and Format Document
Was the C64 version the only one that contains the music? I downloaded some version but it doesn't seem to have them. :/ Can you share the one you have? My e-mail is thefox at aspekt.fi.Drag wrote:I swear, I must have the only C64 version of this program that contains the Ed Bogas music.kevtris wrote:Some of the A52 music is from "Music Construction Set" demo tunes as was previously discussed and were written by Ed Bogas, including the Cheetahmen music.
None the less, the inner workings of music engines is always an interesting read.(Also, I'm glad I wasn't the only one to force composers to specify the note length for every single note :S (glad I got rid of that in DNSF2))
Paul Webb wrote the driver originally; Doom94 told me that on IRC last night (he's the one that wanted the driver code and format spec).Dwedit wrote:I guess that explains the Title Screen theme of NES Monopoly.
Anyway, a quick search reveals some names of staff at Sculptured Software:
Paul Webb is credited as the musician and sound effects guy.
Ken Moore, Ken Grant, Bill Williams, and Dwain Skinner have been credited as programmers for NES games developed by Sculptured Software.
So then, who programmed the sound driver?
edit again:
Action 52, Eliminator Boat Duel, Monopoly, Metal Mech, and Day Dreamin' Davey seem to use this small snippet of code:
And yes that's most of the games I found too.. I searched for two 8-12 byte snippets of code. When I get home and remember I will post the list of games I have.
/* this is a comment */
- Doommaster1994
- Posts: 162
- Joined: Mon Jun 21, 2010 10:23 pm
- Location: Seattle, WA
- Contact:
Re: Action 52 Music Driver Code and Format Document
How else is the engine supposed to distinguish quarter notes from eighth notes? Or are you talking about a syntax that doesn't just default to sixteenth notes unless specified otherwise?Drag wrote:(Also, I'm glad I wasn't the only one to force composers to specify the note length for every single note :S (glad I got rid of that in DNSF2))
Someone must be a classic EA fan.Drag wrote:Oh derp, yeah, that's it.Dwedit wrote:What's this about "Music Construction Set"? I thought it was "The Music Studio".
Also, LOL at Active for swiping someone else's music driver. Might have been common practice in the demoscene back in the day (I know all of my C64 demos use ripped music), but I'm highly surprised that they went this route, given some quotes from the EP/designer, Vince Perri (link requires choosing a local library and logging in with an email account). Choice quote:
Sounds like someone pulled a fast one on Mr. Perri and it wasn't technically legal after all =PIn July 1993, Vince Perri wrote:The breakthrough came by accident. "I happened to see my son playing an illegal product made in Taiwan that had 40 games on it. The whole neighborhood went crazy over it," Perri said. "I figured I'd do it legally. It's obvious when you see something like that, you know there's something there."
Perri said he used his overseas banking connections to raise $5 million from private backers in Europe and Saudi Arabia. He farmed out the programming to college students and the technical work to Cronos Engineering Inc., a Boca Raton company that does work for IBM Corp. He expects to begin shipping Action 52 today.
Re: Action 52 Music Driver Code and Format Document
I mean, rather than have every notes be two bytes (<note><length>), I changed it so you specify the note length once, and it applies for all following notes until you specify a new one.tepples wrote:How else is the engine supposed to distinguish quarter notes from eighth notes? Or are you talking about a syntax that doesn't just default to sixteenth notes unless specified otherwise?Drag wrote:(Also, I'm glad I wasn't the only one to force composers to specify the note length for every single note :S (glad I got rid of that in DNSF2))
Re: Action 52 Music Driver Code and Format Document
Which is essentially the same thing as run length encoding the durations, if you think about it. It's just that I don't have several notes of the same duration in a row often enough to justify this; instead, I specify duration with three bits of the note command (and pitch with the other 5). But to each his own, I guess.Drag wrote:I changed it so you specify the note length once, and it applies for all following notes until you specify a new one.