6502/vbcc/targets/ppc-morphos/include/inline/getscreenmode_protos.h
2022-05-12 21:36:39 +09:30

20 lines
436 B
C

#ifndef _VBCCINLINE_GETSCREENMODE_H
#define _VBCCINLINE_GETSCREENMODE_H
#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif
#ifndef EMUL_EMULREGS_H
#include <emul/emulregs.h>
#endif
Class * __GETSCREENMODE_GetClass(void *) =
"\tlwz\t11,100(2)\n"
"\tstw\t3,56(2)\n"
"\tmtctr\t11\n"
"\tli\t3,-30\n"
"\tbctrl";
#define GETSCREENMODE_GetClass() __GETSCREENMODE_GetClass(GetScreenModeBase)
#endif /* _VBCCINLINE_GETSCREENMODE_H */