summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/i86/i86mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/i86/i86mem.h')
-rw-r--r--src/emu/cpu/i86/i86mem.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/emu/cpu/i86/i86mem.h b/src/emu/cpu/i86/i86mem.h
new file mode 100644
index 00000000000..1233b4816c9
--- /dev/null
+++ b/src/emu/cpu/i86/i86mem.h
@@ -0,0 +1,14 @@
+typedef struct
+{
+ offs_t fetch_xor;
+
+ UINT8 (*rbyte)(offs_t);
+ UINT16 (*rword)(offs_t);
+ void (*wbyte)(offs_t, UINT8);
+ void (*wword)(offs_t, UINT16);
+
+ UINT8 (*rbyte_port)(offs_t);
+ UINT16 (*rword_port)(offs_t);
+ void (*wbyte_port)(offs_t, UINT8);
+ void (*wword_port)(offs_t, UINT16);
+} memory_interface;