summaryrefslogtreecommitdiff
path: root/io.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-02-01 21:19:35 -0800
committerMichael Pavone <pavone@retrodev.com>2017-02-01 21:19:35 -0800
commit9a092d2574180542ba322480016f3f7a90d7ebdb (patch)
tree1ff64aedc5039ccaf4d9ef96d09d88603fd158c7 /io.h
parentf123340cdc3966812468855160b24e0dfcbe9c0e (diff)
Basic implementation of serial IO registers, but without actual serial IO support. Needed to run a certain software check cartridge that is floating around.
Diffstat (limited to 'io.h')
-rw-r--r--io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/io.h b/io.h
index 8d5b04c..6381794 100644
--- a/io.h
+++ b/io.h
@@ -57,6 +57,9 @@ typedef struct {
uint8_t output;
uint8_t control;
uint8_t input[3];
+ uint8_t serial_out;
+ uint8_t serial_in;
+ uint8_t serial_ctrl;
uint8_t device_type;
} io_port;