summaryrefslogtreecommitdiff
path: root/src/vcpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcpu.h')
-rw-r--r--src/vcpu.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/vcpu.h b/src/vcpu.h
new file mode 100644
index 0000000..7eed76f
--- /dev/null
+++ b/src/vcpu.h
@@ -0,0 +1,15 @@
+#pragma once
+
+typedef struct VCPU_State {
+ short opcode;
+ char X;
+ char Y;
+ char N;
+ char NN;
+ short NNN;
+} VCPU_State;
+
+void VCPUInit();
+void VCPUFetch();
+void VCPUDecode();
+void VCPUExecute();