mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
Make the voice data unsigned
git-svn-id: svn://svn.cc65.org/cc65/trunk@1158 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
2db310df1b
commit
049bcda2f6
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
static int Voice1 [] = {
|
static unsigned Voice1 [] = {
|
||||||
0x5708,0x8004,0x5204,0x5708,0x8004,0x5204,0x5704,0x5204,0x5704,0x5B04,
|
0x5708,0x8004,0x5204,0x5708,0x8004,0x5204,0x5704,0x5204,0x5704,0x5B04,
|
||||||
0x6208,0x8008,0x6008,0x8004,0x5904,0x6008,0x8004,0x5904,0x6004,0x5904,
|
0x6208,0x8008,0x6008,0x8004,0x5904,0x6008,0x8004,0x5904,0x6004,0x5904,
|
||||||
0x5604,0x5904,0x5208,0x8008,0x5704,0x8004,0x570C,0x5B01,0x5B01,0x5B01,
|
0x5604,0x5904,0x5208,0x8008,0x5704,0x8004,0x570C,0x5B01,0x5B01,0x5B01,
|
||||||
@ -395,7 +395,7 @@ static int Voice1 [] = {
|
|||||||
0x0000
|
0x0000
|
||||||
};
|
};
|
||||||
|
|
||||||
static int Voice2 [] = {
|
static unsigned Voice2 [] = {
|
||||||
0x4708,0x8004,0x4204,0x4708,0x8004,0x4204,0x4704,0x4204,0x4704,0x4B04,
|
0x4708,0x8004,0x4204,0x4708,0x8004,0x4204,0x4704,0x4204,0x4704,0x4B04,
|
||||||
0x5208,0x8008,0x5008,0x8004,0x4904,0x5008,0x8004,0x4904,0x5004,0x4904,
|
0x5208,0x8008,0x5008,0x8004,0x4904,0x5008,0x8004,0x4904,0x5004,0x4904,
|
||||||
0x4604,0x4904,0x4208,0x8008,0x4704,0x4704,0x4704,0x4704,0x4704,0x4704,
|
0x4604,0x4904,0x4208,0x8008,0x4704,0x4704,0x4704,0x4704,0x4704,0x4704,
|
||||||
@ -615,7 +615,7 @@ static int Voice2 [] = {
|
|||||||
0x0000
|
0x0000
|
||||||
};
|
};
|
||||||
|
|
||||||
static int Voice3 [] = {
|
static unsigned Voice3 [] = {
|
||||||
0x3708,0x8004,0x3204,0x3708,0x8004,0x3204,0x3704,0x3204,0x3704,0x3B04,
|
0x3708,0x8004,0x3204,0x3708,0x8004,0x3204,0x3704,0x3204,0x3704,0x3B04,
|
||||||
0x3208,0x8008,0x4008,0x8004,0x3904,0x4008,0x8004,0x3904,0x4004,0x3904,
|
0x3208,0x8008,0x4008,0x8004,0x3904,0x4008,0x8004,0x3904,0x4004,0x3904,
|
||||||
0x3604,0x4904,0x4208,0x8008,0x3704,0x3704,0x3704,0x3704,0x3704,0x3704,
|
0x3604,0x4904,0x4208,0x8008,0x3704,0x3704,0x3704,0x3704,0x3704,0x3704,
|
||||||
@ -897,7 +897,7 @@ typedef struct {
|
|||||||
unsigned char Trigger; /* Trigger value */
|
unsigned char Trigger; /* Trigger value */
|
||||||
unsigned char Ticks; /* Ticks for this tone */
|
unsigned char Ticks; /* Ticks for this tone */
|
||||||
unsigned Freq; /* Actual frequency value */
|
unsigned Freq; /* Actual frequency value */
|
||||||
int* Data; /* Pointer to data */
|
unsigned* Data; /* Pointer to data */
|
||||||
struct __sid_voice* Voice; /* Pointer to sid registers */
|
struct __sid_voice* Voice; /* Pointer to sid registers */
|
||||||
} VoiceCtrl;
|
} VoiceCtrl;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user