Previous 15994 Revisions Next

r4732 Monday 18th May, 2009 at 00:41:17 UTC by Barry Rodewald
[FMTOWNS] Added I/O ports specific to the system.
[src/mess/drivers]fmtowns.c

src/mess/drivers/fmtowns.c
r4731r4732
4848ADDRESS_MAP_END
4949
5050static ADDRESS_MAP_START( towns_io , ADDRESS_SPACE_IO, 32)
51   ADDRESS_MAP_UNMAP_HIGH
51  // I/O ports derived from FM Towns/Bochs, these are specific to the FM Towns
52  // Some common PC ports are likely to also be used
53  // System ports
54  AM_RANGE(0x0020,0x0033) AM_NOP  // R/W
55  AM_RANGE(0x006c,0x006f) AM_NOP  // R/W (0x6c)
56  // DMA controllers (uPD71071?)
57  AM_RANGE(0x00a0,0x00af) AM_NOP
58  AM_RANGE(0x00b0,0x00bf) AM_NOP
59  // Floppy controller
60  AM_RANGE(0x0200,0x020f) AM_NOP  // all R/W
61  // CRTC / Video
62  AM_RANGE(0x0400,0x0403) AM_NOP  // R/O (0x400)
63  AM_RANGE(0x0404,0x0407) AM_NOP  // R/W (0x404)
64  AM_RANGE(0x0440,0x045f) AM_NOP
65  // System port
66  AM_RANGE(0x0480,0x0483) AM_NOP  // R/W (0x480)
67  // CD-ROM
68  AM_RANGE(0x04c0,0x04cf) AM_NOP
69  // Sound (YM3438 [FM], RF5c68 [PCM])
70  AM_RANGE(0x04d4,0x04d7) AM_NOP  // R/W  -- (0x4d5) mute?
71  AM_RANGE(0x04d8,0x04db) AM_NOP  // R/W  -- (0x4d8) YM control port A / status port A
72                                  // R/W  -- (0x4da) YM data port A / status port A
73  AM_RANGE(0x04dc,0x04df) AM_NOP  // R/W  -- (0x4dc) YM control port B / status port A
74                                  // R/W  -- (0x4de) YM data port B / status port A
75  AM_RANGE(0x04e0,0x04e3) AM_NOP  // R/W  -- volume ports
76  AM_RANGE(0x04e8,0x04ef) AM_NOP  // R/O  -- (0x4e9) FM IRQ flag (bit 0), PCM IRQ flag (bit 3)
77                                  // (0x4ea) PCM IRQ mask
78                                  // R/W  -- (0x4eb) PCM IRQ flag
79                                  // W/O  -- (0x4ec) LED control
80  AM_RANGE(0x04f0,0x04fb) AM_NOP  // W/O  -- (0x4f0-0x4f8) PCM registers
81  // System ports
82  AM_RANGE(0x05e8,0x05ef) AM_NOP  // R/O (0x5e8, 0x5ec)
83
5284ADDRESS_MAP_END
5385
5486/* Input ports */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team