]> Shamusworld >> Repos - apple2/blobdiff - src/apple2.h
Added floppy #2 saving, statistics to makefile.
[apple2] / src / apple2.h
old mode 100755 (executable)
new mode 100644 (file)
index 48d39ff..98b31e1
@@ -1,12 +1,29 @@
-//\r
-// Apple 2 SDL Portable Apple Emulator\r
-//\r
-\r
-#include "types.h"\r
-\r
-enum { APPLE_TYPE_II, APPLE_TYPE_IIE, APPLE_TYPE_IIC };\r
-\r
-// Global variables (exported)\r
-\r
-extern uint8 ram[0x10000], rom[0x10000];               // RAM & ROM pointers\r
-extern uint8 appleType;\r
+//
+// Apple 2 SDL Portable Apple Emulator
+//
+
+#include <stdint.h>
+#include "floppy.h"
+
+enum { APPLE_TYPE_II, APPLE_TYPE_IIE, APPLE_TYPE_IIC };
+
+// Global variables (exported)
+
+extern uint8_t ram[0x10000], rom[0x10000];             // RAM & ROM pointers
+extern uint8_t ram2[0x10000];                                  // Auxillary RAM
+//extern uint8_t diskRom[0x100];                                       // Floppy disk ROM
+extern uint8_t appleType;
+extern FloppyDrive floppyDrive;
+extern uint8_t lastKeyPressed;
+extern bool keyDown;
+extern bool openAppleDown;
+extern bool closedAppleDown;
+extern bool store80Mode;
+extern bool vbl;
+extern bool slotCXROM;
+extern bool slotC3ROM;
+extern bool ramrd;
+extern bool ramwrt;
+extern bool altzp;
+extern bool ioudis;
+extern bool dhires;