Gathered notes relating to the actual hardware of the pc8201. These notes were compiled from sources on the net //FIXME - reference some of these sources. and were used during the writing of the xmess/xmame driver for the pc8201. Memory Map ---------- 0000-7fff System ROM (bank rom0) 8000-ffff System Ram Area 8000-bfff Expanded 16K RAM c000-ffff Base 16K RAM TODO - discover/document Bank switching address details xxxx-xxxx Expansion ROM (bank rom1) xxxx-xxxx Expansion RAM (banks ram2-7) Port Map -------- 70 8255 portA (optional) 71 8255 portB (optional) 72 8255 portC (optional) 73 8255 command/mode (optional) 80 ROM Expansion address/select 84 ROM Expansion address 88 ROM Expansion address 8C ROM Expansion Data 90 IO control port A0 "Return status of IOCNT" "Current bank number stored here" m100 - "Modem control port" A1 "Printer strobe" "used to set the current bank" B0-B5 same as B8-BD B8 8155 Command/status B9 8155 portA BA 8155 portB BB 8155 portC BC 8155 timer LO BD 8155 timer HI C0-C8? 6402 TX/RX D8 6402 Command/status E0-E8 Keybord matrix read F0-F1 same as FE-FF F2-F3 F4-F5 F6-F7 F8-F9 FA-FB FC-FD FE LCD command/status FF LCD Data IO control port --------------- Bit 0 Bank #0 select 1 Bank #1 select 2 Bank #2 0000-7fff select 3 Bank #3 8000-ffff select 4 Clock "strobe" 5 Cassette motor 6 \ 7 - Serial interface 00 01 Ram file 10 F/D interface 11 Rs232 COM port 8155 ---- Command = 0x43 portA ----- Printer data output keyboard strobe LCD chip select clock data ---------- Bit 0 C0 1 C1 2 C2 3 Clock 4 serial data to clock portB ----- 0 LCD block select 9 (column 9 keyboard - m100 only?) 1 LCD block select 10 2 Buzzer from timer (0 - 8155 timer output, 1 - no noise from timer 3 Select Carrier detect (0) or RING detect (1) 0 - Rs232, 1 - Modem (m100 only?) 4 Software off switch 5 Buzzer data bit. 0 - no noise, 1 - buzzer active if bit2=1, else allow timer control 6 DTR output (active low) 7 RTS output (active low) portC ----- 0 clock data input 1 Printer select input (active low) 2 Printer busy input 3 Bar code reader input 4 CTS input (active low) 5 DSR input (active low) Timer input Timer output 6402 ---- clocking input interupt output Read Status: PE FE OE DR TRE Write Command: PI SBS CLS2 CLS1 EPE 8085 ---- SID cassette SOD cassette Modem Control Port - m100 only? ------------------ Bit 0 Telephone relay (1 is off-hook or connected to phoneline) 1 Modem enable