trunk/src/mess/drivers/pp01.c
r25463 | r25464 | |
31 | 31 | ADDRESS_MAP_END |
32 | 32 | |
33 | 33 | static ADDRESS_MAP_START( pp01_io, AS_IO, 8, pp01_state ) |
34 | | AM_RANGE(0xc0, 0xc3) AM_DEVREADWRITE("ppi8255", i8255_device, read, write) |
35 | | //AM_RANGE(0xc4, 0xc7) AM_DEVREADWRITE("ppi8255", i8255_device, read, write) |
| 34 | AM_RANGE(0xc0, 0xc3) AM_DEVREADWRITE("ppi8255", i8255_device, read, write) // system |
| 35 | //AM_RANGE(0xc4, 0xc7) AM_DEVREADWRITE("ppi8255", i8255_device, read, write) // user |
| 36 | AM_RANGE(0xc8, 0xc8) AM_MIRROR(2) AM_DEVREADWRITE("uart", i8251_device, data_r, data_w) |
| 37 | AM_RANGE(0xc9, 0xc9) AM_MIRROR(2) AM_DEVREADWRITE("uart", i8251_device, status_r, control_w) |
36 | 38 | AM_RANGE(0xcc, 0xcf) AM_WRITE(pp01_video_write_mode_w) |
37 | 39 | AM_RANGE(0xd0, 0xd3) AM_DEVREADWRITE("pit8253", pit8253_device, read, write) |
38 | | AM_RANGE(0xe0, 0xef) AM_READWRITE(pp01_mem_block_r, pp01_mem_block_w) |
39 | | AM_RANGE(0xf0, 0xff) AM_READWRITE(pp01_mem_block_r, pp01_mem_block_w) |
| 40 | AM_RANGE(0xe0, 0xef) AM_MIRROR(0x10) AM_READWRITE(pp01_mem_block_r, pp01_mem_block_w) |
40 | 41 | ADDRESS_MAP_END |
41 | 42 | |
42 | 43 | /* Input ports */ |
r25463 | r25464 | |
215 | 216 | //MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
216 | 217 | |
217 | 218 | /* Devices */ |
| 219 | MCFG_I8251_ADD("uart", pp01_uart_intf) |
218 | 220 | MCFG_PIT8253_ADD( "pit8253", pp01_pit8253_intf ) |
219 | 221 | MCFG_I8255A_ADD( "ppi8255", pp01_ppi8255_interface ) |
220 | 222 | |
trunk/src/mess/includes/pp01.h
r25463 | r25464 | |
10 | 10 | #include "emu.h" |
11 | 11 | #include "cpu/i8085/i8085.h" |
12 | 12 | #include "machine/ram.h" |
13 | | //#include "machine/i8251.h" |
| 13 | #include "machine/i8251.h" |
14 | 14 | #include "machine/pit8253.h" |
15 | 15 | #include "machine/i8255.h" |
16 | 16 | #include "sound/speaker.h" |
r25463 | r25464 | |
63 | 63 | |
64 | 64 | |
65 | 65 | /*----------- defined in machine/pp01.c -----------*/ |
| 66 | extern const i8251_interface pp01_uart_intf; |
66 | 67 | extern const struct pit8253_interface pp01_pit8253_intf; |
67 | 68 | extern const i8255_interface pp01_ppi8255_interface; |
68 | 69 | |