]> Shamusworld >> Repos - legend/blob - src/legend.h
Initial commit for the Legend of A... project!
[legend] / src / legend.h
1 #ifndef __LEGEND_H__
2 #define __LEGEND_H__
3
4 //
5 // Legend of Alden(?) v1.0
6 //
7 // by James Hammons
8 //
9
10 enum Direction { Stopped=0, Left=1, Right=2, Up=4, Down=8 };
11
12 #include <stdint.h>
13
14 // Exported functions
15
16 //void SetPowerState(void);
17
18 // Global variables (exported)
19
20 #if 0
21 extern uint8_t ram[0x10000], rom[0x10000];              // RAM & ROM pointers
22 extern uint8_t ram2[0x10000];                                   // Auxillary RAM
23 extern uint8_t appleType;
24 extern FloppyDrive floppyDrive;
25 extern uint8_t lastKeyPressed;
26 extern bool keyDown;
27 extern bool openAppleDown;
28 extern bool closedAppleDown;
29 extern bool store80Mode;
30 extern bool vbl;
31 extern bool slotCXROM;
32 extern bool slotC3ROM;
33 extern bool ramrd;
34 extern bool ramwrt;
35 extern bool altzp;
36 extern bool ioudis;
37 extern bool dhires;
38 extern uint8_t lcState;
39 #endif
40
41 #endif  // __LEGEND_H__
42