Jump to content
IGNORED

Music Loop - Mortal Kombat (?)


Recommended Posts

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 by newcoleco
Link to comment
Share on other sites

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 by newcoleco
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...