KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Port A Mode

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.
 

Detailed Description

NAOMI port A wiring detection

Enumeration Type Documentation

◆ 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.

Function Documentation

◆ mie_port0_mode()

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.

Returns
Current port A wiring mode.

Referenced by outputs_blink(), and ui_build().