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.

User:Trap15/fm7: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (through fd03)
m (fd04)
Line 121: Line 121:
  ! PE
  ! PE
  | Printer Paper Empty
  | Printer Paper Empty
  | 0: Normal<br>1: No paper用紙なし
  | 0: Normal<br>1: No paper
  |-
  |-
  ! ACKNG
  ! ACKNG
Line 137: Line 137:
|-
|-
| W
| W
| Interrupt mask
| IRQ mask
{| class="wikitable"
{| class="wikitable"
  |-
  |-
Line 182: Line 182:
! rowspan=2 | $FD03
! rowspan=2 | $FD03
| R
| R
| Interrupt flags
| IRQ flags
{| class="wikitable"
{| class="wikitable"
  |-
  |-
Line 235: Line 235:
  | Output buzzer to speaker
  | Output buzzer to speaker
  | 0: Mute<br>1: Output
  | 0: Mute<br>1: Output
|}
<!-- ================================================================================ FD04 -->
|-
! colspan=3 |
|-
! rowspan=2 | $FD04
| R
| Sub-CPU interface, FIRQ flags
{| class="wikitable"
|-
! Bit !! 7 !! 6 !! 5 !! 4 !! 3 !! 2 !! 1 !! 0
|-
! Name
| colspan=1 style="background:#eaecf0" |
| FDCMODE
| KNJMODE
| 400CARD
| 400LINE
| IRQMODE
| BREAK
| ATN
|}
{| class="wikitable"
|-
! FDCMODE
| FDC mode
| 0: 1MB<br>1: 320KB
| L4 only
|-
! KNJMODE
| Kanji ROM mode
| 0: SUB<br>1: MAIN
| L4 only
|-
! 400CARD
| 400-line card<br>(260k color mode for AV40?)
| 0: Enable(?)<br>1: Disable(?)
| L4 only
|-
! 400LINE
| 400-line mode
| 0: 400-line<br>1: 200-line
| L4 only
|-
! IRQMODE
| IRQ mode
| 0: Normal<br>1: SFD
| L4 only
|-
! BREAK
| Break key pressed
| rowspan=2 colspan=2 | 0: Active<br>1: Inactive
|-
! ATN
| Sub-CPU attention signal
|}
|-
| W
| Sub-CPU interface
{| class="wikitable"
|-
! Bit !! 7 !! 6 !! 5 !! 4 !! 3 !! 2 !! 1 !! 0
|-
! Name
| colspan=1 style="background:#eaecf0" |
| FDCMODE
| KNJMODE
| 400CARD
| 400LINE
| IRQMODE
| colspan=2 style="background:#eaecf0" |
|}
{| class="wikitable"
|-
! FDCMODE
| FDC mode
| 0: 1MB<br>1: 320KB
| L4 only
|-
! KNJMODE
| Kanji ROM mode
| 0: SUB<br>1: MAIN
| L4 only
|-
! 400CARD
| 400-line card<br>(260k color mode for AV40?)
| 0: Enable(?)<br>1: Disable(?)
| L4 only
|-
! 400LINE
| 400-line mode
| 0: 400-line<br>1: 200-line
| L4 only
|-
! IRQMODE
| IRQ mode
| 0: Normal<br>1: SFD
| L4 only
  |}
  |}
<!-- ================================================================================ END -->
<!-- ================================================================================ END -->
|}
|}

Revision as of 03:14, 5 February 2024

Main I/O Map

Address R/W Detail
$FD00 R Keyboard data high bit, and clock speed indicator
Bit 7 6 5 4 3 2 1 0
Name D8 CLK
D8 Keyboard data bit 8
CLK Clock speed 0: 1.2MHz
1: 2MHz
AV always reads '1'
W Audio cassette and printer
Bit 7 6 5 4 3 2 1 0
Name SLCTIN STRB CASRMT CASWR
SLCTIN Printer select input 0: Select
1: Unselect
STRB Printer strobe Strobe for data exchange (edge pulse)
CASRMT Audio cassette remote 0: ON
1:OFF
CASWR Audio cassette data Write data, MIC
$FD01 R Keyboard data low 8 bits
Bit 7 6 5 4 3 2 1 0
Name Keyboard data bits 0~7
W Printer output data
Bit 7 6 5 4 3 2 1 0
Name Output data
$FD02 R Audio cassette and printer
Bit 7 6 5 4 3 2 1 0
Name CASRD DET2 DTT1 PE ACKNG ERROR BUSY
CASRD Cassette data read, SPK
DET2 Printer DET 2 (unused)
DTT1 Printer DTT 1 (unused)
PE Printer Paper Empty 0: Normal
1: No paper
ACKNG Acknowledge Triggered by reading (?)
ERROR Printer Error 0: Error
1: Normal
BUSY Printer Busy 0: Ready
1: Busy
W IRQ mask
Bit 7 6 5 4 3 2 1 0
Name SYNDET RXRDY TXRDY MFD TIMER PRINTER KEY
SYNDET RS-232 sync detect 0: Disable
1: Enable
RXRDY RS-232 serial receive ready
TXRDY RS-232 serial transmit ready
MFD Mini-floppy disk
TIMER Periodic timer (every 2.03ms)
PRINTER Printer ready for next character
KEY Keystroke received
$FD03 R IRQ flags
Bit 7 6 5 4 3 2 1 0
Name EXT TIMER PRINTER KEY
EXT Expansion 0: Active
1: Inactive
TIMER Periodic timer
PRINTER Printer ready for next character
KEY Keystroke received
W Buzzer
Bit 7 6 5 4 3 2 1 0
Name REPEAT SINGLE SPEAKER
REPEAT Repeating buzzer 0: Off
1: On
SINGLE One-shot buzzer 0: Off
1: On
SPEAKER Output buzzer to speaker 0: Mute
1: Output
$FD04 R Sub-CPU interface, FIRQ flags
Bit 7 6 5 4 3 2 1 0
Name FDCMODE KNJMODE 400CARD 400LINE IRQMODE BREAK ATN
FDCMODE FDC mode 0: 1MB
1: 320KB
L4 only
KNJMODE Kanji ROM mode 0: SUB
1: MAIN
L4 only
400CARD 400-line card
(260k color mode for AV40?)
0: Enable(?)
1: Disable(?)
L4 only
400LINE 400-line mode 0: 400-line
1: 200-line
L4 only
IRQMODE IRQ mode 0: Normal
1: SFD
L4 only
BREAK Break key pressed 0: Active
1: Inactive
ATN Sub-CPU attention signal
W Sub-CPU interface
Bit 7 6 5 4 3 2 1 0
Name FDCMODE KNJMODE 400CARD 400LINE IRQMODE
FDCMODE FDC mode 0: 1MB
1: 320KB
L4 only
KNJMODE Kanji ROM mode 0: SUB
1: MAIN
L4 only
400CARD 400-line card
(260k color mode for AV40?)
0: Enable(?)
1: Disable(?)
L4 only
400LINE 400-line mode 0: 400-line
1: 200-line
L4 only
IRQMODE IRQ mode 0: Normal
1: SFD
L4 only