Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
User:Trap15/fm7: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 477: | Line 477: | ||
| TODO | | TODO | ||
| AV20, AV40 only | | AV20, AV40 only | ||
|} | |||
<!-- ================================================================================ FD0C --> | |||
|- | |||
! colspan=3 | | |||
|- | |||
! rowspan=1 | $FD0C | |||
| W | |||
| RS-232 interface configuration | |||
{| class="wikitable" | |||
|- | |||
! Bit !! 7 !! 6 !! 5 !! 4 !! 3 !! 2 !! 1 !! 0 | |||
|- | |||
! Name | |||
| colspan=5 style="background:#eaecf0" | | |||
| DTR | |||
| colspan=1 style="background:#eaecf0" | | |||
| ENABLE | |||
|} | |||
{| class="wikitable" | |||
|- | |||
! DTR | |||
| RS-232 DTR | |||
| 0: Output<br>1: Prohibit | |||
| AV20, AV40 only | |||
|- | |||
! ENABLE | |||
| RS-232 enable | |||
| 0: Disable<br>1: Enable | |||
| AV20, AV40 only | |||
|} | |||
<!-- ================================================================================ FD0D --> | |||
|- | |||
! colspan=3 | | |||
|- | |||
! rowspan=1 | $FD0D | |||
| W | |||
| PSG command register | |||
<!-- ================================================================================ FD0E --> | |||
|- | |||
! colspan=3 | | |||
|- | |||
! rowspan=1 | $FD0E | |||
| RW | |||
| PSG data register | |||
<!-- ================================================================================ FD0F --> | |||
|- | |||
! colspan=3 | | |||
|- | |||
! rowspan=1 | $FD0F | |||
| RW | |||
| ROM bank mode | |||
{| class="wikitable" | |||
|- | |||
! Bit !! 7 !! 6 !! 5 !! 4 !! 3 !! 2 !! 1 !! 0 | |||
|- | |||
! Name | |||
| colspan=8 | MODE | |||
|} | |||
{| class="wikitable" | |||
|- | |||
! MODE | |||
| Change ROM bank status by access type | |||
| Read: ROM<br>Write: RAM | |||
|} | |||
<!-- ================================================================================ FD10 --> | |||
|- | |||
! colspan=3 | | |||
|- | |||
! rowspan=1 | $FD10 | |||
| W | |||
| Initiator ROM disable | |||
{| class="wikitable" | |||
|- | |||
! Bit !! 7 !! 6 !! 5 !! 4 !! 3 !! 2 !! 1 !! 0 | |||
|- | |||
! Name | |||
| colspan=6 style="background:#eaecf0" | | |||
| INITROM | |||
| colspan=1 style="background:#eaecf0" | | |||
|} | |||
{| class="wikitable" | |||
|- | |||
! INITROM | |||
| Initiator ROM enable | |||
| 0: Enabled<br>1: Disabled | |||
| AV only | |||
|} | |} | ||
<!-- ================================================================================ END --> | <!-- ================================================================================ END --> | ||
|} | |} |
Revision as of 12:43, 5 February 2024
Main I/O Map
Address | R/W | Detail | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
$FD00 | R | Keyboard data high bit, and clock speed indicator
| ||||||||||||||||||||||||||||||||||||||||||||
W | Audio cassette and printer
| |||||||||||||||||||||||||||||||||||||||||||||
$FD01 | R | Keyboard data low 8 bits
| ||||||||||||||||||||||||||||||||||||||||||||
W | Printer output data
| |||||||||||||||||||||||||||||||||||||||||||||
$FD02 | R | Audio cassette and printer
| ||||||||||||||||||||||||||||||||||||||||||||
W | IRQ mask
| |||||||||||||||||||||||||||||||||||||||||||||
$FD03 | R | IRQ flags
| ||||||||||||||||||||||||||||||||||||||||||||
W | Buzzer
| |||||||||||||||||||||||||||||||||||||||||||||
$FD04 | R | Sub-CPU interface, FIRQ flags
| ||||||||||||||||||||||||||||||||||||||||||||
W | Sub-CPU interface
| |||||||||||||||||||||||||||||||||||||||||||||
$FD05 | R | Sub-CPU status, expansion status
| ||||||||||||||||||||||||||||||||||||||||||||
W | Sub-CPU status, expansion status
| |||||||||||||||||||||||||||||||||||||||||||||
$FD06 | RW | RS-232 data
Read to receive, write to transmit. | ||||||||||||||||||||||||||||||||||||||||||||
$FD07 | RW | RS-232 command and status (TODO) | ||||||||||||||||||||||||||||||||||||||||||||
$FD08 | RW | Light pen (TODO) | ||||||||||||||||||||||||||||||||||||||||||||
$FD09 | RW | Light pen (TODO) | ||||||||||||||||||||||||||||||||||||||||||||
$FD0A | RW | Light pen (TODO) | ||||||||||||||||||||||||||||||||||||||||||||
$FD0B | R | Boot switch status, RS-232 interface
| ||||||||||||||||||||||||||||||||||||||||||||
W | RS-232 interface configuration
| |||||||||||||||||||||||||||||||||||||||||||||
$FD0C | W | RS-232 interface configuration
| ||||||||||||||||||||||||||||||||||||||||||||
$FD0D | W | PSG command register | ||||||||||||||||||||||||||||||||||||||||||||
$FD0E | RW | PSG data register | ||||||||||||||||||||||||||||||||||||||||||||
$FD0F | RW | ROM bank mode
| ||||||||||||||||||||||||||||||||||||||||||||
$FD10 | W | Initiator ROM disable
|