mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-12-21 21:29:17 +00:00
116 lines
20 KiB
C
116 lines
20 KiB
C
|
|
#include <vcslib.h>
|
|
|
|
#define NSOUNDS 8
|
|
|
|
#pragma code-name (push, "ROM3")
|
|
#pragma rodata-name (push, "ROM3")
|
|
|
|
#define AUDF(x) ((x))
|
|
#define AUDV(x) ((x)*2+0x81) // 0..15
|
|
#define AUDC(x) ((x)*2+0x80) // 0..15
|
|
|
|
// music note envelope
|
|
const byte sound_0[] = {
|
|
AUDV(1), AUDV(2), AUDV(3), AUDV(4), AUDV(6), // decay
|
|
AUDV(8), AUDV(9), AUDV(10), // sustain
|
|
AUDV(12), AUDV(6), AUDV(3), // attack
|
|
};
|
|
|
|
// bass drum
|
|
const byte sound_1[] = {
|
|
AUDV(2),AUDV(4),AUDV(6),0x2,AUDC(2),AUDV(8)
|
|
};
|
|
|
|
// snare
|
|
const byte sound_2[] = {
|
|
AUDV(3),AUDV(4),AUDV(5),AUDV(6),AUDV(7),0x7,AUDC(8),AUDV(8)
|
|
};
|
|
|
|
// tom
|
|
const byte sound_3[] = {
|
|
0x1f,0x1e,0x1d,0x1c,0x1b,AUDC(12),AUDV(8),0x18
|
|
};
|
|
|
|
// crash cymbal
|
|
const byte sound_4[] = {
|
|
AUDV(1),AUDV(2),AUDV(3),AUDV(4),AUDV(5),AUDV(6),AUDV(7),AUDV(8),0x1,AUDC(8),AUDV(9)
|
|
};
|
|
|
|
// high cowbell
|
|
const byte sound_5[] = {
|
|
AUDV(2),AUDV(4),AUDV(6),AUDC(7),AUDV(8),0x2
|
|
};
|
|
|
|
// low cowbell
|
|
const byte sound_6[] = {
|
|
AUDV(2),AUDV(4),AUDV(6),AUDC(7),AUDV(8),0x3
|
|
};
|
|
|
|
// sound effects
|
|
const byte sound_sfx_1[] = {
|
|
0x02,0x03,0x04,0x08,0x10,0x20,0x10,0x20,0x10,AUDC(4),AUDV(8)
|
|
};
|
|
|
|
const byte sound_duration[NSOUNDS] = {
|
|
sizeof(sound_0),
|
|
sizeof(sound_1),
|
|
sizeof(sound_2),
|
|
sizeof(sound_3),
|
|
sizeof(sound_4),
|
|
sizeof(sound_5),
|
|
sizeof(sound_6),
|
|
sizeof(sound_sfx_1),
|
|
};
|
|
|
|
const byte* const sound_data[NSOUNDS] = {
|
|
sound_0,
|
|
sound_1,
|
|
sound_2,
|
|
sound_3,
|
|
sound_4,
|
|
sound_5,
|
|
sound_6,
|
|
sound_sfx_1,
|
|
};
|
|
|
|
const byte music_1[] = {
|
|
// MUSIC DATA - "The Easy Winners" by Scott Joplin
|
|
0x2A, 0x1E, 0x98, 0x33, 0x27, 0xA4, 0x31, 0x25, 0x8C, 0x2F, 0x23,
|
|
0x8C, 0x2E, 0x22, 0x8C, 0x2C, 0x20, 0x8C, 0x2A, 0x1E, 0x98, 0x28, 0x1C, 0x8C, 0x27, 0x1B, 0x98,
|
|
0x25, 0x19, 0x8C, 0x23, 0x17, 0x8C, 0x22, 0x12, 0x8C, 0x23, 0x8C, 0x25, 0x8C, 0x27, 0x8C, 0x28,
|
|
0x1E, 0x8C, 0x2A, 0x1C, 0x8C, 0x2C, 0x1B, 0x8C, 0x2E, 0x19, 0x8C, 0x2F, 0x17, 0x98, 0x1E, 0x98,
|
|
0x12, 0x98, 0x1E, 0x98, 0x2F, 0x17, 0x98, 0x33, 0x27, 0x98, 0x12, 0x98, 0x36, 0x1E, 0x98, 0x38,
|
|
0x17, 0x8C, 0x36, 0x8C, 0x1E, 0x8C, 0x38, 0x8C, 0x33, 0x12, 0x8C, 0x38, 0x8C, 0x36, 0x1E, 0x98,
|
|
0x3D, 0x10, 0x8C, 0x3B, 0x8C, 0x20, 0x8C, 0x37, 0x8C, 0x3B, 0x10, 0x8C, 0x3D, 0x8C, 0x3B, 0x28,
|
|
0x8C, 0x36, 0x8C, 0x17, 0x98, 0x2A, 0x1E, 0x8C, 0x2C, 0x8C, 0x2E, 0x12, 0x8C, 0x2F, 0x8C, 0x31,
|
|
0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0x28, 0x1E, 0x98, 0x2F, 0x1E, 0x98, 0x12, 0x98, 0x17,
|
|
0xff,
|
|
};
|
|
|
|
//const byte music_2[] = {
|
|
// 0x38,0x8c,0x3a,0x88,0x20,0x81,0x23,0x82,0x28,0x81,0x3b,0x32,0x2c,0xa4,0x3a,0x8c,0x38,0x32,0x2c,0x91,0x1f,0x83,0x22,0x83,0x27,0x81,0x37,0x31,0x2e,0xa4,0x35,0x2c,0x8c,0x37,0x31,0x2e,0x90,0x20,0x83,0x23,0x83,0x27,0x82,0x38,0x2f,0x27,0xbf,0x85,0x20,0x81,0x23,0x82,0x27,0x81,0x38,0x2f,0x27,0xb0,0x2c,0x2c,0x20,0x98,0x2f,0x2c,0x27,0x8c,0x1b,0x8c,0x23,0x8c,0x20,0x8c,0x31,0x2e,0x27,0x98,0x33,0x2f,0x27,0x8c,0x1b,0x8c,0x23,0x8c,0x34,0x31,0x20,0x8c,0x33,0x2f,0x27,0x98,0x31,0x2e,0x2a,0x8c,0x1e,0x8c,0x22,0x8c,0x1e,0x8c,0x2e,0x2a,0x25,0x98,0x2a,0x2a,0x2a,0x8c,0x1e,0x8c,0x22,0x8c,0x2c,0x2c,0x29,0x8c,0x2e,0x2e,0x28,0x98,0x2f,0x2c,0x27,0x8c,0x1b,0x8c,0x23,0x8c,0x20,0x8c,0x2c,0x27,0x23,0x98,0x2c,0x26,0x23,0x8c,0x1c,0x8c,0x23,0x8c,0x2b,0x22,0x20,0x8c,0x2c,0x26,0x20,0x98,0x2e,0x27,0x1f,0x8c,0x1b,0x8c,0x1f,0x8c,0x1b,0x8c,0x22,0x8c,0x1f,0x8c,0x27,0x27,0x1f,0x8c,0x22,0x8c,0x2b,0x98,0x2c,0x2c,0x20,0x98,0x2f,0x2c,0x27,0x8c,0x1b,0x8c,0x23,0x8c,0x20,0x8c,0x31,0x2e,0x27,0x98,0x33,0x2f,0x27,0x8c,0x1b,0x8c,0x23,0x8c,0x34,0x31,0x20,0x8c,0x33,0x2f,0x27,0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x33,0x2a,0x8c,0x23,0x8c,0x27,0x8c,0x2a,0x8c,0x23,0x8c,0x27,0x8c,0x36,0x33,0x2a,0x8c,0x23,0x8c,0x27,0x8c,0x35,0x31,0x2a,0x8c,0x33,0x2f,0x2a,0x8c,0x27,0x8c,0x31,0x2e,0x2a,0x8c,0x22,0x8c,0x25,0x8c,0x2a,0x8c,0x2e,0x2a,0x25,0x8c,0x25,0x8c,0x2a,0x2a,0x2a,0x8c,0x22,0x8c,0x25,0x8c,0x2c,0x2c,0x29,0x8c,0x2e,0x2e,0x28,0x8c,0x22,0x8c,0x2f,0x2c,0x27,0x8c,0x23,0x8c,0x27,0x8c,0x2e,0x25,0x20,0x8c,0x2c,0x27,0x23,0x8c,0x23,0x8c,0x2b,0x27,0x22,0x8c,0x22,0x8c,0x27,0x8c,0x29,0x20,0x2b,0x8c,0x2b,0x27,0x22,0x8c,0x22,0x8c,0x2c,0x27,0x23,0x8c,0x23,0x8c,0x28,0x25,0x25,0x8c,0x20,0x8c,0x25,0x22,0x28,0x8c,0x25,0x8c,0x2c,0x27,0x23,0xb0,0x38,0x8c,0x3a,0x88,0x20,0x81,0x23,0x82,0x28,0x81,0x3b,0x32,0x2c,0xa4,0x3a,0x8c,0x38,0x32,0x2c,0x91,0x1f,0x83,0x22,0x83,0x27,0x81,0x37,0x31,0x2e,0xa4,0x35,0x2c,0x8c,0x37,0x31,0x2e,0x90,0x20,0x83,0x23,0x83,0x27,0x82,0x38,0x2f,0x27,0xbf,0x85,0x20,0x81,0x23,0x82,0x27,0x81,0x38,0x2f,0x27,0xb0,0x20,0x98,0x23,0x8c,0x1b,0x8c,0x23,0x8c,0x20,0x8c,0x25,0x27,0x98,0x27,0x8c,0x1b,0x8c,0x23,0x8c,0x28,0x20,0x8c,0x27,0x27,0x98,0x25,0x8c,0x1e,0x8c,0x22,0x8c,0x1e,0x8c,0x22,0x25,0x98,0x1e,0x8c,0x1e,0x8c,0x22,0x8c,0x20,0x1e,0x8c,0x22,0x25,0x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0x1f,0x23,0x8c,0x20,0x20,0x8c,0x23,0x8c,0x22,0x1b,0x8c,0x1f,0x8c,0x22,0x8c,0x27,0x8c,0x1f,0x22,0x8c,0x1f,0x8c,0x1b,0x1f,0x8c,0x22,0x8c,0x27,0x8c,0x2b,0x8c,0x27,0x8c,0x22,0x8c,0x2a,0x27,0x1e,0x8c,0x23,0x8c,0x27,0x8c,0x2a,0x8c,0x23,0x8c,0x27,0x8c,0x27,0x2a,0x1e,0x8c,0x23,0x8c,0x27,0x8c,0x29,0x25,0x2a,0x8c,0x27,0x23,0x23,0x8c,0x27,0x8c,0x25,0x22,0x1e,0x8c,0x22,0x8c,0x25,0x8c,0x2a,0x8c,0x22,0x1e,0x22,0x8c,0x25,0x8c,0x1e,0x1e,0x8c,0x22,0x8c,0x25,0x8c,0x20,0x2a,0x8c,0x22,0x1f,0x8c,0x22,0x8c,0x23,0x20,0x8c,0x23,0x8c,0x27,0x8c,0x22,0x20,0x8c,0x20,0x2c,0x8c,0x23,0x8c,0x1f,0x1b,0x8c,0x22,0x8c,0x27,0x8c,0x1d,0x2b,0x8c,0x1f,0x1f,0x8c,0x22,0x8c,0x20,0x1b,0x8c,0x23,0x8c,0x25,0x8c,0x20,0x8c,0x28,0x8c,0x25,0x8c,0x20,0x27,0xb0,0x38,0x8c,0x3a,0x88,0x20,0x81,0x23,0x82,0x28,0x81,0x3b,0x32,0x2c,0xa4,0x3a,0x8c,0x38,0x32,0x2c,0x91,0x1f,0x83,0x22,0x83,0x27,0x81,0x37,0x31,0x2e,0xa4,0x35,0x2c,0x8c,0x37,0x31,0x2e,0x90,0x20,0x83,0x23,0x83,0x27,0x82,0x38,0x2f,0x27,0xbf,0x85,0x20,0x81,0x23,0x82,0x27,0x81,0x38,0x27,0x2f,0x81,0x2f,0xaf,0x2c,0x82,0x2c,0x96,0x33,0x2c,0x8c,0x1b,0x8c,0x23,0x8c,0x20,0x87,0x2e,0x85,0x27,0x97,0x2f,0x8d,0x1b,0x8c,0x23,0x8a,0x31,0x82,0x20,0x8b,0x2f,0x33,0x81,0x27,0x97,0x2e,0x36,0x8d,0x1e,0x8c,0x22,0x8c,0x1e,0x8a,0x2a,0x81,0x31,0x81,0x25,0x97,0x25,0x83,0x36,0x8a,0x1e,0x8c,0x22,0x8a,0x2c,0x82,0x35,0x1e,0x8c,0x34,0x25,0x81,0x2e,0x97,0x33,0x82,0x2c,0x8a,0x1b,0x8c,0x23,0x8c,0x20,0x88,0x2f,0x27,0x84,0x27,0x95,0x26,0x81,0x2f,0x8e,0x1c,0x8c,0x23,0x89,0x2e,0x83,0x20,0x88,0x26,0x82,0x2c,0x82,0x28,0x97,0x27,0x81,0x2b,0x8c,0x1b,0x8c,0x1f,0x8c,0x1b,0x8c,0x22,0x8c,0x1f,0x8b,0x22,0x81,0x27,0x8c,0x22,0x8c,0x2b,0x97,0x2c,0x2c,0x99,0x2c,0x33,0x20,0x8c,0x1b,0x8c,0x23,0x8c,0x20,0x88,0x2e,0x84,0x27,0x94,0x2f,0x90,0x1b,0x8c,0x23,0x8b,0x31,0x81,0x20,0x8b,0x2f,0x33,0x81,0x27,0x95,0x2e,0x81,0x36,0x8e,0x1e,0x8c,0x22,0x8c,0x1e,0x88,0x31,0x82,0x2a,0x82,0x25,0x97,0x36,0x81,0x2a,0x8c,0x1e,0x8c,0x22,0x8b,0x2c,0x35,0x81,0x1e,0x8c,0x2e,0x25,0x81,0x34,0x97,0x2c,0x81,0x33,0x8b,0x1b,0x8c,0x23,0x8b,0x31,0x81,0x20,0x8a,0x27,0x82,0x2f,0x27,0x97,0x2e,0x81,0x27,0x8c,0x1b,0x8c,0x22,0x8b,0x2c,0x81,0x1f,0x8a,0x27,0x82,0x2e,0x27,0x97,0x27,0x82,0x2f,0x8b,0x1b,0x8c,0x20,0x8c,0x1b,0x8c,0x27,0x8c,0x23,0x8b,0x2f,0x81,0x20,0x81,0x27,0x8b,0x1b,0x8c,0x20,0x8c,0x22,0x8c,0x23,0x8c,0x27,0x8c,0x20,0x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x2c,0x1b,0x8c,0x23,0x8c,0x25,0x8c,0x20,0x8c,0x28,0x8c,0x25,0x8c,0x2c,0x27,0xb0,0x38,0x2c,0x8c,0x3a,0x2e,0x88,0x20,0x81,0x23,0x82,0x28,0x81,0x3b,0x2f,0x2c,0xa4,0x3a,0x2e,0x8c,0x38,0x2c,0x91,0x1f,0x83,0x22,0x83,0x27,0x81,0x37,0x2b,0x2b,0xa4,0x35,0x29,0x8c,0x37,0x2b,0x90,0x20,0x83,0x23,0x83,0x27,0x82,0x38,0x2c,0x2c,0xbf,0x85,0x20,0x81,0x23,0x82,0x27,0x81,0x38,0x2c,0x2f,0xff
|
|
// 0x27,0x90,0x2c,0x8f,0x2f,0x8f,0x33,0x8f,0x38,0x8f,0x3b,0x8f,0x20,0x23,0x88,0x3a,0x83,0x38,0x82,0x37,0x83,0x38,0x20,0x8f,0x20,0x23,0x8f,0x2e,0x27,0x8f,0x33,0x8f,0x37,0x8f,0x3a,0x90,0x3d,0x8f,0x1f,0x22,0x87,0x3b,0x83,0x3a,0x82,0x38,0x83,0x3a,0x1f,0x8f,0x1f,0x22,0x8e,0x33,0x81,0x3b,0x8f,0x27,0x23,0x88,0x3a,0x82,0x38,0x83,0x37,0x82,0x38,0x20,0x90,0x20,0x23,0x8e,0x33,0x81,0x3d,0x8f,0x22,0x25,0x88,0x3b,0x82,0x3a,0x83,0x38,0x82,0x3a,0x22,0x8f,0x2b,0x25,0x8f,0x33,0x38,0x90,0x23,0x27,0x8f,0x3d,0x87,0x3b,0x88,0x3a,0x25,0x87,0x38,0x86,0x37,0x38,0x81,0x3a,0x81,0x38,0x8f,0x37,0x27,0x9f,0x16,0x8f,0x1b,0x8f,0x1e,0x8f,0x22,0x8f,0x27,0x8f,0x2a,0x97,0x29,0x83,0x27,0x82,0x26,0x83,0x27,0x8f,0x27,0x8f,0x2f,0x27,0x97,0x36,0x82,0x34,0x83,0x33,0x82,0x34,0x8f,0x34,0x90,0x34,0x25,0x96,0x31,0x83,0x2f,0x82,0x2e,0x83,0x2f,0x8f,0x2f,0x8f,0x2e,0x25,0x97,0x36,0x82,0x34,0x83,0x33,0x83,0x34,0x8f,0x34,0x8f,0x2f,0x2a,0x97,0x34,0x82,0x33,0x83,0x32,0x82,0x33,0x8f,0x33,0x8f,0x33,0x2c,0x90,0x31,0x8f,0x29,0x8f,0x2f,0x8f,0x2e,0x2a,0x8f,0x36,0x8f,0x34,0x90,0x33,0x2a,0x8f,0x2c,0x28,0x8f,0x31,0x8f,0x2c,0x29,0x8f,0x2f,0x8f,0x2e,0x2a,0x90,0x2a,0x36,0x8f,0x34,0x28,0x8f,0x27,0x33,0x8f,0x1c,0x20,0x8f,0x25,0x31,0x8f,0x20,0x1d,0x8f,0x23,0x2f,0x90,0x22,0x2e,0x87,0x2a,0x88,0x1e,0x87,0x2a,0x88,0x1e,0x88,0x2a,0x87,0x37,0x1e,0x88,0x2a,0x87,0x36,0x1e,0x88,0x2a,0x87,0x34,0x1e,0x88,0x2a,0x88,0x31,0x1e,0x87,0x2a,0x88,0x2e,0x1e,0x87,0x2a,0x88,0x2b,0x28,0x8f,0x1e,0x88,0x2a,0x87,0x2f,0x27,0x88,0x2a,0x87,0x37,0x1e,0x88,0x2a,0x88,0x36,0x1e,0x87,0x2a,0x88,0x34,0x1e,0x87,0x2a,0x88,0x31,0x1e,0x87,0x2a,0x88,0x2e,0x1e,0x88,0x2a,0x87,0x2b,0x28,0x8f,0x1e,0x88,0x2a,0x87,0x2f,0x27,0x88,0x2a,0x88,0x37,0x1e,0x87,0x2a,0x88,0x36,0x1e,0x87,0x2a,0x88,0x34,0x1e,0x88,0x2a,0x87,0x31,0x28,0x88,0x2a,0x87,0x2e,0x28,0x88,0x2a,0x87,0x27,0x88,0x2e,0x2a,0x88,0x31,0x27,0x87,0x2f,0x2a,0x88,0x22,0x87,0x30,0x2a,0x88,0x33,0x22,0x87,0x31,0x2a,0x88,0x23,0x88,0x32,0x2a,0x87,0x34,0x23,0x88,0x33,0x2a,0x87,0x20,0x88,0x35,0x29,0x88,0x3b,0x23,0x87,0x35,0x29,0x88,0x36,0x1e,0x87,0x2a,0x88,0x22,0x87,0x2a,0x88,0x20,0x88,0x35,0x29,0x87,0x3b,0x23,0x88,0x35,0x29,0x87,0x36,0x1e,0x88,0x2a,0x87,0x22,0x88,0x2a,0x88,0x1c,0x87,0x3a,0x25,0x88,0x43,0x1f,0x87,0x3a,0x25,0x88,0x3b,0x1b,0x88,0x23,0x87,0x1e,0x88,0x23,0x87,0x1c,0x88,0x3a,0x25,0x87,0x43,0x1f,0x88,0x3a,0x25,0x88,0x1b,0x87,0x3a,0x23,0x88,0x3d,0x1e,0x87,0x3b,0x23,0x88,0x16,0x87,0x3c,0x22,0x88,0x3f,0x1e,0x88,0x3d,0x22,0x87,0x17,0x88,0x3e,0x23,0x87,0x40,0x1e,0x88,0x3f,0x23,0x88,0x19,0x87,0x3f,0x25,0x88,0x42,0x1e,0x87,0x40,0x25,0x88,0x1b,0x87,0x41,0x88,0x44,0x1e,0x88,0x42,0x87,0x40,0x88,0x3f,0x87,0x3d,0x23,0x88,0x3b,0x87,0x3a,0x1c,0x88,0x38,0x88,0x36,0x20,0x87,0x34,0x88,0x33,0x87,0x31,0x88,0x2f,0x25,0x88,0x2e,0x87,0x2c,0x1e,0x88,0x2a,0x87,0x29,0x23,0x88,0x2a,0x87,0x29,0x88,0x2a,0x88,0x29,0x27,0x87,0x2a,0x88,0x29,0x28,0x87,0x2a,0x88,0x2c,0x25,0x87,0x2a,0x88,0x29,0x22,0x88,0x2a,0x87,0x2c,0x1c,0x88,0x2a,0x87,0x0f,0x88,0x3b,0x88,0x44,0x12,0x87,0x42,0x88,0x40,0x87,0x3f,0x88,0x3d,0x17,0x87,0x3b,0x88,0x3a,0x10,0x88,0x38,0x87,0x36,0x14,0x88,0x34,0x87,0x33,0x88,0x31,0x87,0x2f,0x19,0x88,0x2e,0x88,0x2c,0x12,0x87,0x2a,0x88,0x28,0x17,0x87,0x27,0x88,0x25,0x88,0x23,0x87,0x22,0x1b,0x88,0x20,0x87,0x1e,0x1c,0x88,0x20,0x87,0x22,0x19,0x88,0x23,0x88,0x25,0x16,0x87,0x27,0x88,0x28,0x12,0x87,0x25,0x88,0x23,0x17,0x8f,0x23,0x8e,0x29,0x81,0x32,0x8f,0x26,0x23,0x88,0x31,0x88,0x2f,0x8f,0x1e,0x23,0x8f,0x2e,0x8f,0x1e,0x25,0x88,0x36,0x87,0x36,0x8f,0x2f,0x23,0x8f,0x29,0x32,0x90,0x1d,0x20,0x87,0x31,0x88,0x2f,0x8f,0x27,0x23,0x8f,0x2e,0x8f,0x1e,0x25,0x88,0x36,0x87,0x36,0x90,0x2f,0x23,0x8e,0x35,0x81,0x3e,0x8f,0x29,0x2c,0x87,0x3d,0x88,0x3b,0x8f,0x2a,0x2f,0x8f,0x3a,0x90,0x34,0x31,0x87,0x42,0x88,0x34,0x3a,0xbc,0x33,0x36,0xae,0x2a,0x8f,0x2f,0x8f,0x33,0x8f,0x36,0x8f,0x3b,0x90,0x3f,0x8f,0x2a,0x27,0x87,0x3d,0x83,0x3b,0x82,0x3a,0x83,0x3b,0x23,0x8f,0x23,0x27,0x8e,0x34,0x81,0x40,0x8f,0x22,0x25,0x88,0x3f,0x82,0x3d,0x83,0x3c,0x83,0x3d,0x2a,0x8f,0x22,0x25,0x8f,0x31,0x8f,0x34,0x8f,0x3a,0x8f,0x3d,0x8f,0x34,0x40,0x90,0x22,0x25,0x87,0x3f,0x83,0x3d,0x82,0x3c,0x83,0x3d,0x22,0x8f,0x2b,0x28,0x8e,0x34,0x81,0x40,0x8f,0x21,0x25,0x88,0x3f,0x82,0x3d,0x83,0x3c,0x82,0x3d,0x21,0x90,0x2b,0x28,0x8f,0x3c,0x20,0x87,0x2c,0x88,0x20,0x87,0x2c,0x88,0x20,0x88,0x2c,0x87,0x39,0x20,0x88,0x2c,0x87,0x38,0x20,0x88,0x2c,0x88,0x36,0x20,0x87,0x2c,0x88,0x33,0x20,0x87,0x2c,0x88,0x30,0x20,0x87,0x2c,0x88,0x2d,0x2a,0x8f,0x20,0x88,0x2c,0x87,0x31,0x28,0x88,0x2c,0x87,0x39,0x20,0x88,0x2c,0x88,0x38,0x20,0x87,0x2c,0x88,0x36,0x20,0x87,0x2c,0x88,0x33,0x20,0x88,0x2c,0x87,0x30,0x20,0x88,0x2c,0x87,0x2d,0x2a,0x8f,0x20,0x88,0x2c,0x88,0x31,0x28,0x87,0x2c,0x88,0x39,0x20,0x87,0x2c,0x88,0x38,0x20,0x87,0x2c,0x88,0x36,0x20,0x88,0x2c,0x87,0x33,0x2a,0x88,0x2c,0x87,0x30,0x2a,0x88,0x2c,0x88,0x28,0x87,0x30,0x2c,0x88,0x33,0x28,0x87,0x31,0x2c,0x88,0x27,0x87,0x31,0x2c,0x88,0x34,0x27,0x88,0x33,0x2c,0x87,0x25,0x88,0x33,0x2c,0x87,0x36,0x25,0x88,0x34,0x2c,0x87,0x23,0x88,0x32,0x2d,0x88,0x35,0x23,0x87,0x33,0x2d,0x88,0x32,0x22,0x87,0x2e,0x88,0x22,0x88,0x2e,0x87,0x22,0x88,0x2e,0x87,0x3b,0x22,0x88,0x2e,0x87,0x3a,0x22,0x88,0x2e,0x88,0x38,0x22,0x87,0x2e,0x88,0x35,0x22,0x87,0x2e,0x88,0x32,0x22,0x87,0x2e,0x88,0x2f,0x2c,0x8f,0x22,0x88,0x2e,0x87,0x33,0x2a,0x88,0x2e,0x88,0x3b,0x22,0x87,0x2e,0x88,0x3a,0x22,0x87,0x2e,0x88,0x38,0x22,0x87,0x2e,0x88,0x35,0x22,0x88,0x2e,0x87,0x32,0x22,0x88,0x2e,0x87,0x2f,0x2c,0x8f,0x22,0x88,0x2e,0x88,0x33,0x2a,0x8f,0x2c,0x23,0x87,0x29,0x88,0x2c,0x22,0x88,0x29,0x87,0x2c,0x20,0x88,0x29,0x87,0x2c,0x1d,0x88,0x29,0x87,0x2c,0x1a,0x88,0x29,0x88,0x2c,0x17,0x87,0x29,0x88,0x32,0x2c,0x87,0x29,0x16,0x88,0x33,0x2a,0x87,0x27,0x88,0x2a,0x21,0x88,0x27,0x87,0x2a,0x20,0x88,0x27,0x87,0x2a,0x1e,0x88,0x27,0x88,0x2a,0x1b,0x87,0x27,0x88,0x2a,0x18,0x87,0x27,0x88,0x2a,0x15,0x87,0x27,0x88,0x30,0x2a,0x88,0x27,0x14,0x87,0x31,0x28,0x88,0x25,0x87,0x28,0x1f,0x88,0x25,0x87,0x28,0x1e,0x88,0x25,0x88,0x28,0x1c,0x87,0x25,0x88,0x28,0x19,0x87,0x25,0x88,0x28,0x16,0x88,0x25,0x87,0x28,0x13,0x88,0x25,0x87,0x28,0x12,0x88,0x25,0x87,0x2e,0x28,0x88,0x25,0x88,0x28,0x1e,0x87,0x25,0x88,0x27,0x87,0x23,0x88,0x2a,0x1b,0x87,0x23,0x88,0x2f,0x2a,0x88,0x23,0x87,0x2a,0x0f,0x88,0x23,0x87,0x28,0x88,0x23,0x88,0x28,0x10,0x87,0x23,0x88,0x2c,0x28,0x87,0x23,0x88,0x28,0x1c,0x87,0x23,0x88,0x28,0x88,0x22,0x87,0x28,0x19,0x88,0x22,0x87,0x28,0x2e,0x88,0x22,0x87,0x28,0x0d,0x88,0x22,0x88,0x27,0x87,0x22,0x88,0x27,0x0f,0x87,0x22,0x88,0x2b,0x27,0x88,0x22,0x87,0x27,0x1b,0x88,0x22,0x87,0x23,0x88,0x20,0x87,0x27,0x17,0x88,0x20,0x88,0x2c,0x27,0x87,0x20,0x88,0x27,0x0b,0x87,0x20,0x88,0x28,0x87,0x20,0x88,0x28,0x0d,0x88,0x20,0x87,0x28,0x2c,0x88,0x20,0x87,0x28,0x19,0x88,0x20,0x88,0x29,0x87,0x20,0x88,0x23,0x29,0x87,0x20,0x88,0x23,0x29,0x87,0x20,0x88,0x2c,0x29,0x88,0x20,0x87,0x22,0x27,0x88,0x1b,0x87,0x1f,0x88,0x1b,0x87,0x1f,0x88,0x1b,0x88,0x33,0x1f,0x87,0x1b,0x88,0x2f,0x20,0x87,0x1b,0x88,0x20,0x88,0x1b,0x87,0x20,0x88,0x1b,0x87,0x38,0x23,0x88,0x1b,0x87,0x37,0x22,0x88,0x1b,0x88,0x22,0x87,0x1b,0x88,0x22,0x87,0x1b,0x88,0x3f,0x25,0x87,0x1b,0x88,0x38,0x23,0x88,0x1b,0x87,0x27,0x88,0x1b,0x87,0x38,0x44,0x88,0x1b,0x88,0x29,0x87,0x1b,0x88,0x43,0x37,0x87,0x1b,0x88,0x1f,0x87,0x1b,0x88,0x1f,0x88,0x1b,0x87,0x33,0x22,0x88,0x1b,0x82,0x32,0x85,0x2f,0x20,0x88,0x1b,0x87,0x2f,0x20,0x88,0x1b,0x88,0x20,0x87,0x1b,0x88,0x38,0x23,0x87,0x1b,0x82,0x37,0x86,0x37,0x22,0x88,0x1b,0x87,0x37,0x22,0x88,0x1b,0x87,0x22,0x88,0x1b,0x87,0x3f,0x25,0x88,0x1b,0x82,0x3e,0x86,0x38,0x23,0x87,0x1b,0x88,0x38,0x27,0x87,0x1b,0x88,0x26,0x87,0x1b,0x88,0x38,0x44,0x88,0x1b,0x87,0x37,0x43,0x88,0x1b,0x87,0x37,0x43,0x88,0x1b,0x88,0x25,0x87,0x1b,0x88,0x34,0x40,0x87,0x1b,0x88,0x33,0x3f,0x87,0x1b,0x88,0x33,0x3f,0x88,0x1b,0x87,0x26,0x88,0x1b,0x87,0x38,0x44,0x88,0x1b,0x87,0x43,0x37,0x88,0x1b,0x88,0x37,0x43,0x87,0x1b,0x88,0x25,0x87,0x1b,0x88,0x34,0x40,0x88,0x1b,0x87,0x33,0x3f,0x88,0x1b,0x87,0x33,0x3f,0x88,0x1b,0x87,0x26,0x88,0x1b,0x88,0x38,0x44,0x87,0x1b,0x88,0x37,0x43,0x8f,0x27,0x8f,0x27,0x8f,0x27,0x8f,0x27,0x90,0x27,0x8f,0x27,0x8f,0x27,0x8f,0x27,0x28,0x8f,0x27,0x28,0x88,0x2f,0x82,0x2d,0x83,0x2c,0x82,0x2d,0x28,0x8f,0xff
|
|
// 0x35,0x41,0x8a,0x37,0x43,0x8a,0x33,0x3f,0x8a,0x30,0x3c,0x94,0x3e,0x32,0x8a,0x3a,0x2e,0x94,0x35,0x29,0x8a,0x37,0x2b,0x8a,0x33,0x27,0x8a,0x30,0x24,0x94,0x32,0x26,0x8a,0x2e,0x22,0x94,0x29,0x1d,0x8a,0x2b,0x1f,0x8a,0x27,0x1b,0x8a,0x24,0x18,0x94,0x1a,0x26,0x8a,0x18,0x24,0x8a,0x17,0x23,0x8a,0x16,0x22,0xa8,0x3a,0x35,0xff
|
|
//};
|
|
|
|
const byte music_2[] = {
|
|
0x41,0x8b,0x8d,0x1d,0x42,0x8a,0x8d,0x11,0x41,0x8b,0x11,0x41,0x8b,0x1b,0x42,0x8b,0x1d,0x8c,0x11,0x41,0x8b,0x8c,0x1d,0x42,0x8b,0x8d,0x11,0x41,0x8b,0x11,0x41,0x8b,0x1b,0x42,0x8b,0x1d,0x8c,0x0f,0x41,0x8a,0x8d,0x1d,0x42,0x8b,0x8d,0x0f,0x41,0x8b,0x0f,0x41,0x8b,0x1b,0x42,0x8b,0x1d,0x8b,0x0f,0x41,0x8b,0x8d,0x1d,0x42,0x8b,0x8d,0x0f,0x41,0x8b,0x0f,0x41,0x8b,0x1b,0x42,0x8a,0x1d,0x8c,0x11,0x41,0x8b,0x8d,0x1d,0x42,0x8b,0x8d,0x11,0x41,0x8b,0x11,0x41,0x8a,0x1b,0x42,0x8b,0x1d,0x8c,0x11,0x41,0x8b,0x8d,0x1d,0x42,0x8b,0x8d,0x11,0x41,0x8a,0x11,0x41,0x8b,0x1b,0x42,0x8b,0x1d,0x8c,0x0f,0x41,0x8b,0x8d,0x1d,0x42,0x8b,0x8c,0x0f,0x41,0x8b,0x0f,0x41,0x8b,0x1b,0x42,0x8b,0x1d,0x8c,0x0f,0x41,0x8b,0x8d,0x1d,0x42,0x8a,0x8d,0x0f,0x41,0x8b,0x0f,0x41,0x8b,0x1b,0x42,0x8b,0x1d,0x8c,0x11,0x41,0x8b,0x8c,0x1d,
|
|
0xff
|
|
};
|
|
|
|
#pragma code-name (pop)
|
|
#pragma rodata-name (pop)
|
|
|