|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
NAOMI port A wiring detection More...
Enumerations | |
| enum | mie_port0_mode_t { MIE_PORT0_UNKNOWN = 0 , MIE_PORT0_JVS , MIE_PORT0_MAPLE } |
| NAOMI port A wiring mode. More... | |
Functions | |
| mie_port0_mode_t | mie_port0_mode (void) |
| Query NAOMI port A wiring mode. | |
NAOMI port A wiring detection
| enum mie_port0_mode_t |
NAOMI port A wiring mode.
Port A can be wired to the MIE/JVS bridge or switched to a regular Dreamcast Maple port. On retail Dreamcast, mie_port0_mode() always returns MIE_PORT0_MAPLE.
| Enumerator | |
|---|---|
| MIE_PORT0_UNKNOWN | Probing not finished yet. |
| MIE_PORT0_JVS | Port A is MIE/JVS bridge. |
| MIE_PORT0_MAPLE | Port A is standard Maple autodetect. |
| mie_port0_mode_t mie_port0_mode | ( | void | ) |
Query NAOMI port A wiring mode.
Returns the mode selected after MIE probing during maple_wait_scan(). When MIE_PORT0_MAPLE is active, port A is handled by the standard Maple autodetect path instead of this driver.
Referenced by outputs_blink(), and ui_build().