Added CpuFastSet stub

This commit is contained in:
jeffman 2017-04-11 17:12:20 -04:00
parent 9b7aa3cee7
commit 5b98d5d406
4 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@
void __attribute__((naked)) cpufastset(void *source, void *dest, int mode) {}

View File

@ -1,5 +1,6 @@
typedef unsigned char byte;
#define QUESTION_MARK 0x1F;
#define CPUFASTSET_FILL (0x1000000)
unsigned short *tile_offset = (unsigned short*)0x30051EC;
unsigned short *palette_mask = (unsigned short*)0x3005228;
@ -19,3 +20,5 @@ extern const byte m2_nybbles_to_bits[];
extern const byte *m2_font_table[];
extern const byte m2_font_heights[];
extern unsigned short const *m2_widths_table[];
extern void cpufastset(void *source, void *dest, int mode);

View File

@ -579,6 +579,7 @@ m2_enemy_attributes:
//==============================================================================
.org 0x80FCE6C
.include "syscalls.asm"
.include "m2-vwf.asm"
.include "m2-vwf-entries.asm"
.include "m2-formatting.asm"

3
syscalls.asm Normal file
View File

@ -0,0 +1,3 @@
cpufastset:
swi 0xC
bx lr