#include "music.h"
const u8 musicch1[]={
0x38,
0x38,
0xc2,0x47,0x40,0x40,0x18,0x38,
0xc2,0x55,0x40,0x40,0x18,0x38,
0xc0,0x50,0x40,0x20,
0xc0,0x5f,0x40,0x20,
0xc2,0x55,0x40,0x40,0x18,0x38,
0xc2,0x5f,0x40,0x40,0x18,0x38,
0xc2,0x71,0x40,0x40,0x18,0x38,
0xc0,0x6b,0x40,0x20,
0xc0,0x7f,0x50,0x20,
0xc0,0x5f,0x50,0x10,
0x18
};
const u8 musicch2[]={
0x30,
0x80,0x1d,0x41,0x0e,
0x22,
0x80,0x1d,0x41,0x0e,
0x22,
0x82,0xd6,0x40,0x18,0x15,0x38,
0x80,0xd6,0x40,0x06,
0x22,
0x80,0xd6,0x40,0x0e,
0x22,
0x80,0xbe,0x40,0x0e,
0x22,
0x80,0xaa,0x40,0x10,
0x80,0xd6,0x40,0x10,
0x80,0xaa,0x40,0x10,
0x80,0xa0,0x40,0x10,
0x82,0x8f,0x40,0x18,0x15,0x38,
0x80,0x8f,0x40,0x06,
0x22,
0x80,0x8f,0x40,0x0e,
0x22,
0x80,0xa0,0x40,0x10,
0x80,0xaa,0x40,0x20,
0x80,0xbe,0x40,0x10,
0x80,0xd6,0x40,0x10,
0x82,0xbe,0x40,0x18,0x15,0x38,
0x80,0xbe,0x40,0x06,
0x22,
0x80,0xbe,0x40,0x0e,
0x22,
0x80,0xd6,0x40,0x10,
0x80,0xbe,0x40,0x10,
0x80,0xaa,0x40,0x10,
0x80,0xbe,0x40,0x10,
0x80,0xd6,0x40,0x10,
0x82,0xbe,0x40,0x18,0x15,0x38,
0x80,0xbe,0x40,0x06,
0x22,
0x80,0xbe,0x40,0x0e,
0x22,
0x80,0xe2,0x50,0x10,
0x80,0x1d,0x51,0x10,
0x18,
};
const u8 musicch3[]={
0x40,0x55,0x30,0x10,
0x40,0x50,0x20,0x10,
0x40,0x40,0x30,0x10,
0x40,0x47,0x20,0x10,
0x40,0x50,0x20,0x08,
0x40,0x55,0x30,0x08,
0x40,0x5f,0x30,0x10,
0x40,0x8f,0x30,0x10,
0x40,0x6b,0x20,0x10,
0x40,0x5f,0x30,0x10,
0x40,0x55,0x20,0x10,
0x40,0x50,0x30,0x08,
0x40,0x55,0x30,0x08,
0x40,0x5f,0x20,0x10,
0x40,0x55,0x30,0x10,
0x40,0x50,0x20,0x10,
0x40,0x47,0x30,0x08,
0x40,0x50,0x30,0x08,
0x40,0x55,0x20,0x10,
0x40,0x47,0x20,0x08,
0x68,
0x40,0x47,0x20,0x08,
0x68,
0x40,0x47,0x20,0x08,
0x68,
0x40,0x47,0x20,0x20,
0x40,0x50,0x20,0x08,
0x40,0x55,0x20,0x08,
0x40,0x5f,0x20,0x08,
0x40,0x6b,0x40,0x08,
0x40,0x71,0x30,0x10,
0x40,0x6b,0x40,0x10,
0x40,0x5f,0x40,0x10,
0x40,0x55,0x40,0x08,
0x40,0x5f,0x40,0x08,
0x40,0x6b,0x30,0x10,
0x40,0x5f,0x40,0x10,
0x40,0x55,0x40,0x10,
0x40,0x50,0x40,0x08,
0x40,0x55,0x40,0x08,
0x40,0x5f,0x30,0x10,
0x40,0x50,0x40,0x08,
0x28,
0x40,0x50,0x40,0x08,
0x28,
0x40,0x50,0x40,0x08,
0x28,
0x42,0x50,0x30,0x20,0x18,0x44,
0x10,
};
{ musicch2, SOUNDAREA2},
{ musicch3, SOUNDAREA3},
};
void nmi (void) {
}
void main (void) {
while(1) {
if (
joypad_1 & PAD_RIGHT) {
vdp_putstring(9,10,
"MUSIC"); snd_startplay(1); snd_startplay(2); snd_startplay(3); }
}
}