2017-03-25 22:38:39 +00:00
|
|
|
#ifndef ASMGLUE_H
|
|
|
|
#define ASMGLUE_H
|
|
|
|
|
|
|
|
#include <types.h>
|
|
|
|
|
|
|
|
extern Word ForceLCBank2(void);
|
2017-03-31 23:04:57 +00:00
|
|
|
extern Word ForceRomIn(void);
|
2017-03-25 22:38:39 +00:00
|
|
|
extern void RestoreStateReg(Word);
|
|
|
|
|
|
|
|
void IncBusyFlag(void) inline(0, 0xE10064);
|
|
|
|
void DecBusyFlag(void) inline(0, 0xE10068);
|
|
|
|
|
2017-04-16 23:25:58 +00:00
|
|
|
#define OS_KIND (*(Byte*)0xE100BC)
|
|
|
|
#define KIND_P8 0x00
|
|
|
|
#define KIND_GSOS 0x01
|
|
|
|
|
2017-03-25 22:38:39 +00:00
|
|
|
#endif
|