summaryrefslogtreecommitdiffstats
path: root/src/emu/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/mem.h')
-rw-r--r--src/emu/mem.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/emu/mem.h b/src/emu/mem.h
index 34b13fa..985a838 100644
--- a/src/emu/mem.h
+++ b/src/emu/mem.h
@@ -2,7 +2,14 @@
#define _MEM_H
#include <stdint.h>
+#include <sys/types.h>
-extern uint8_t MEM[];
+extern uint8_t *MEM;
+
+void store(size_t addr, uint32_t value);
+uint32_t load(size_t addr);
+
+void push(uint32_t value);
+uint32_t pop(void);
#endif