Trinity

From C256 Foenix Wiki
Revision as of 16:05, 3 February 2021 by PJW (talk | contribs) (Created page with "{| class="wikitable" |- !Address !Register Name !Additional Info |- | $AF:E800 || JOYSTICK0 || Joystick 0 -- J7, next to the SD card |- | $AF:E801 || JOYSTICK1 || Joystick 1 -...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Address Register Name Additional Info
$AF:E800 JOYSTICK0 Joystick 0 -- J7, next to the SD card
$AF:E801 JOYSTICK1 Joystick 1 -- J8
$AF:E802 JOYSTICK2 Joystick 2 -- J9
$AF:E803 JOYSTICK3 Joystick 3 -- J10, next to the buzzer
$AF:E804 JOYSTICK_MODE
Bit Mask Bit Name Additional Info
$01 NES_SNES_EN0 Enable the NES/SNES mode on port 0
$02 NES_SNES_EN1 Enable the NES/SNES mode on port 1
$04 NES_SNES_JOY 0 = NES, 1 = SNES
$40 NES_SNES_DONE Poll to see if the deserializer is done
$80 NES_SNES_TRIG Set to start the deserializer
$AF:E805 REVOFPCB_C First character of board ID (should be "C")
$AF:E806 REVOFPCB_4 Second character of board ID (should be "4")
$AF:E807 REVOFPCB_A Third character of board ID
$AF:E808 NES_SNES0_DAT_LO Contains 8 bits of NES/SNES controller for port 0
$AF:E809 NES_SNES0_DAT_HI Contains hi 4 bits of SNES controller for port 0
$AF:E80A NES_SNES1_DAT_LO Contains 8 bits of NES/SNES controller for port 1
$AF:E80B NES_SNES1_DAT_HI Contains hi 4 bits of SNES controller for port 1
$AF:E80C CFP9301_REV Hardware revision of the CPLD Code
$AF:E80D DIP_USER DIP switches 3, 4, and 5, which can be user defined.
$AF:E80E DIP_BOOTMODE
Bits Bit Name Additional Info
$01 BOOT_MODE0 Boot mode low bit
$02 BOOT_MODE1 Boot mode high bit
$80 HD_INSTALLED IDE drive is installed