diff options
author | Michael Pavone <pavone@retrodev.com> | 2021-02-15 11:24:06 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2021-02-15 11:24:06 -0800 |
commit | dcb57030108d8ed37fe5e28b06a830f7f4a20ccf (patch) | |
tree | 9bdcb0c26ec963433b7f78c2ebb9b266a8692885 /io.h | |
parent | 59887b4ad62925212ff7fda6c8f6aa9feaf93bf9 (diff) |
Implement Heartbeat Personal Trainer peripheral and add ROM DB entry for Outback Joey
Diffstat (limited to 'io.h')
-rw-r--r-- | io.h | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -25,7 +25,8 @@ enum { IO_EA_MULTI_B, IO_SEGA_PARALLEL, IO_GENERIC, - IO_GENERIC_SERIAL + IO_GENERIC_SERIAL, + IO_HEARTBEAT_TRAINER }; typedef struct { @@ -58,6 +59,23 @@ typedef struct { uint8_t mode; uint8_t cmd; } keyboard; + struct { + uint8_t *nv_memory; + uint8_t *cur_buffer; + uint64_t rtc_base_timestamp; + uint8_t rtc_base[5]; + uint8_t bpm; + uint8_t cadence; + uint8_t buttons; + uint8_t nv_page_size; + uint8_t nv_pages; + uint8_t param; + uint8_t state; + uint8_t status; + uint8_t device_num; + uint8_t cmd; + uint8_t remaining_bytes; + } heartbeat_trainer; } device; uint8_t output; uint8_t control; |