src/mess/drivers/sg1000.c
| r857 | r858 | |
| 80 | 80 | ADDRESS_MAP_END |
| 81 | 81 | |
| 82 | 82 | static ADDRESS_MAP_START( sg1000_io_map, ADDRESS_SPACE_IO, 8 ) |
| 83 | | AM_RANGE(0x7f, 0x7f) AM_MIRROR(0xff00) AM_WRITE(SN76496_0_w) |
| 84 | | AM_RANGE(0xbe, 0xbe) AM_MIRROR(0xff00) AM_READWRITE(TMS9928A_vram_r, TMS9928A_vram_w) |
| 85 | | AM_RANGE(0xbf, 0xbf) AM_MIRROR(0xff00) AM_READWRITE(TMS9928A_register_r, TMS9928A_register_w) |
| 86 | | AM_RANGE(0xdc, 0xdc) AM_MIRROR(0xff00) AM_READ(input_port_0_r) |
| 87 | | AM_RANGE(0xdd, 0xdd) AM_MIRROR(0xff00) AM_READ(input_port_1_r) |
| 88 | | AM_RANGE(0xde, 0xdf) AM_MIRROR(0xff00) AM_NOP |
| 83 | ADDRESS_MAP_FLAGS( AMEF_ABITS(8) ) |
| 84 | AM_RANGE(0x7f, 0x7f) AM_WRITE(SN76496_0_w) |
| 85 | AM_RANGE(0xbe, 0xbe) AM_READWRITE(TMS9928A_vram_r, TMS9928A_vram_w) |
| 86 | AM_RANGE(0xbf, 0xbf) AM_READWRITE(TMS9928A_register_r, TMS9928A_register_w) |
| 87 | AM_RANGE(0xdc, 0xdc) AM_READ(input_port_0_r) |
| 88 | AM_RANGE(0xdd, 0xdd) AM_READ(input_port_1_r) |
| 89 | AM_RANGE(0xde, 0xdf) AM_NOP |
| 89 | 90 | ADDRESS_MAP_END |
| 90 | 91 | |
| 91 | 92 | // SC-3000 |
| r857 | r858 | |
| 97 | 98 | ADDRESS_MAP_END |
| 98 | 99 | |
| 99 | 100 | static ADDRESS_MAP_START( sc3000_io_map, ADDRESS_SPACE_IO, 8 ) |
| 100 | | AM_RANGE(0x7f, 0x7f) AM_MIRROR(0xff00) AM_WRITE(SN76496_0_w) |
| 101 | | AM_RANGE(0xbe, 0xbe) AM_MIRROR(0xff00) AM_READWRITE(TMS9928A_vram_r, TMS9928A_vram_w) |
| 102 | | AM_RANGE(0xbf, 0xbf) AM_MIRROR(0xff00) AM_READWRITE(TMS9928A_register_r, TMS9928A_register_w) |
| 103 | | AM_RANGE(0xdc, 0xdf) AM_MIRROR(0xff00) AM_READWRITE(ppi8255_0_r, ppi8255_0_w) |
| 101 | ADDRESS_MAP_FLAGS( AMEF_ABITS(8) ) |
| 102 | AM_RANGE(0x7f, 0x7f) AM_WRITE(SN76496_0_w) |
| 103 | AM_RANGE(0xbe, 0xbe) AM_READWRITE(TMS9928A_vram_r, TMS9928A_vram_w) |
| 104 | AM_RANGE(0xbf, 0xbf) AM_READWRITE(TMS9928A_register_r, TMS9928A_register_w) |
| 105 | AM_RANGE(0xdc, 0xdf) AM_READWRITE(ppi8255_0_r, ppi8255_0_w) |
| 104 | 106 | ADDRESS_MAP_END |
| 105 | 107 | |
| 106 | 108 | // SF-7000 |
| r857 | r858 | |
| 111 | 113 | ADDRESS_MAP_END |
| 112 | 114 | |
| 113 | 115 | static ADDRESS_MAP_START( sf7000_io_map, ADDRESS_SPACE_IO, 8 ) |
| 114 | | AM_RANGE(0x7f, 0x7f) AM_MIRROR(0xff00) AM_WRITE(SN76496_0_w) |
| 115 | | AM_RANGE(0xbe, 0xbe) AM_MIRROR(0xff00) AM_READWRITE(TMS9928A_vram_r, TMS9928A_vram_w) |
| 116 | | AM_RANGE(0xbf, 0xbf) AM_MIRROR(0xff00) AM_READWRITE(TMS9928A_register_r, TMS9928A_register_w) |
| 117 | | AM_RANGE(0xdc, 0xdf) AM_MIRROR(0xff00) AM_READWRITE(ppi8255_0_r, ppi8255_0_w) |
| 118 | | AM_RANGE(0xe0, 0xe0) AM_MIRROR(0xff00) AM_READ(nec765_status_r) |
| 119 | | AM_RANGE(0xe1, 0xe1) AM_MIRROR(0xff00) AM_READWRITE(nec765_data_r, nec765_data_w) |
| 120 | | AM_RANGE(0xe4, 0xe7) AM_MIRROR(0xff00) AM_READWRITE(ppi8255_1_r, ppi8255_1_w) |
| 121 | | AM_RANGE(0xe8, 0xe8) AM_MIRROR(0xff00) AM_READWRITE(msm8251_data_r, msm8251_data_w) |
| 122 | | AM_RANGE(0xe9, 0xe9) AM_MIRROR(0xff00) AM_READWRITE(msm8251_status_r, msm8251_control_w) |
| 116 | ADDRESS_MAP_FLAGS( AMEF_ABITS(8) ) |
| 117 | AM_RANGE(0x7f, 0x7f) AM_WRITE(SN76496_0_w) |
| 118 | AM_RANGE(0xbe, 0xbe) AM_READWRITE(TMS9928A_vram_r, TMS9928A_vram_w) |
| 119 | AM_RANGE(0xbf, 0xbf) AM_READWRITE(TMS9928A_register_r, TMS9928A_register_w) |
| 120 | AM_RANGE(0xdc, 0xdf) AM_READWRITE(ppi8255_0_r, ppi8255_0_w) |
| 121 | AM_RANGE(0xe0, 0xe0) AM_READ(nec765_status_r) |
| 122 | AM_RANGE(0xe1, 0xe1) AM_READWRITE(nec765_data_r, nec765_data_w) |
| 123 | AM_RANGE(0xe4, 0xe7) AM_READWRITE(ppi8255_1_r, ppi8255_1_w) |
| 124 | AM_RANGE(0xe8, 0xe8) AM_READWRITE(msm8251_data_r, msm8251_data_w) |
| 125 | AM_RANGE(0xe9, 0xe9) AM_READWRITE(msm8251_status_r, msm8251_control_w) |
| 123 | 126 | ADDRESS_MAP_END |
| 124 | 127 | |
| 125 | 128 | /* Input Ports */ |