newcoleco #1 Posted May 19, 2010 (edited) MP3 File : ColecoVision - Mortal Kombat (intro loop).mp3 Again, for those not familiar with this kind of data, it's based on sound format used by the ColecoVision BÌOS sound routines. All you need to do is to add these tables in your project, set them into a sounds table, and trigger them when needed in your code, without forgetting the update sound call in the NMI function. ; ColecoVision - Mortal Kombat Intro (first seconds loop format) by Daniel Bienvenu, May 2010. ch2: .db 0x82,0xfc,0x41,0x06,0x43,0x14 ; A3 .db 0x82,0xc5,0xa1,0x07,0x23,0x15 ; B3 .db 0x82,0xfc,0x41,0x07,0x43,0x15 ; A3 .db 0x82,0xfc,0xa1,0x07,0x23,0x15 ; A3 .db 0x82,0xab,0x41,0x06,0x43,0x14 ; C4 .db 0x82,0xfc,0xa1,0x07,0x23,0x15 ; A3 .db 0x82,0xfc,0x41,0x07,0x43,0x15 ; A3 .db 0x82,0xab,0xa1,0x07,0x23,0x15 ; C4 ; .db 0x82,0x7d,0x41,0x06,0x43,0x14 ; D4 .db 0x82,0xfc,0xa1,0x07,0x23,0x15 ; A3 .db 0x82,0xfc,0x41,0x07,0x43,0x15 ; A3 .db 0x82,0x7d,0xa1,0x07,0x23,0x15 ; D4 .db 0x82,0x53,0x41,0x06,0x43,0x14 ; E4 .db 0x82,0xfc,0xa1,0x07,0x23,0x15 ; A3 .db 0x82,0x7d,0x41,0x07,0x43,0x15 ; D3 .db 0x82,0x53,0xa1,0x07,0x23,0x15 ; E4 ; .db 0x82,0xab,0x41,0x06,0x43,0x14 ; C4 .db 0x82,0x53,0xa1,0x07,0x23,0x15 ; E4 .db 0x82,0xab,0x41,0x07,0x43,0x15 ; C4 .db 0x82,0x7d,0xa1,0x07,0x23,0x15 ; D4 .db 0x82,0x53,0x41,0x06,0x43,0x14 ; E4 .db 0x82,0xab,0xa1,0x07,0x23,0x15 ; C4 .db 0x82,0xab,0x41,0x07,0x43,0x15 ; C4 .db 0x82,0x53,0xa1,0x07,0x23,0x15 ; E4 ; .db 0x82,0x53,0x41,0x06,0x43,0x14 ; E4 .db 0x82,0x1d,0xa1,0x07,0x23,0x15 ; G4 .db 0x82,0x1d,0x41,0x07,0x43,0x15 ; G4 .db 0x82,0x53,0xa1,0x07,0x23,0x15 ; E4 .db 0x82,0x53,0x41,0x06,0x43,0x14 ; E4 .db 0x82,0xab,0xa1,0x07,0x23,0x15 ; C4 .db 0x82,0xab,0x41,0x07,0x43,0x15 ; C4 .db 0x82,0x53,0xa1,0x07,0x23,0x15 ; E4 ; .db 0x82,0x3b,0x42,0x06,0x43,0x14 ; G3 .db 0x82,0x57,0xa3,0x07,0x23,0x15 ; C3 .db 0x82,0x3b,0x42,0x07,0x43,0x15 ; G3 .db 0x82,0x3b,0xa2,0x07,0x23,0x15 ; G3 .db 0x82,0xc5,0x41,0x06,0x43,0x14 ; B3 .db 0x82,0x3b,0xa2,0x07,0x23,0x15 ; G3 .db 0x82,0x3b,0x42,0x07,0x43,0x15 ; G3 .db 0x82,0xc5,0xa1,0x07,0x23,0x15 ; B3 ; .db 0x82,0xab,0x41,0x06,0x43,0x14 ; C4 .db 0x82,0x3b,0xa2,0x07,0x23,0x15 ; G3 .db 0x82,0x3b,0x42,0x07,0x43,0x15 ; G3 .db 0x82,0xab,0xa1,0x07,0x23,0x15 ; C4 .db 0x82,0x7d,0x41,0x06,0x43,0x14 ; D4 .db 0x82,0x3b,0xa2,0x07,0x23,0x15 ; G3 .db 0x82,0xab,0x41,0x07,0x43,0x15 ; C4 .db 0x82,0x7d,0xa1,0x07,0x23,0x15 ; D4 ; .db 0x82,0x81,0x42,0x06,0x43,0x14 ; F3 .db 0x82,0xab,0xa1,0x07,0x23,0x15 ; C4 .db 0x82,0x81,0x42,0x07,0x43,0x15 ; F3 .db 0x82,0x81,0xa2,0x07,0x23,0x15 ; F3 .db 0x82,0xfc,0x41,0x06,0x43,0x14 ; A3 .db 0x82,0x81,0xa2,0x07,0x23,0x15 ; F3 .db 0x82,0x81,0x42,0x07,0x43,0x15 ; F3 .db 0x82,0xfc,0xa1,0x07,0x23,0x15 ; A3 ; .db 0x82,0xab,0x41,0x06,0x43,0x14 ; C4 .db 0x82,0x81,0xa2,0x07,0x23,0x15 ; F3 .db 0x82,0x81,0x42,0x07,0x43,0x15 ; F3 .db 0x82,0xab,0xa1,0x07,0x23,0x15 ; C4 .db 0x82,0xab,0x41,0x06,0x43,0x14 ; C4 .db 0x82,0xab,0xa1,0x07,0x23,0x15 ; C4 .db 0x82,0xc5,0x41,0x07,0x43,0x15 ; B3 .db 0x82,0xab,0xa1,0x07,0x23,0x15 ; C4 .db 0x98 ch0: .db 0x00,0x00,0xf0,0x00 ; Delay = 1B0 ( = 100 + B0) .db 0x00,0x00,0xf0,0xb0 .db 0x02,0x33,0x06,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x06,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x06,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x06,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x06,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x06,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x06,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x06,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x06,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x06,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x06,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x06,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x02,0x33,0x07,0x26,0x12 .db 0x00,0x00,0xf0,0x6c ; Delay = 6C .db 0x18 ch3: .db 0xc0,0x88,0xf0,0x28 ; A1 .db 0xc0,0x98,0xf0,0x0e ; G1 .db 0xd8 Look how small it is! Isn't beautiful? Edited May 19, 2010 by newcoleco Quote Share this post Link to post Share on other sites
newcoleco #2 Posted May 20, 2010 Well, I've fixed a mistake in my data and added a little bit more sounds... well, I can't re-edit my original post, so I'm gonna simply post a MP3 file comparing both original and coleco version of what I've done so far. MP3 File : ColecoVision - Mortal Kombat (compare).mp3 Quote Share this post Link to post Share on other sites
newcoleco #3 Posted May 20, 2010 Last update, I've done a few more notes to this music and decided to keep it the way it is now. You can find the last version on my blog. http://newcoleco.dev-fr.org/p4207/2010-05-20-colecovision-mortal-kombat-music.html Quote Share this post Link to post Share on other sites
newcoleco #4 Posted May 20, 2010 Link to the video : Quote Share this post Link to post Share on other sites
youki #5 Posted May 23, 2010 I can hear digitalised sound in the mp3. Don't say me you did that just with the sound chip??? Quote Share this post Link to post Share on other sites
newcoleco #6 Posted May 23, 2010 (edited) I can hear digitalised sound in the mp3. Don't say me you did that just with the sound chip??? Yes, I'll not tell you because I've no idea what you are talking about. If it's in the MP3 file titled "compare version", it's normal because the left channel is the original music, so yes there is digitalized sound in this MP3. Edited May 23, 2010 by newcoleco Quote Share this post Link to post Share on other sites
youki #7 Posted May 23, 2010 sorry,i didn't notice it was a comparison , i realised that after having watch your video on youtube. The "integration" is so good, i didn't realised that there was 2 soundtrack!!! Quote Share this post Link to post Share on other sites
[email protected] #8 Posted May 29, 2010 Hi Daniel, Loved all your musical efforts. But where are the play_music(), stop_music ,set_sound _tables() etc routines located in lib4K (SDCC)? Compilation errors on the latest sdcc. regards lak Quote Share this post Link to post Share on other sites
newcoleco #9 Posted May 30, 2010 Hi Daniel, Loved all your musical efforts. But where are the play_music(), stop_music ,set_sound _tables() etc routines located in lib4K (SDCC)? Compilation errors on the latest sdcc. regards lak They are part of the new version of my devkit. pixelboy has a version already, but it's not bug fixed yet. I'm going to upload the version I've done so far, so you will be able to use these functions as well. Quote Share this post Link to post Share on other sites