Previous 15994 Revisions Next

r10774 Saturday 12th March, 2011 at 17:28:45 UTC by Angelo Salese
[PC-9821]: Various ports documentation
[src/mess/drivers]pc9801.c

src/mess/drivers/pc9801.c
r10773r10774
14711471
14721472   AM_RANGE(0x0030, 0x0037) AM_READWRITE8(pc9801rs_30_r,      pc9801_30_w,        0xffffffff) //i8251 RS232c / i8255 system port
14731473   AM_RANGE(0x0040, 0x0047) AM_READWRITE8(pc9801_40_r,        pc9801_40_w,        0xffffffff) //i8255 printer port / i8251 keyboard
1474   AM_RANGE(0x005c, 0x005f) AM_WRITENOP
1474   AM_RANGE(0x005c, 0x005f) AM_NOP //ARTIC (serial card?)
14751475   AM_RANGE(0x0060, 0x0063) AM_READWRITE8(pc9801_60_r,        pc9801_60_w,        0xffffffff) //upd7220 character ports / <undefined>
14761476   AM_RANGE(0x0064, 0x0067) AM_WRITE8(                        pc9801_vrtc_mask_w, 0xffffffff)
14771477   AM_RANGE(0x0068, 0x006b) AM_WRITE8(                        pc9821_video_ff_w,  0xffffffff) //mode FF / <undefined>
14781478   AM_RANGE(0x0070, 0x007b) AM_READWRITE8(pc9801_70_r,        pc9801_70_w,        0xffffffff) //display registers "GRCG" / i8253 pit
1479//   AM_RANGE(0x0080, 0x0083) SASI interface / <undefined>
14791480   AM_RANGE(0x0090, 0x0097) AM_READWRITE8(pc9801rs_2hd_r,     pc9801rs_2hd_w,     0xffffffff)
14801481   AM_RANGE(0x00a0, 0x00af) AM_READWRITE8(pc9821_a0_r,        pc9821_a0_w,        0xffffffff) //upd7220 bitmap ports / display registers
1482//   AM_RANGE(0x00b0, 0x00b3) PC9861k (serial port?)
1483//   AM_RANGE(0x00b9, 0x00b9) PC9861k
1484//   AM_RANGE(0x00bb, 0x00bb) PC9861k
14811485   AM_RANGE(0x00bc, 0x00bf) AM_READWRITE8(pc9810rs_fdc_ctrl_r,pc9810rs_fdc_ctrl_w,0xffffffff)
14821486   AM_RANGE(0x00c8, 0x00cf) AM_READWRITE8(pc9801rs_2dd_r,     pc9801rs_2dd_w,     0xffffffff)
1487//   AM_RANGE(0x00d8, 0x00df) AMD98 (sound?) board
14831488   AM_RANGE(0x00f0, 0x00ff) AM_READWRITE8(pc9801rs_f0_r,      pc9801rs_f0_w,      0xffffffff)
1484   AM_RANGE(0x043c, 0x043f) AM_WRITE8(                        pc9801rs_bank_w,    0xffffffff) //ROM/RAM bank
1489//   AM_RANGE(0x0188, 0x018b) YM2203 OPN board / <undefined>
1490//   AM_RANGE(0x018c, 0x018f) YM2203 OPN extended ports / <undefined>
1491//   AM_RANGE(0x0430, 0x0430) IDE bank register
1492//   AM_RANGE(0x0432, 0x0432) IDE bank register (mirror)
1493//   AM_RANGE(0x0439, 0x0439) ROM/RAM bank (NEC)
1494//   AM_RANGE(0x043d, 0x043d) ROM/RAM bank (NEC)
1495   AM_RANGE(0x043c, 0x043f) AM_WRITE8(                        pc9801rs_bank_w,    0xffffffff) //ROM/RAM bank (EPSON)
1496//   AM_RANGE(0x04a0, 0x04af) EGC
14851497//   AM_RANGE(0x04be, 0x04be) FDC "RPM" register
1498//   AM_RANGE(0x0642, 0x064f) IDE registers / <undefined>
1499//   AM_RANGE(0x074c, 0x074f) IDE status (r) - IDE control registers (w) / <undefined>
1500//   AM_RANGE(0x08e0, 0x08ea) <undefined> / EMM SIO registers
14861501//   AM_RANGE(0x09a0, 0x09a0) GDC extended register r/w
14871502//   AM_RANGE(0x09a8, 0x09a8) GDC 31KHz register r/w
1503//   AM_RANGE(0x0c07, 0x0c07) EPSON register w
1504//   AM_RANGE(0x0c03, 0x0c03) EPSON register 0 r
1505//   AM_RANGE(0x0c13, 0x0c14) EPSON register 1 r
1506//   AM_RANGE(0x0c24, 0x0c24) cs4231 PCM board register control
1507//   AM_RANGE(0x0c2b, 0x0c2b) cs4231 PCM board low byte control
1508//   AM_RANGE(0x0c2d, 0x0c2d) cs4231 PCM board hi byte control
1509//   AM_RANGE(0x0cc0, 0x0cc7) SCSI interface / <undefined>
1510//   AM_RANGE(0x0cfc, 0x0cff) PCI bus
1511//   AM_RANGE(0x3fd8, 0x3fdf) <undefined> / pit mirror ports
1512//   AM_RANGE(0x7fd8, 0x7fdf) <undefined> / mouse ppi8255 ports
1513//   AM_RANGE(0xa460, 0xa46f) cs4231 PCM extended port / <undefined>
1514//   AM_RANGE(0xbfdb, 0xbfdb) mouse timing port
1515//   AM_RANGE(0xc0d0, 0xc0d3) MIDI port, option 0 / <undefined>
1516//   AM_RANGE(0xc4d0, 0xc4d3) MIDI port, option 1 / <undefined>
1517//   AM_RANGE(0xc8d0, 0xc8d3) MIDI port, option 2 / <undefined>
1518//   AM_RANGE(0xccd0, 0xccd3) MIDI port, option 3 / <undefined>
1519//   AM_RANGE(0xd0d0, 0xd0d3) MIDI port, option 4 / <undefined>
1520//   AM_RANGE(0xd4d0, 0xd4d3) MIDI port, option 5 / <undefined>
1521//   AM_RANGE(0xd8d0, 0xd8d3) MIDI port, option 6 / <undefined>
1522//   AM_RANGE(0xdcd0, 0xdcd3) MIDI port, option 7 / <undefined>
1523//   AM_RANGE(0xe0d0, 0xe0d3) MIDI port, option 8 / <undefined>
1524//   AM_RANGE(0xe4d0, 0xe4d3) MIDI port, option 9 / <undefined>
1525//   AM_RANGE(0xe8d0, 0xe8d3) MIDI port, option A / <undefined>
1526//   AM_RANGE(0xecd0, 0xecd3) MIDI port, option B / <undefined>
1527//   AM_RANGE(0xf0d0, 0xf0d3) MIDI port, option C / <undefined>
1528//   AM_RANGE(0xf4d0, 0xf4d3) MIDI port, option D / <undefined>
1529//   AM_RANGE(0xf8d0, 0xf8d3) MIDI port, option E / <undefined>
1530//   AM_RANGE(0xfcd0, 0xfcd3) MIDI port, option F / <undefined>
14881531ADDRESS_MAP_END
14891532
14901533static ADDRESS_MAP_START( upd7220_1_map, 0, 8 )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team