bio2: Add BIO2_BI2A_CMD_INIT command

Turns out this is different from the generic CLEAR command used
on other ACIO devices. Has further implications when initializing
BIO2 boards for specific games, e.g. IIDX.
This commit is contained in:
icex2
2020-12-20 15:25:16 +01:00
parent f0bd33bc5a
commit f42c5ace1d
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -6,6 +6,9 @@
#include <stdint.h>
enum bio2_bi2a_cmd {
// Same as AC_IO_CMD_CLEAR but called differently
// with a parameter required to initialize the IO correctly
BIO2_BI2A_CMD_INIT = 0x0100,
BIO2_BI2A_CMD_WATCHDOG = 0x0120,
BIO2_BI2A_CMD_POLL = 0x0152, // For IIDX
};