Prototyped function properly, updated instructions for asm_call().

This commit is contained in:
n-a-c-h
2005-02-23 07:28:43 +00:00
parent 7417c24e23
commit 36ba22bb97
2 changed files with 7 additions and 2 deletions

View File

@@ -30,6 +30,11 @@ Usage:
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
I'd fix that if anyone knows if that parameter defines something I can check

View File

@@ -140,6 +140,8 @@ unsigned char *spc7110romptr;
unsigned char MusicRelVol = 75;
unsigned char MusicVol = 0;
void outofmemory();
void *doMemAlloc(size_t size)
{
void *ptr = NULL;
@@ -207,8 +209,6 @@ unsigned char *ZVERSION = "Pre 1.43";
unsigned char txtfailedalignd[25] = "Data Alignment Failure : ";
unsigned char txtfailedalignc[25] = "Code Alignment Failure : ";
void outofmemory();
void zstart ()
{
unsigned int ptr;