forked from fox32-arch/fox32rom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fox32rom.def.okm
61 lines (51 loc) · 1.84 KB
/
fox32rom.def.okm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
(* fox32rom routine definitions for Okameron *)
MODULE Fox32ROM;
ASM "fox32rom.def";
ASM "fox32rom_okm.asm";
TYPE ROMFile = RECORD
disk: CHAR;
firstSector: SHORT;
seekOffset: INT;
reserved: CHAR;
END;
EXTERN EVENT_TYPE_MOUSE_CLICK: INT;
EVENT_TYPE_MOUSE_RELEASE: INT;
EVENT_TYPE_KEY_DOWN: INT;
EVENT_TYPE_KEY_UP: INT;
EVENT_TYPE_MENU_BAR_CLICK: INT;
EVENT_TYPE_MENU_UPDATE: INT;
EVENT_TYPE_MENU_CLICK: INT;
EVENT_TYPE_MENU_ACK: INT;
EVENT_TYPE_EMPTY: INT;
EXTERN PROCEDURE Panic: INT;
EXTERN PROCEDURE NewEvent: INT;
EXTERN PROCEDURE GetNextEvent: INT;
EXTERN PROCEDURE ScancodeToAscii: INT;
EXTERN PROCEDURE ShiftPressed: INT;
EXTERN PROCEDURE ShiftReleased: INT;
EXTERN PROCEDURE CapsPressed: INT;
EXTERN PROCEDURE FillBackground: INT;
EXTERN PROCEDURE DrawStrToBackground: INT;
EXTERN PROCEDURE DrawFontTileToBackground: INT;
EXTERN PROCEDURE DrawFormatStrToBackground: INT;
EXTERN PROCEDURE FillOverlay: INT;
EXTERN PROCEDURE DrawStrToOverlay: INT;
EXTERN PROCEDURE DrawFormatStrToOverlay: INT;
EXTERN PROCEDURE DrawFilledRectangleToOverlay: INT;
EXTERN PROCEDURE RYFSOpen: INT;
EXTERN PROCEDURE RYFSSeek: INT;
EXTERN PROCEDURE RYFSTell: INT;
EXTERN PROCEDURE RYFSRead: INT;
EXTERN PROCEDURE RYFSReadWholeFile: INT;
EXTERN PROCEDURE RYFSGetSize: INT;
EXTERN PROCEDURE RYFSGetFileList: INT;
EXTERN PROCEDURE RYFSWrite: INT;
EXTERN PROCEDURE StringToInt: INT;
EXTERN PROCEDURE CopyMemoryChar: INT;
EXTERN PROCEDURE CopyMemoryInt: INT;
EXTERN PROCEDURE CopyString: INT;
EXTERN PROCEDURE CompareMemoryChar: INT;
EXTERN PROCEDURE CompareMemoryInt: INT;
EXTERN PROCEDURE CompareString: INT;
EXTERN PROCEDURE StringLength: INT;
END.