Previous 15994 Revisions Next

r9788 Monday 20th December, 2010 at 02:36:21 UTC by Robbbert
[SUPER80] super80e - added support for printer.
[src/mess/drivers]super80.c
[src/mess/machine]super80.c

src/mess/machine/super80.c
r9787r9788
148148    Centronics printer is emulated; the serial side of things may be done later, as will the dipswitches.
149149
150150    The most commonly used I/O range is DC-DE (DC = centronics, DD = serial data, DE = serial control
151    All the home-brew roms use this, except for super80e which uses BC-BE (which we don't support yet). */
151    All the home-brew roms use this, except for super80e which uses BC-BE. */
152152
153153/**************************** I/O PORTS *****************************************************************/
154154
src/mess/drivers/super80.c
r9787r9788
246246   AM_RANGE(0xf8, 0xfb) AM_MIRROR(0x04) AM_DEVREADWRITE("z80pio", z80pio_ba_cd_r, z80pio_ba_cd_w)
247247ADDRESS_MAP_END
248248
249static ADDRESS_MAP_START( super80e_io, ADDRESS_SPACE_IO, 8 )
250   ADDRESS_MAP_GLOBAL_MASK(0xff)
251   ADDRESS_MAP_UNMAP_HIGH
252   AM_RANGE(0xbc, 0xbc) AM_READWRITE(super80_dc_r, super80_dc_w)
253   AM_RANGE(0xe0, 0xe0) AM_MIRROR(0x14) AM_WRITE(super80_f0_w)
254   AM_RANGE(0xe1, 0xe1) AM_MIRROR(0x14) AM_WRITE(super80_f1_w)
255   AM_RANGE(0xe2, 0xe2) AM_MIRROR(0x14) AM_READ(super80_f2_r)
256   AM_RANGE(0xf8, 0xfb) AM_MIRROR(0x04) AM_DEVREADWRITE("z80pio", z80pio_ba_cd_r, z80pio_ba_cd_w)
257ADDRESS_MAP_END
258
249259static ADDRESS_MAP_START( super80r_io, ADDRESS_SPACE_IO, 8 )
250260   ADDRESS_MAP_GLOBAL_MASK(0xff)
251261   ADDRESS_MAP_UNMAP_HIGH
r9787r9788
688698MACHINE_CONFIG_END
689699
690700static MACHINE_CONFIG_DERIVED( super80e, super80 )
701   MDRV_CPU_MODIFY("maincpu")
702   MDRV_CPU_IO_MAP(super80e_io)
691703   MDRV_GFXDECODE(super80e)
692704   MDRV_VIDEO_UPDATE(super80e)
693705MACHINE_CONFIG_END

Previous 15994 Revisions Next


© 1998-2018 The MESS Team