Difference between revisions of "Trinity"
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
|- | |- | ||
| $AF:E808 || NES_SNES0_DAT_LO || Contains 8 bits of NES/SNES controller for port 0 | | $AF:E808 || NES_SNES0_DAT_LO || Contains 8 bits of NES/SNES controller for port 0 | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | !7 | ||
+ | !6 | ||
+ | !5 | ||
+ | !4 | ||
+ | !3 | ||
+ | !2 | ||
+ | !1 | ||
+ | !0 | ||
+ | |- | ||
+ | | B || Y || SELECT || START || UP || DOWN || LEFT || RIGHT | ||
+ | |} | ||
+ | |||
|- | |- | ||
| $AF:E809 || NES_SNES0_DAT_HI || Contains hi 4 bits of SNES controller for port 0 | | $AF:E809 || NES_SNES0_DAT_HI || Contains hi 4 bits of SNES controller for port 0 | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | !7 | ||
+ | !6 | ||
+ | !5 | ||
+ | !4 | ||
+ | !3 | ||
+ | !2 | ||
+ | !1 | ||
+ | !0 | ||
+ | |- | ||
+ | | || || || || A || X || L || R | ||
+ | |} | ||
|- | |- | ||
| $AF:E80A || NES_SNES1_DAT_LO || Contains 8 bits of NES/SNES controller for port 1 | | $AF:E80A || NES_SNES1_DAT_LO || Contains 8 bits of NES/SNES controller for port 1 | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | !7 | ||
+ | !6 | ||
+ | !5 | ||
+ | !4 | ||
+ | !3 | ||
+ | !2 | ||
+ | !1 | ||
+ | !0 | ||
+ | |- | ||
+ | | B || Y || SELECT || START || UP || DOWN || LEFT || RIGHT | ||
+ | |} | ||
+ | |||
|- | |- | ||
| $AF:E80B || NES_SNES1_DAT_HI || Contains hi 4 bits of SNES controller for port 1 | | $AF:E80B || NES_SNES1_DAT_HI || Contains hi 4 bits of SNES controller for port 1 | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | !7 | ||
+ | !6 | ||
+ | !5 | ||
+ | !4 | ||
+ | !3 | ||
+ | !2 | ||
+ | !1 | ||
+ | !0 | ||
+ | |- | ||
+ | | || || || || A || X || L || R | ||
+ | |} | ||
|- | |- | ||
Line 64: | Line 118: | ||
!Additional Info | !Additional Info | ||
|- | |- | ||
− | | $01 || BOOT_MODE0 || Boot mode low bit | + | | $01 || BOOT_MODE0 || Boot mode low bit (DIP1) |
|- | |- | ||
− | | $02 || BOOT_MODE1 || Boot mode high bit | + | | $02 || BOOT_MODE1 || Boot mode high bit (DIP2) |
|- | |- | ||
− | | $80 || HD_INSTALLED || IDE drive is installed | + | | $80 || HD_INSTALLED || IDE drive is installed (DIP8) |
|} | |} | ||
Revision as of 16:15, 3 February 2021
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)) |