summaryrefslogtreecommitdiff
path: root/src/vcpu.h
diff options
context:
space:
mode:
authorLoic Guegan <loic.guegan@mailbox.org>2023-12-25 15:03:22 +0100
committerLoic Guegan <loic.guegan@mailbox.org>2023-12-25 15:03:22 +0100
commitc6ddcbe2bd529f2310e312559556aedbf896ec33 (patch)
treecdf7a0d75817feb4739fb093cc767a6024606904 /src/vcpu.h
parent5a6aecc0f564b17ed48f2754c2e6bf60334e9370 (diff)
Minor changes
Diffstat (limited to 'src/vcpu.h')
-rw-r--r--src/vcpu.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/vcpu.h b/src/vcpu.h
index dbcba0a..fccd397 100644
--- a/src/vcpu.h
+++ b/src/vcpu.h
@@ -25,10 +25,10 @@ typedef struct VCPU_State {
// Intruction (opcode + decoded fields)
unsigned short opcode;
- char X;
- char Y;
- char N;
- char NN;
+ unsigned char X;
+ unsigned char Y;
+ unsigned char N;
+ unsigned char NN;
unsigned short NNN;
} VCPU_State;
@@ -36,4 +36,5 @@ void VCPUInit();
void VCPUFetch();
void VCPUDecode();
void VCPUExecute();
+void VCPUDoubleDabble(unsigned char x, unsigned char *u, unsigned char *t, unsigned char *h);
void VCPUDump();