Trinity
Jump to navigation
Jump to search
Registers
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 |
| ||||||||||||||||||
$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 |
|
Boot Mode Bits
DIP2 | DIP1 | Bit values | Boot mode |
---|---|---|---|
OFF | OFF | 1,1 | Boot on BASIC |
OFF | ON | 1,0 | Boot from SD CARD |
ON | OFF | 0,1 | Boot from Floppy (Illegal if MachineID doesn't specify a Floppy) |
ON | ON | 0,0 | Boot from HDD (Illegal if Dip switch 8 is OFF (1)) |