Prototyped function properly, updated instructions for asm_call().
This commit is contained in:
@@ -30,6 +30,11 @@ Usage:
|
|||||||
|
|
||||||
That's all there is to it!!!
|
That's all there is to it!!!
|
||||||
|
|
||||||
|
|
||||||
|
Note: Make sure this is used on a line by itself if the file will ever be
|
||||||
|
compiled with MSVC, since it's preproccessor won't parse the inline
|
||||||
|
assembly correctly if other stuff are on the line
|
||||||
|
|
||||||
Note: This will not work with GCC when using the parameter -MASM=intel
|
Note: This will not work with GCC when using the parameter -MASM=intel
|
||||||
I'd fix that if anyone knows if that parameter defines something I can check
|
I'd fix that if anyone knows if that parameter defines something I can check
|
||||||
|
|
||||||
|
|||||||
@@ -140,6 +140,8 @@ unsigned char *spc7110romptr;
|
|||||||
unsigned char MusicRelVol = 75;
|
unsigned char MusicRelVol = 75;
|
||||||
unsigned char MusicVol = 0;
|
unsigned char MusicVol = 0;
|
||||||
|
|
||||||
|
void outofmemory();
|
||||||
|
|
||||||
void *doMemAlloc(size_t size)
|
void *doMemAlloc(size_t size)
|
||||||
{
|
{
|
||||||
void *ptr = NULL;
|
void *ptr = NULL;
|
||||||
@@ -207,8 +209,6 @@ unsigned char *ZVERSION = "Pre 1.43";
|
|||||||
unsigned char txtfailedalignd[25] = "Data Alignment Failure : ";
|
unsigned char txtfailedalignd[25] = "Data Alignment Failure : ";
|
||||||
unsigned char txtfailedalignc[25] = "Code Alignment Failure : ";
|
unsigned char txtfailedalignc[25] = "Code Alignment Failure : ";
|
||||||
|
|
||||||
void outofmemory();
|
|
||||||
|
|
||||||
void zstart ()
|
void zstart ()
|
||||||
{
|
{
|
||||||
unsigned int ptr;
|
unsigned int ptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user