comparison io.h @ 1215:cf69a179aeaf

Basic implementation of serial IO registers, but without actual serial IO support. Needed to run a certain software check cartridge that is floating around.
author Michael Pavone <pavone@retrodev.com>
date Wed, 01 Feb 2017 21:19:35 -0800
parents 9d6f155732ed
children c0120977eeea
comparison
equal deleted inserted replaced
1214:afa3d0a227ae 1215:cf69a179aeaf
55 } keyboard; 55 } keyboard;
56 } device; 56 } device;
57 uint8_t output; 57 uint8_t output;
58 uint8_t control; 58 uint8_t control;
59 uint8_t input[3]; 59 uint8_t input[3];
60 uint8_t serial_out;
61 uint8_t serial_in;
62 uint8_t serial_ctrl;
60 uint8_t device_type; 63 uint8_t device_type;
61 } io_port; 64 } io_port;
62 65
63 typedef struct { 66 typedef struct {
64 io_port ports[3]; 67 io_port ports[3];