If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
User:Trap15/fm7: Difference between revisions
Jump to navigation
Jump to search
m (Finish FD00) |
m (through fd03) |
||
Line 4: | Line 4: | ||
|- | |- | ||
! Address !! R/W !! Detail | ! Address !! R/W !! Detail | ||
<!-- ================================================================================ FD00 --> | |||
|- | |- | ||
! rowspan=2 | $FD00 | ! rowspan=2 | $FD00 | ||
Line 14: | Line 15: | ||
! Name | ! Name | ||
| D8 | | D8 | ||
| colspan=6 | | | colspan=6 style="background:#eaecf0" | | ||
| CLK | | CLK | ||
|} | |} | ||
Line 37: | Line 38: | ||
| SLCTIN | | SLCTIN | ||
| STRB | | STRB | ||
| colspan=4 | | | colspan=4 style="background:#eaecf0" | | ||
| CASRMT | | CASRMT | ||
| | | CASWR | ||
|} | |} | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 55: | Line 56: | ||
| 0: ON<br>1:OFF | | 0: ON<br>1:OFF | ||
|- | |- | ||
! | ! CASWR | ||
| Audio cassette data | | Audio cassette data | ||
| Write data, MIC | | Write data, MIC | ||
|} | |} | ||
<!-- ================================================================================ FD01 --> | |||
|- | |||
! colspan=3 | | |||
|- | |||
! rowspan=2 | $FD01 | |||
| R | |||
| Keyboard data low 8 bits | |||
{| class="wikitable" | |||
|- | |||
! Bit !! 7 !! 6 !! 5 !! 4 !! 3 !! 2 !! 1 !! 0 | |||
|- | |||
! Name | |||
| colspan=8 | Keyboard data bits 0~7 | |||
|} | |||
|- | |||
| W | |||
| Printer output data | |||
{| class="wikitable" | |||
|- | |||
! Bit !! 7 !! 6 !! 5 !! 4 !! 3 !! 2 !! 1 !! 0 | |||
|- | |||
! Name | |||
| colspan=8 | Output data | |||
|} | |||
<!-- ================================================================================ FD02 --> | |||
|- | |||
! colspan=3 | | |||
|- | |||
! rowspan=2 | $FD02 | |||
| R | |||
| Audio cassette and printer | |||
{| class="wikitable" | |||
|- | |||
! Bit !! 7 !! 6 !! 5 !! 4 !! 3 !! 2 !! 1 !! 0 | |||
|- | |||
! Name | |||
| CASRD | |||
| colspan=1 style="background:#eaecf0" | | |||
| DET2 | |||
| DTT1 | |||
| PE | |||
| ACKNG | |||
| ERROR | |||
| BUSY | |||
|} | |||
{| class="wikitable" | |||
|- | |||
! CASRD | |||
| Cassette data read, SPK | |||
| | |||
|- | |||
! DET2 | |||
| Printer DET 2 | |||
| (unused) | |||
|- | |||
! DTT1 | |||
| Printer DTT 1 | |||
| (unused) | |||
|- | |||
! PE | |||
| Printer Paper Empty | |||
| 0: Normal<br>1: No paper用紙なし | |||
|- | |||
! ACKNG | |||
| Acknowledge | |||
| Triggered by reading (?) | |||
|- | |||
! ERROR | |||
| Printer Error | |||
| 0: Error<br>1: Normal | |||
|- | |||
! BUSY | |||
| Printer Busy | |||
| 0: Ready<br>1: Busy | |||
|} | |||
|- | |||
| W | |||
| Interrupt mask | |||
{| class="wikitable" | |||
|- | |||
! Bit !! 7 !! 6 !! 5 !! 4 !! 3 !! 2 !! 1 !! 0 | |||
|- | |||
! Name | |||
| SYNDET | |||
| RXRDY | |||
| TXRDY | |||
| MFD | |||
| colspan=1 style="background:#eaecf0" | | |||
| TIMER | |||
| PRINTER | |||
| KEY | |||
|} | |||
{| class="wikitable" | |||
|- | |||
! SYNDET | |||
| RS-232 sync detect | |||
| rowspan=7 | 0: Disable<br>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 --> | |||
|- | |||
! colspan=3 | | |||
|- | |||
! rowspan=2 | $FD03 | |||
| R | |||
| Interrupt flags | |||
{| class="wikitable" | |||
|- | |||
! Bit !! 7 !! 6 !! 5 !! 4 !! 3 !! 2 !! 1 !! 0 | |||
|- | |||
! Name | |||
| colspan=4 style="background:#eaecf0" | | |||
| EXT | |||
| TIMER | |||
| PRINTER | |||
| KEY | |||
|} | |||
{| class="wikitable" | |||
|- | |||
! EXT | |||
| Expansion | |||
| rowspan=4 | 0: Active<br>1: Inactive | |||
|- | |||
! TIMER | |||
| Periodic timer | |||
|- | |||
! PRINTER | |||
| Printer ready for next character | |||
|- | |||
! KEY | |||
| Keystroke received | |||
|} | |||
|- | |||
| W | |||
| Buzzer | |||
{| class="wikitable" | |||
|- | |||
! Bit !! 7 !! 6 !! 5 !! 4 !! 3 !! 2 !! 1 !! 0 | |||
|- | |||
! Name | |||
| REPEAT | |||
| SINGLE | |||
| colspan=5 style="background:#eaecf0" | | |||
| SPEAKER | |||
|} | |||
{| class="wikitable" | |||
|- | |||
! REPEAT | |||
| Repeating buzzer | |||
| 0: Off<br>1: On | |||
|- | |||
! SINGLE | |||
| One-shot buzzer | |||
| 0: Off<br>1: On | |||
|- | |||
! SPEAKER | |||
| Output buzzer to speaker | |||
| 0: Mute<br>1: Output | |||
|} | |||
<!-- ================================================================================ END --> | |||
|} | |} |
Revision as of 02:50, 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 | Interrupt mask
| ||||||||||||||||||||||||||||||||||||||||
$FD03 | R | Interrupt flags
| |||||||||||||||||||||||||||||||||||||||
W | Buzzer
|