src/mess/machine/pmd85.c
| r5230 | r5231 | |
| 12 | 12 | #include "driver.h" |
| 13 | 13 | #include "devices/cassette.h" |
| 14 | 14 | #include "cpu/i8085/i8085.h" |
| 15 | | #include "machine/8255ppi.h" |
| 15 | #include "machine/i8255a.h" |
| 16 | 16 | #include "includes/pmd85.h" |
| 17 | 17 | #include "machine/msm8251.h" |
| 18 | 18 | #include "machine/pit8253.h" |
| r5230 | r5231 | |
| 504 | 504 | switch (offset & 0x80) |
| 505 | 505 | { |
| 506 | 506 | case 0x80: /* Motherboard 8255 */ |
| 507 | | return ppi8255_r(devtag_get_device(space->machine, "ppi8255_0"), offset & 0x03); |
| 507 | return i8255a_r(devtag_get_device(space->machine, "ppi8255_0"), offset & 0x03); |
| 508 | 508 | } |
| 509 | 509 | break; |
| 510 | 510 | case 0x08: /* ROM module connector */ |
| r5230 | r5231 | |
| 520 | 520 | switch (offset & 0x80) |
| 521 | 521 | { |
| 522 | 522 | case 0x80: /* ROM module 8255 */ |
| 523 | | return ppi8255_r(devtag_get_device(space->machine, "ppi8255_3"), offset & 0x03); |
| 523 | return i8255a_r(devtag_get_device(space->machine, "ppi8255_3"), offset & 0x03); |
| 524 | 524 | } |
| 525 | 525 | } |
| 526 | 526 | break; |
| r5230 | r5231 | |
| 540 | 540 | } |
| 541 | 541 | break; |
| 542 | 542 | case 0x40: /* 8255 (GPIO/0, GPIO/1) */ |
| 543 | | return ppi8255_r(devtag_get_device(space->machine, "ppi8255_1"), offset & 0x03); |
| 543 | return i8255a_r(devtag_get_device(space->machine, "ppi8255_1"), offset & 0x03); |
| 544 | 544 | case 0x50: /* 8253 */ |
| 545 | 545 | return pit8253_r( devtag_get_device(space->machine, "pit8253"), offset & 0x03); |
| 546 | 546 | case 0x70: /* 8255 (IMS-2) */ |
| 547 | | return ppi8255_r(devtag_get_device(space->machine, "ppi8255_2"), offset & 0x03); |
| 547 | return i8255a_r(devtag_get_device(space->machine, "ppi8255_2"), offset & 0x03); |
| 548 | 548 | } |
| 549 | 549 | break; |
| 550 | 550 | case 0x80: /* external interfaces */ |
| r5230 | r5231 | |
| 571 | 571 | switch (offset & 0x80) |
| 572 | 572 | { |
| 573 | 573 | case 0x80: /* Motherboard 8255 */ |
| 574 | | ppi8255_w(devtag_get_device(space-> machine, "ppi8255_0"), offset & 0x03, data); |
| 574 | i8255a_w(devtag_get_device(space-> machine, "ppi8255_0"), offset & 0x03, data); |
| 575 | 575 | /* PMD-85.3 memory banking */ |
| 576 | 576 | if ((offset & 0x03) == 0x03) |
| 577 | 577 | { |
| r5230 | r5231 | |
| 594 | 594 | switch (offset & 0x80) |
| 595 | 595 | { |
| 596 | 596 | case 0x80: /* ROM module 8255 */ |
| 597 | | ppi8255_w(devtag_get_device(space->machine, "ppi8255_3"), offset & 0x03, data); |
| 597 | i8255a_w(devtag_get_device(space->machine, "ppi8255_3"), offset & 0x03, data); |
| 598 | 598 | break; |
| 599 | 599 | } |
| 600 | 600 | } |
| r5230 | r5231 | |
| 615 | 615 | } |
| 616 | 616 | break; |
| 617 | 617 | case 0x40: /* 8255 (GPIO/0, GPIO/0) */ |
| 618 | | ppi8255_w(devtag_get_device(space->machine, "ppi8255_1"), offset & 0x03, data); |
| 618 | i8255a_w(devtag_get_device(space->machine, "ppi8255_1"), offset & 0x03, data); |
| 619 | 619 | break; |
| 620 | 620 | case 0x50: /* 8253 */ |
| 621 | 621 | pit8253_w(devtag_get_device(space->machine, "pit8253"), offset & 0x03, data); |
| 622 | 622 | logerror ("8253 writing. Address: %02x, Data: %02x\n", offset, data); |
| 623 | 623 | break; |
| 624 | 624 | case 0x70: /* 8255 (IMS-2) */ |
| 625 | | ppi8255_w(devtag_get_device(space->machine, "ppi8255_2"), offset & 0x03, data); |
| 625 | i8255a_w(devtag_get_device(space->machine, "ppi8255_2"), offset & 0x03, data); |
| 626 | 626 | break; |
| 627 | 627 | } |
| 628 | 628 | break; |
| r5230 | r5231 | |
| 656 | 656 | switch (offset & 0x80) |
| 657 | 657 | { |
| 658 | 658 | case 0x80: /* Motherboard 8255 */ |
| 659 | | return ppi8255_r(devtag_get_device(space->machine, "ppi8255_0"), offset & 0x03); |
| 659 | return i8255a_r(devtag_get_device(space->machine, "ppi8255_0"), offset & 0x03); |
| 660 | 660 | } |
| 661 | 661 | break; |
| 662 | 662 | } |
| r5230 | r5231 | |
| 679 | 679 | switch (offset & 0x80) |
| 680 | 680 | { |
| 681 | 681 | case 0x80: /* Motherboard 8255 */ |
| 682 | | ppi8255_w(devtag_get_device(space->machine, "ppi8255_0"), offset & 0x03, data); |
| 682 | i8255a_w(devtag_get_device(space->machine, "ppi8255_0"), offset & 0x03, data); |
| 683 | 683 | break; |
| 684 | 684 | } |
| 685 | 685 | break; |
| 686 | 686 | } |
| 687 | 687 | } |
| 688 | 688 | |
| 689 | | const ppi8255_interface pmd85_ppi8255_interface[4] = |
| 689 | const i8255a_interface pmd85_ppi8255_interface[4] = |
| 690 | 690 | { |
| 691 | 691 | { |
| 692 | 692 | DEVCB_HANDLER(pmd85_ppi_0_porta_r), |
| r5230 | r5231 | |
| 722 | 722 | } |
| 723 | 723 | }; |
| 724 | 724 | |
| 725 | | const ppi8255_interface alfa_ppi8255_interface[3] = |
| 725 | const i8255a_interface alfa_ppi8255_interface[3] = |
| 726 | 726 | { |
| 727 | 727 | { |
| 728 | 728 | DEVCB_HANDLER(pmd85_ppi_0_porta_r), |
| r5230 | r5231 | |
| 750 | 750 | } |
| 751 | 751 | }; |
| 752 | 752 | |
| 753 | | const ppi8255_interface mato_ppi8255_interface = |
| 753 | I8255A_INTERFACE( mato_ppi8255_interface ) |
| 754 | 754 | { |
| 755 | 755 | DEVCB_HANDLER(pmd85_ppi_0_porta_r), |
| 756 | 756 | DEVCB_HANDLER(mato_ppi_0_portb_r), |
src/mess/machine/vector06.c
| r5230 | r5231 | |
| 9 | 9 | |
| 10 | 10 | #include "driver.h" |
| 11 | 11 | #include "cpu/i8085/i8085.h" |
| 12 | | #include "machine/8255ppi.h" |
| 12 | #include "machine/i8255a.h" |
| 13 | 13 | #include "machine/wd17xx.h" |
| 14 | 14 | #include "devices/cassette.h" |
| 15 | 15 | #include "devices/basicdsk.h" |
| r5230 | r5231 | |
| 102 | 102 | romdisk_msb = data; |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | | const ppi8255_interface vector06_ppi8255_2_interface = |
| 105 | I8255A_INTERFACE( vector06_ppi8255_2_interface ) |
| 106 | 106 | { |
| 107 | 107 | DEVCB_NULL, |
| 108 | 108 | DEVCB_HANDLER(vector06_romdisk_portb_r), |
| r5230 | r5231 | |
| 113 | 113 | }; |
| 114 | 114 | |
| 115 | 115 | |
| 116 | | const ppi8255_interface vector06_ppi8255_interface = |
| 116 | I8255A_INTERFACE( vector06_ppi8255_interface ) |
| 117 | 117 | { |
| 118 | 118 | DEVCB_NULL, |
| 119 | 119 | DEVCB_HANDLER(vector06_8255_portb_r), |
| r5230 | r5231 | |
| 124 | 124 | }; |
| 125 | 125 | |
| 126 | 126 | READ8_HANDLER(vector_8255_1_r) { |
| 127 | | return ppi8255_r(devtag_get_device(space->machine, "ppi8255"), (offset ^ 0x03)); |
| 127 | return i8255a_r(devtag_get_device(space->machine, "ppi8255"), (offset ^ 0x03)); |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | WRITE8_HANDLER(vector_8255_1_w) { |
| 131 | | ppi8255_w(devtag_get_device(space->machine, "ppi8255"), (offset ^0x03) , data ); |
| 131 | i8255a_w(devtag_get_device(space->machine, "ppi8255"), (offset ^0x03) , data ); |
| 132 | 132 | |
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | READ8_HANDLER(vector_8255_2_r) { |
| 136 | | return ppi8255_r(devtag_get_device(space->machine, "ppi8255_2"), (offset ^ 0x03)); |
| 136 | return i8255a_r(devtag_get_device(space->machine, "ppi8255_2"), (offset ^ 0x03)); |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | WRITE8_HANDLER(vector_8255_2_w) { |
| 140 | | ppi8255_w(devtag_get_device(space->machine, "ppi8255_2"), (offset ^0x03) , data ); |
| 140 | i8255a_w(devtag_get_device(space->machine, "ppi8255_2"), (offset ^0x03) , data ); |
| 141 | 141 | |
| 142 | 142 | } |
| 143 | 143 | |
src/mess/machine/amstrad.c
| r5230 | r5231 | |
| 37 | 37 | |
| 38 | 38 | #include "driver.h" |
| 39 | 39 | #include "cpu/z80/z80.h" |
| 40 | | #include "machine/8255ppi.h" |
| 40 | #include "machine/i8255a.h" |
| 41 | 41 | #include "machine/mc146818.h" |
| 42 | 42 | #include "machine/nec765.h" |
| 43 | 43 | #include "machine/ctronics.h" |
| r5230 | r5231 | |
| 2354 | 2354 | if ((offset & (1<<11)) == 0) |
| 2355 | 2355 | { |
| 2356 | 2356 | if (r1r0 < 0x03 ) |
| 2357 | | data = ppi8255_r(devtag_get_device(space->machine, "ppi8255" ), r1r0); |
| 2357 | data = i8255a_r(devtag_get_device(space->machine, "ppi8255" ), r1r0); |
| 2358 | 2358 | } |
| 2359 | 2359 | |
| 2360 | 2360 | /* if b10 = 0 : Expansion Peripherals Read selected |
| r5230 | r5231 | |
| 2519 | 2519 | { |
| 2520 | 2520 | unsigned int Index = ((offset & 0x0300) >> 8); |
| 2521 | 2521 | |
| 2522 | | ppi8255_w(devtag_get_device(space->machine, "ppi8255" ), Index, data); |
| 2522 | i8255a_w(devtag_get_device(space->machine, "ppi8255" ), Index, data); |
| 2523 | 2523 | } |
| 2524 | 2524 | |
| 2525 | 2525 | /* if b10 = 0 : Expansion Peripherals Write selected */ |
| r5230 | r5231 | |
| 2692 | 2692 | gate_array.upper_bank = pSnapshot[0x055]; |
| 2693 | 2693 | |
| 2694 | 2694 | /* PPI */ |
| 2695 | | ppi8255_w(devtag_get_device(machine, "ppi8255"),3,pSnapshot[0x059] & 0x0ff); |
| 2695 | i8255a_w(devtag_get_device(machine, "ppi8255"),3,pSnapshot[0x059] & 0x0ff); |
| 2696 | 2696 | |
| 2697 | | ppi8255_w(devtag_get_device(machine, "ppi8255"),0,pSnapshot[0x056] & 0x0ff); |
| 2698 | | ppi8255_w(devtag_get_device(machine, "ppi8255"),1,pSnapshot[0x057] & 0x0ff); |
| 2699 | | ppi8255_w(devtag_get_device(machine, "ppi8255"),2,pSnapshot[0x058] & 0x0ff); |
| 2697 | i8255a_w(devtag_get_device(machine, "ppi8255"),0,pSnapshot[0x056] & 0x0ff); |
| 2698 | i8255a_w(devtag_get_device(machine, "ppi8255"),1,pSnapshot[0x057] & 0x0ff); |
| 2699 | i8255a_w(devtag_get_device(machine, "ppi8255"),2,pSnapshot[0x058] & 0x0ff); |
| 2700 | 2700 | |
| 2701 | 2701 | /* PSG */ |
| 2702 | 2702 | for (i=0; i<16; i++) |
src/mess/machine/mz700.c
| r5230 | r5231 | |
| 13 | 13 | #include "includes/mz700.h" |
| 14 | 14 | #include "cpu/z80/z80.h" |
| 15 | 15 | #include "machine/pit8253.h" |
| 16 | | #include "machine/8255ppi.h" |
| 16 | #include "machine/i8255a.h" |
| 17 | 17 | #include "machine/z80pio.h" |
| 18 | 18 | #include "machine/74145.h" |
| 19 | 19 | #include "machine/ctronics.h" |
| r5230 | r5231 | |
| 41 | 41 | static WRITE8_DEVICE_HANDLER ( pio_port_a_w ); |
| 42 | 42 | static WRITE8_DEVICE_HANDLER ( pio_port_c_w ); |
| 43 | 43 | |
| 44 | | const ppi8255_interface mz700_ppi8255_interface = |
| 44 | I8255A_INTERFACE( mz700_ppi8255_interface ) |
| 45 | 45 | { |
| 46 | 46 | DEVCB_NULL, |
| 47 | 47 | DEVCB_DEVICE_HANDLER("ls145", pio_port_b_r), |
| r5230 | r5231 | |
| 278 | 278 | /* switch in memory mapped i/o devices */ |
| 279 | 279 | if (mz->mz700) |
| 280 | 280 | { |
| 281 | | memory_install_readwrite8_device_handler(spc, mz->ppi, 0xe000, 0xfff3, 0, 0x1ff0, ppi8255_r, ppi8255_w); |
| 281 | memory_install_readwrite8_device_handler(spc, mz->ppi, 0xe000, 0xfff3, 0, 0x1ff0, i8255a_r, i8255a_w); |
| 282 | 282 | memory_install_readwrite8_device_handler(spc, mz->pit, 0xe004, 0xfff7, 0, 0x1ff0, pit8253_r, pit8253_w); |
| 283 | 283 | memory_install_read8_handler(spc, 0xe008, 0xfff8, 0, 0x1ff0, mz700_e008_r); |
| 284 | 284 | memory_install_write8_device_handler(spc, mz->pit, 0xe008, 0xfff8, 0, 0x1ff0, pit8253_gate_w); |
| 285 | 285 | } |
| 286 | 286 | else |
| 287 | 287 | { |
| 288 | | memory_install_readwrite8_device_handler(spc, mz->ppi, 0xe000, 0xe003, 0, 0, ppi8255_r, ppi8255_w); |
| 288 | memory_install_readwrite8_device_handler(spc, mz->ppi, 0xe000, 0xe003, 0, 0, i8255a_r, i8255a_w); |
| 289 | 289 | memory_install_readwrite8_device_handler(spc, mz->pit, 0xe004, 0xe007, 0, 0, pit8253_r, pit8253_w); |
| 290 | 290 | memory_install_read8_handler(spc, 0xe008, 0xe008, 0, 0, mz700_e008_r); |
| 291 | 291 | memory_install_write8_device_handler(spc, mz->pit, 0xe008, 0xe008, 0, 0, pit8253_gate_w); |
src/mess/machine/lviv.c
| r5230 | r5231 | |
| 13 | 13 | #include "devices/cassette.h" |
| 14 | 14 | #include "devices/snapquik.h" |
| 15 | 15 | #include "cpu/i8085/i8085.h" |
| 16 | | #include "machine/8255ppi.h" |
| 16 | #include "machine/i8255a.h" |
| 17 | 17 | #include "includes/lviv.h" |
| 18 | 18 | #include "sound/speaker.h" |
| 19 | 19 | |
| r5230 | r5231 | |
| 147 | 147 | switch ((offset >> 4) & 0x3) |
| 148 | 148 | { |
| 149 | 149 | case 0: |
| 150 | | return ppi8255_r(devtag_get_device(space->machine, "ppi8255_0"), offset & 3); |
| 150 | return i8255a_r(devtag_get_device(space->machine, "ppi8255_0"), offset & 3); |
| 151 | 151 | |
| 152 | 152 | case 1: |
| 153 | | return ppi8255_r(devtag_get_device(space->machine, "ppi8255_1"), offset & 3); |
| 153 | return i8255a_r(devtag_get_device(space->machine, "ppi8255_1"), offset & 3); |
| 154 | 154 | |
| 155 | 155 | case 2: |
| 156 | 156 | case 3: |
| r5230 | r5231 | |
| 183 | 183 | switch ((offset >> 4) & 0x3) |
| 184 | 184 | { |
| 185 | 185 | case 0: |
| 186 | | ppi8255_w(devtag_get_device(space->machine, "ppi8255_0"), offset & 3, data); |
| 186 | i8255a_w(devtag_get_device(space->machine, "ppi8255_0"), offset & 3, data); |
| 187 | 187 | break; |
| 188 | 188 | |
| 189 | 189 | case 1: |
| 190 | | ppi8255_w(devtag_get_device(space->machine, "ppi8255_1"), offset & 3, data); |
| 190 | i8255a_w(devtag_get_device(space->machine, "ppi8255_1"), offset & 3, data); |
| 191 | 191 | break; |
| 192 | 192 | |
| 193 | 193 | case 2: |
| r5230 | r5231 | |
| 199 | 199 | } |
| 200 | 200 | |
| 201 | 201 | |
| 202 | | const ppi8255_interface lviv_ppi8255_interface_0 = |
| 202 | I8255A_INTERFACE( lviv_ppi8255_interface_0 ) |
| 203 | 203 | { |
| 204 | 204 | DEVCB_HANDLER(lviv_ppi_0_porta_r), |
| 205 | 205 | DEVCB_HANDLER(lviv_ppi_0_portb_r), |
| r5230 | r5231 | |
| 209 | 209 | DEVCB_HANDLER(lviv_ppi_0_portc_w) |
| 210 | 210 | }; |
| 211 | 211 | |
| 212 | | const ppi8255_interface lviv_ppi8255_interface_1 = |
| 212 | I8255A_INTERFACE( lviv_ppi8255_interface_1 ) |
| 213 | 213 | { |
| 214 | 214 | DEVCB_HANDLER(lviv_ppi_1_porta_r), |
| 215 | 215 | DEVCB_HANDLER(lviv_ppi_1_portb_r), |
src/mess/drivers/radio86.c
| r5230 | r5231 | |
| 10 | 10 | #include "driver.h" |
| 11 | 11 | #include "cpu/i8085/i8085.h" |
| 12 | 12 | #include "sound/wave.h" |
| 13 | | #include "machine/8255ppi.h" |
| 13 | #include "machine/i8255a.h" |
| 14 | 14 | #include "machine/8257dma.h" |
| 15 | 15 | #include "video/i8275.h" |
| 16 | 16 | #include "devices/cassette.h" |
| r5230 | r5231 | |
| 21 | 21 | static ADDRESS_MAP_START(radio86_mem, ADDRESS_SPACE_PROGRAM, 8) |
| 22 | 22 | AM_RANGE( 0x0000, 0x0fff ) AM_RAMBANK(1) // First bank |
| 23 | 23 | AM_RANGE( 0x1000, 0x7fff ) AM_RAM // RAM |
| 24 | | AM_RANGE( 0x8000, 0x8003 ) AM_DEVREADWRITE("ppi8255_1", ppi8255_r, ppi8255_w) AM_MIRROR(0x1ffc) |
| 25 | | //AM_RANGE( 0xa000, 0xa003 ) AM_DEVREADWRITE("ppi8255_2", ppi8255_r, ppi8255_w) AM_MIRROR(0x1ffc) |
| 24 | AM_RANGE( 0x8000, 0x8003 ) AM_DEVREADWRITE("ppi8255_1", i8255a_r, i8255a_w) AM_MIRROR(0x1ffc) |
| 25 | //AM_RANGE( 0xa000, 0xa003 ) AM_DEVREADWRITE("ppi8255_2", i8255a_r, i8255a_w) AM_MIRROR(0x1ffc) |
| 26 | 26 | AM_RANGE( 0xc000, 0xc001 ) AM_DEVREADWRITE("i8275", i8275_r, i8275_w) AM_MIRROR(0x1ffe) // video |
| 27 | 27 | AM_RANGE( 0xe000, 0xffff ) AM_DEVWRITE("dma8257", dma8257_w) // DMA |
| 28 | 28 | AM_RANGE( 0xf000, 0xffff ) AM_ROM // System ROM |
| r5230 | r5231 | |
| 35 | 35 | |
| 36 | 36 | static ADDRESS_MAP_START( rk7007_io , ADDRESS_SPACE_IO, 8) |
| 37 | 37 | ADDRESS_MAP_UNMAP_HIGH |
| 38 | | AM_RANGE( 0x80, 0x83 ) AM_DEVREADWRITE("ms7007", ppi8255_r, ppi8255_w) |
| 38 | AM_RANGE( 0x80, 0x83 ) AM_DEVREADWRITE("ms7007", i8255a_r, i8255a_w) |
| 39 | 39 | ADDRESS_MAP_END |
| 40 | 40 | |
| 41 | 41 | static ADDRESS_MAP_START(radio86rom_mem, ADDRESS_SPACE_PROGRAM, 8) |
| 42 | 42 | AM_RANGE( 0x0000, 0x0fff ) AM_RAMBANK(1) // First bank |
| 43 | 43 | AM_RANGE( 0x1000, 0x7fff ) AM_RAM // RAM |
| 44 | | AM_RANGE( 0x8000, 0x8003 ) AM_DEVREADWRITE("ppi8255_1", ppi8255_r, ppi8255_w) AM_MIRROR(0x1ffc) |
| 45 | | AM_RANGE( 0xa000, 0xa003 ) AM_DEVREADWRITE("ppi8255_2", ppi8255_r, ppi8255_w) AM_MIRROR(0x1ffc) |
| 44 | AM_RANGE( 0x8000, 0x8003 ) AM_DEVREADWRITE("ppi8255_1", i8255a_r, i8255a_w) AM_MIRROR(0x1ffc) |
| 45 | AM_RANGE( 0xa000, 0xa003 ) AM_DEVREADWRITE("ppi8255_2", i8255a_r, i8255a_w) AM_MIRROR(0x1ffc) |
| 46 | 46 | AM_RANGE( 0xc000, 0xc001 ) AM_DEVREADWRITE("i8275", i8275_r, i8275_w) AM_MIRROR(0x1ffe) // video |
| 47 | 47 | AM_RANGE( 0xe000, 0xffff ) AM_DEVWRITE("dma8257", dma8257_w) // DMA |
| 48 | 48 | AM_RANGE( 0xf000, 0xffff ) AM_ROM // System ROM |
| r5230 | r5231 | |
| 53 | 53 | AM_RANGE( 0x1000, 0xdfff ) AM_RAM // RAM |
| 54 | 54 | AM_RANGE( 0xe000, 0xe7ff ) AM_ROM // System ROM page 2 |
| 55 | 55 | AM_RANGE( 0xe800, 0xf5ff ) AM_RAM // RAM |
| 56 | | AM_RANGE( 0xf700, 0xf703 ) AM_DEVREADWRITE("ppi8255_1", ppi8255_r, ppi8255_w) |
| 56 | AM_RANGE( 0xf700, 0xf703 ) AM_DEVREADWRITE("ppi8255_1", i8255a_r, i8255a_w) |
| 57 | 57 | AM_RANGE( 0xf780, 0xf7bf ) AM_DEVREADWRITE("i8275", i8275_r, i8275_w) // video |
| 58 | | AM_RANGE( 0xf684, 0xf687 ) AM_DEVREADWRITE("ppi8255_2", ppi8255_r, ppi8255_w) |
| 58 | AM_RANGE( 0xf684, 0xf687 ) AM_DEVREADWRITE("ppi8255_2", i8255a_r, i8255a_w) |
| 59 | 59 | AM_RANGE( 0xf688, 0xf688 ) AM_WRITE( radio86_pagesel ) |
| 60 | 60 | AM_RANGE( 0xf800, 0xffff ) AM_DEVWRITE("dma8257", dma8257_w) // DMA |
| 61 | 61 | AM_RANGE( 0xf800, 0xffff ) AM_ROM // System ROM page 1 |
| r5230 | r5231 | |
| 66 | 66 | AM_RANGE( 0x0000, 0x0fff ) AM_RAMBANK(1) // First bank |
| 67 | 67 | AM_RANGE( 0x1000, 0x3fff ) AM_RAM // RAM |
| 68 | 68 | AM_RANGE( 0x4000, 0x7fff ) AM_READ(radio_cpu_state_r) |
| 69 | | AM_RANGE( 0x8000, 0x8003 ) AM_DEVREADWRITE("ppi8255_1", ppi8255_r, ppi8255_w) AM_MIRROR(0x1ffc) |
| 70 | | //AM_RANGE( 0xa000, 0xa003 ) AM_DEVREADWRITE("ppi8255_2", ppi8255_r, ppi8255_w) AM_MIRROR(0x1ffc) |
| 69 | AM_RANGE( 0x8000, 0x8003 ) AM_DEVREADWRITE("ppi8255_1", i8255a_r, i8255a_w) AM_MIRROR(0x1ffc) |
| 70 | //AM_RANGE( 0xa000, 0xa003 ) AM_DEVREADWRITE("ppi8255_2", i8255a_r, i8255a_w) AM_MIRROR(0x1ffc) |
| 71 | 71 | AM_RANGE( 0xc000, 0xc001 ) AM_DEVREADWRITE("i8275", i8275_r, i8275_w) AM_MIRROR(0x1ffe) // video |
| 72 | 72 | AM_RANGE( 0xe000, 0xffff ) AM_DEVWRITE("dma8257", dma8257_w) // DMA |
| 73 | 73 | AM_RANGE( 0xf000, 0xffff ) AM_ROM // System ROM |
| r5230 | r5231 | |
| 311 | 311 | MDRV_CPU_IO_MAP(radio86_io) |
| 312 | 312 | MDRV_MACHINE_RESET( radio86 ) |
| 313 | 313 | |
| 314 | | MDRV_PPI8255_ADD( "ppi8255_1", radio86_ppi8255_interface_1 ) |
| 314 | MDRV_I8255A_ADD( "ppi8255_1", radio86_ppi8255_interface_1 ) |
| 315 | 315 | |
| 316 | 316 | MDRV_I8275_ADD ( "i8275", radio86_i8275_interface) |
| 317 | 317 | /* video hardware */ |
| r5230 | r5231 | |
| 350 | 350 | MDRV_CPU_MODIFY("maincpu") |
| 351 | 351 | MDRV_CPU_PROGRAM_MAP(radio86rom_mem) |
| 352 | 352 | |
| 353 | | MDRV_PPI8255_ADD( "ppi8255_2", radio86_ppi8255_interface_2 ) |
| 353 | MDRV_I8255A_ADD( "ppi8255_2", radio86_ppi8255_interface_2 ) |
| 354 | 354 | MACHINE_DRIVER_END |
| 355 | 355 | |
| 356 | 356 | static MACHINE_DRIVER_START( radioram ) |
| r5230 | r5231 | |
| 359 | 359 | MDRV_CPU_MODIFY("maincpu") |
| 360 | 360 | MDRV_CPU_PROGRAM_MAP(radio86ram_mem) |
| 361 | 361 | |
| 362 | | MDRV_PPI8255_ADD( "ppi8255_2", radio86_ppi8255_interface_2 ) |
| 362 | MDRV_I8255A_ADD( "ppi8255_2", radio86_ppi8255_interface_2 ) |
| 363 | 363 | MACHINE_DRIVER_END |
| 364 | 364 | |
| 365 | 365 | static MACHINE_DRIVER_START( rk7007 ) |
| r5230 | r5231 | |
| 368 | 368 | MDRV_CPU_MODIFY("maincpu") |
| 369 | 369 | MDRV_CPU_IO_MAP(rk7007_io) |
| 370 | 370 | |
| 371 | | MDRV_PPI8255_ADD( "ms7007", rk7007_ppi8255_interface ) |
| 371 | MDRV_I8255A_ADD( "ms7007", rk7007_ppi8255_interface ) |
| 372 | 372 | MACHINE_DRIVER_END |
| 373 | 373 | |
| 374 | 374 | static MACHINE_DRIVER_START( rk700716 ) |
| r5230 | r5231 | |
| 377 | 377 | MDRV_CPU_MODIFY("maincpu") |
| 378 | 378 | MDRV_CPU_IO_MAP(rk7007_io) |
| 379 | 379 | |
| 380 | | MDRV_PPI8255_ADD( "ms7007", rk7007_ppi8255_interface ) |
| 380 | MDRV_I8255A_ADD( "ms7007", rk7007_ppi8255_interface ) |
| 381 | 381 | MACHINE_DRIVER_END |
| 382 | 382 | |
| 383 | 383 | |
src/mess/drivers/b2m.c
| r5230 | r5231 | |
| 10 | 10 | #include "driver.h" |
| 11 | 11 | #include "cpu/i8085/i8085.h" |
| 12 | 12 | #include "devices/cassette.h" |
| 13 | | #include "machine/8255ppi.h" |
| 13 | #include "machine/i8255a.h" |
| 14 | 14 | #include "machine/pit8253.h" |
| 15 | 15 | #include "machine/pic8259.h" |
| 16 | 16 | #include "machine/msm8251.h" |
| r5230 | r5231 | |
| 31 | 31 | static ADDRESS_MAP_START( b2m_io, ADDRESS_SPACE_IO, 8 ) |
| 32 | 32 | ADDRESS_MAP_GLOBAL_MASK(0x1f) |
| 33 | 33 | AM_RANGE(0x00, 0x03) AM_DEVREADWRITE("pit8253", pit8253_r,pit8253_w) |
| 34 | | AM_RANGE(0x04, 0x07) AM_DEVREADWRITE("ppi8255_2", ppi8255_r, ppi8255_w) |
| 35 | | AM_RANGE(0x08, 0x0b) AM_DEVREADWRITE("ppi8255_1", ppi8255_r, ppi8255_w) |
| 34 | AM_RANGE(0x04, 0x07) AM_DEVREADWRITE("ppi8255_2", i8255a_r, i8255a_w) |
| 35 | AM_RANGE(0x08, 0x0b) AM_DEVREADWRITE("ppi8255_1", i8255a_r, i8255a_w) |
| 36 | 36 | AM_RANGE(0x0c, 0x0c) AM_READWRITE(b2m_localmachine_r,b2m_localmachine_w) |
| 37 | 37 | AM_RANGE(0x10, 0x13) AM_READWRITE(b2m_palette_r,b2m_palette_w) |
| 38 | 38 | AM_RANGE(0x14, 0x15) AM_DEVREADWRITE("pic8259", pic8259_r, pic8259_w ) |
| r5230 | r5231 | |
| 47 | 47 | static ADDRESS_MAP_START( b2m_rom_io, ADDRESS_SPACE_IO, 8 ) |
| 48 | 48 | ADDRESS_MAP_GLOBAL_MASK(0x1f) |
| 49 | 49 | AM_RANGE(0x00, 0x03) AM_DEVREADWRITE("pit8253", pit8253_r,pit8253_w) |
| 50 | | AM_RANGE(0x04, 0x07) AM_DEVREADWRITE("ppi8255_3", ppi8255_r, ppi8255_w) |
| 51 | | AM_RANGE(0x08, 0x0b) AM_DEVREADWRITE("ppi8255_1", ppi8255_r, ppi8255_w) |
| 50 | AM_RANGE(0x04, 0x07) AM_DEVREADWRITE("ppi8255_3", i8255a_r, i8255a_w) |
| 51 | AM_RANGE(0x08, 0x0b) AM_DEVREADWRITE("ppi8255_1", i8255a_r, i8255a_w) |
| 52 | 52 | AM_RANGE(0x0c, 0x0c) AM_READWRITE(b2m_localmachine_r,b2m_localmachine_w) |
| 53 | 53 | AM_RANGE(0x10, 0x13) AM_READWRITE(b2m_palette_r,b2m_palette_w) |
| 54 | 54 | AM_RANGE(0x14, 0x15) AM_DEVREADWRITE("pic8259", pic8259_r, pic8259_w ) |
| r5230 | r5231 | |
| 197 | 197 | |
| 198 | 198 | MDRV_PIT8253_ADD( "pit8253", b2m_pit8253_intf ) |
| 199 | 199 | |
| 200 | | MDRV_PPI8255_ADD( "ppi8255_1", b2m_ppi8255_interface_1 ) |
| 200 | MDRV_I8255A_ADD( "ppi8255_1", b2m_ppi8255_interface_1 ) |
| 201 | 201 | |
| 202 | | MDRV_PPI8255_ADD( "ppi8255_2", b2m_ppi8255_interface_2 ) |
| 202 | MDRV_I8255A_ADD( "ppi8255_2", b2m_ppi8255_interface_2 ) |
| 203 | 203 | |
| 204 | | MDRV_PPI8255_ADD( "ppi8255_3", b2m_ppi8255_interface_3 ) |
| 204 | MDRV_I8255A_ADD( "ppi8255_3", b2m_ppi8255_interface_3 ) |
| 205 | 205 | |
| 206 | 206 | MDRV_PIC8259_ADD( "pic8259", b2m_pic8259_config ) |
| 207 | 207 | |
src/mess/drivers/pmd85.c
| r5230 | r5231 | |
| 174 | 174 | #include "sound/wave.h" |
| 175 | 175 | #include "devices/cassette.h" |
| 176 | 176 | #include "includes/pmd85.h" |
| 177 | | #include "machine/8255ppi.h" |
| 177 | #include "machine/i8255a.h" |
| 178 | 178 | #include "machine/pit8253.h" |
| 179 | 179 | #include "machine/msm8251.h" |
| 180 | 180 | #include "formats/pmd_pmd.h" |
| r5230 | r5231 | |
| 580 | 580 | static MACHINE_DRIVER_START( pmd851 ) |
| 581 | 581 | MDRV_IMPORT_FROM( pmd85 ) |
| 582 | 582 | |
| 583 | | MDRV_PPI8255_ADD( "ppi8255_0", pmd85_ppi8255_interface[0] ) |
| 583 | MDRV_I8255A_ADD( "ppi8255_0", pmd85_ppi8255_interface[0] ) |
| 584 | 584 | |
| 585 | | MDRV_PPI8255_ADD( "ppi8255_1", pmd85_ppi8255_interface[1] ) |
| 585 | MDRV_I8255A_ADD( "ppi8255_1", pmd85_ppi8255_interface[1] ) |
| 586 | 586 | |
| 587 | | MDRV_PPI8255_ADD( "ppi8255_2", pmd85_ppi8255_interface[2] ) |
| 587 | MDRV_I8255A_ADD( "ppi8255_2", pmd85_ppi8255_interface[2] ) |
| 588 | 588 | |
| 589 | | MDRV_PPI8255_ADD( "ppi8255_3", pmd85_ppi8255_interface[3] ) |
| 589 | MDRV_I8255A_ADD( "ppi8255_3", pmd85_ppi8255_interface[3] ) |
| 590 | 590 | MACHINE_DRIVER_END |
| 591 | 591 | |
| 592 | 592 | static MACHINE_DRIVER_START( pmd852a ) |
| r5230 | r5231 | |
| 606 | 606 | MDRV_CPU_MODIFY("maincpu") |
| 607 | 607 | MDRV_CPU_PROGRAM_MAP(alfa_mem) |
| 608 | 608 | |
| 609 | | MDRV_PPI8255_ADD( "ppi8255_0", alfa_ppi8255_interface[0] ) |
| 609 | MDRV_I8255A_ADD( "ppi8255_0", alfa_ppi8255_interface[0] ) |
| 610 | 610 | |
| 611 | | MDRV_PPI8255_ADD( "ppi8255_1", alfa_ppi8255_interface[1] ) |
| 611 | MDRV_I8255A_ADD( "ppi8255_1", alfa_ppi8255_interface[1] ) |
| 612 | 612 | |
| 613 | | MDRV_PPI8255_ADD( "ppi8255_2", alfa_ppi8255_interface[1] ) |
| 613 | MDRV_I8255A_ADD( "ppi8255_2", alfa_ppi8255_interface[1] ) |
| 614 | 614 | |
| 615 | 615 | MACHINE_DRIVER_END |
| 616 | 616 | |
| r5230 | r5231 | |
| 620 | 620 | MDRV_CPU_PROGRAM_MAP(mato_mem) |
| 621 | 621 | MDRV_CPU_IO_MAP(mato_io_map) |
| 622 | 622 | |
| 623 | | MDRV_PPI8255_ADD( "ppi8255_0", mato_ppi8255_interface ) |
| 623 | MDRV_I8255A_ADD( "ppi8255_0", mato_ppi8255_interface ) |
| 624 | 624 | |
| 625 | 625 | /* no uart */ |
| 626 | 626 | MDRV_DEVICE_REMOVE( "uart" ) |
src/mess/drivers/mikrosha.c
| r5230 | r5231 | |
| 10 | 10 | #include "driver.h" |
| 11 | 11 | #include "cpu/i8085/i8085.h" |
| 12 | 12 | #include "sound/wave.h" |
| 13 | | #include "machine/8255ppi.h" |
| 13 | #include "machine/i8255a.h" |
| 14 | 14 | #include "machine/8257dma.h" |
| 15 | 15 | #include "machine/pit8253.h" |
| 16 | 16 | #include "video/i8275.h" |
| r5230 | r5231 | |
| 23 | 23 | AM_RANGE( 0x0000, 0x0fff ) AM_RAMBANK(1) // First bank |
| 24 | 24 | AM_RANGE( 0x1000, 0x7fff ) AM_RAM // RAM |
| 25 | 25 | AM_RANGE( 0x8000, 0xbfff ) AM_READ(radio_cpu_state_r) // Not connected |
| 26 | | AM_RANGE( 0xc000, 0xc003 ) AM_DEVREADWRITE("ppi8255_1", ppi8255_r, ppi8255_w) AM_MIRROR(0x07fc) |
| 27 | | AM_RANGE( 0xc800, 0xc803 ) AM_DEVREADWRITE("ppi8255_2", ppi8255_r, ppi8255_w) AM_MIRROR(0x07fc) |
| 26 | AM_RANGE( 0xc000, 0xc003 ) AM_DEVREADWRITE("ppi8255_1", i8255a_r, i8255a_w) AM_MIRROR(0x07fc) |
| 27 | AM_RANGE( 0xc800, 0xc803 ) AM_DEVREADWRITE("ppi8255_2", i8255a_r, i8255a_w) AM_MIRROR(0x07fc) |
| 28 | 28 | AM_RANGE( 0xd000, 0xd001 ) AM_DEVREADWRITE("i8275", i8275_r, i8275_w) AM_MIRROR(0x07fe) // video |
| 29 | 29 | AM_RANGE( 0xd800, 0xd803 ) AM_DEVREADWRITE("pit8253", pit8253_r,pit8253_w) AM_MIRROR(0x07fc) // Timer |
| 30 | 30 | AM_RANGE( 0xe000, 0xf7ff ) AM_READ(radio_cpu_state_r) // Not connected |
| r5230 | r5231 | |
| 170 | 170 | |
| 171 | 171 | MDRV_MACHINE_RESET( radio86 ) |
| 172 | 172 | |
| 173 | | MDRV_PPI8255_ADD( "ppi8255_1", mikrosha_ppi8255_interface_1 ) |
| 173 | MDRV_I8255A_ADD( "ppi8255_1", mikrosha_ppi8255_interface_1 ) |
| 174 | 174 | |
| 175 | | MDRV_PPI8255_ADD( "ppi8255_2", mikrosha_ppi8255_interface_2 ) |
| 175 | MDRV_I8255A_ADD( "ppi8255_2", mikrosha_ppi8255_interface_2 ) |
| 176 | 176 | |
| 177 | 177 | MDRV_I8275_ADD ( "i8275", mikrosha_i8275_interface) |
| 178 | 178 | |
src/mess/drivers/fk1.c
| r5230 | r5231 | |
| 8 | 8 | |
| 9 | 9 | #include "driver.h" |
| 10 | 10 | #include "cpu/z80/z80.h" |
| 11 | | #include "machine/8255ppi.h" |
| 11 | #include "machine/i8255a.h" |
| 12 | 12 | #include "machine/pit8253.h" |
| 13 | 13 | #include "machine/msm8251.h" |
| 14 | 14 | |
| r5230 | r5231 | |
| 61 | 61 | // logerror("fk1_ppi_1_c_r\n"); |
| 62 | 62 | return 0; |
| 63 | 63 | } |
| 64 | | const ppi8255_interface fk1_ppi8255_interface_1 = |
| 64 | I8255A_INTERFACE( fk1_ppi8255_interface_1 ) |
| 65 | 65 | { |
| 66 | 66 | DEVCB_HANDLER(fk1_ppi_1_a_r), |
| 67 | 67 | DEVCB_HANDLER(fk1_ppi_1_b_r), |
| r5230 | r5231 | |
| 111 | 111 | // logerror("fk1_ppi_2_c_r\n"); |
| 112 | 112 | return 0; |
| 113 | 113 | } |
| 114 | | const ppi8255_interface fk1_ppi8255_interface_2 = |
| 114 | I8255A_INTERFACE( fk1_ppi8255_interface_2 ) |
| 115 | 115 | { |
| 116 | 116 | DEVCB_NULL, |
| 117 | 117 | DEVCB_HANDLER(fk1_ppi_2_b_r), |
| r5230 | r5231 | |
| 174 | 174 | // logerror("fk1_ppi_3_c_r\n"); |
| 175 | 175 | return 0; |
| 176 | 176 | } |
| 177 | | const ppi8255_interface fk1_ppi8255_interface_3 = |
| 177 | I8255A_INTERFACE( fk1_ppi8255_interface_3 ) |
| 178 | 178 | { |
| 179 | 179 | DEVCB_HANDLER(fk1_ppi_3_a_r), |
| 180 | 180 | DEVCB_HANDLER(fk1_ppi_3_b_r), |
| r5230 | r5231 | |
| 296 | 296 | static ADDRESS_MAP_START( fk1_io , ADDRESS_SPACE_IO, 8) |
| 297 | 297 | ADDRESS_MAP_GLOBAL_MASK(0xff) |
| 298 | 298 | ADDRESS_MAP_UNMAP_HIGH |
| 299 | | AM_RANGE( 0x00, 0x03 ) AM_DEVREADWRITE("ppi8255_1", ppi8255_r, ppi8255_w) |
| 299 | AM_RANGE( 0x00, 0x03 ) AM_DEVREADWRITE("ppi8255_1", i8255a_r, i8255a_w) |
| 300 | 300 | AM_RANGE( 0x10, 0x13 ) AM_DEVREADWRITE("pit8253", pit8253_r,pit8253_w) |
| 301 | | AM_RANGE( 0x20, 0x23 ) AM_DEVREADWRITE("ppi8255_2", ppi8255_r, ppi8255_w) |
| 301 | AM_RANGE( 0x20, 0x23 ) AM_DEVREADWRITE("ppi8255_2", i8255a_r, i8255a_w) |
| 302 | 302 | AM_RANGE( 0x30, 0x30 ) AM_READWRITE(fk1_bank_ram_r,fk1_intr_w) |
| 303 | 303 | AM_RANGE( 0x40, 0x40 ) AM_DEVREADWRITE("uart", msm8251_data_r,msm8251_data_w) |
| 304 | 304 | AM_RANGE( 0x41, 0x41 ) AM_DEVREADWRITE("uart", msm8251_status_r,msm8251_control_w) |
| 305 | 305 | AM_RANGE( 0x50, 0x50 ) AM_READWRITE(fk1_bank_rom_r,fk1_disk_w) |
| 306 | | AM_RANGE( 0x60, 0x63 ) AM_DEVREADWRITE("ppi8255_3", ppi8255_r, ppi8255_w) |
| 306 | AM_RANGE( 0x60, 0x63 ) AM_DEVREADWRITE("ppi8255_3", i8255a_r, i8255a_w) |
| 307 | 307 | AM_RANGE( 0x70, 0x70 ) AM_READWRITE(fk1_mouse_r,fk1_reset_int_w) |
| 308 | 308 | ADDRESS_MAP_END |
| 309 | 309 | |
| r5230 | r5231 | |
| 413 | 413 | MDRV_VIDEO_UPDATE(fk1) |
| 414 | 414 | |
| 415 | 415 | MDRV_PIT8253_ADD( "pit8253", fk1_pit8253_intf ) |
| 416 | | MDRV_PPI8255_ADD( "ppi8255_1", fk1_ppi8255_interface_1 ) |
| 417 | | MDRV_PPI8255_ADD( "ppi8255_2", fk1_ppi8255_interface_2 ) |
| 418 | | MDRV_PPI8255_ADD( "ppi8255_3", fk1_ppi8255_interface_3 ) |
| 416 | MDRV_I8255A_ADD( "ppi8255_1", fk1_ppi8255_interface_1 ) |
| 417 | MDRV_I8255A_ADD( "ppi8255_2", fk1_ppi8255_interface_2 ) |
| 418 | MDRV_I8255A_ADD( "ppi8255_3", fk1_ppi8255_interface_3 ) |
| 419 | 419 | /* uart */ |
| 420 | 420 | MDRV_MSM8251_ADD("uart", default_msm8251_interface) |
| 421 | 421 | MACHINE_DRIVER_END |
src/mess/drivers/amstrad.c
| r5230 | r5231 | |
| 88 | 88 | #include "includes/amstrad.h" |
| 89 | 89 | |
| 90 | 90 | /* Components */ |
| 91 | | #include "machine/8255ppi.h" /* for 8255 ppi */ |
| 91 | #include "machine/i8255a.h" /* for 8255 ppi */ |
| 92 | 92 | #include "cpu/z80/z80.h" /* for cycle tables */ |
| 93 | 93 | #include "video/mc6845.h" /* CRTC */ |
| 94 | 94 | #include "machine/nec765.h" /* for floppy disc controller */ |
| r5230 | r5231 | |
| 120 | 120 | /* ----------------------------- |
| 121 | 121 | - amstrad_ppi8255_interface - |
| 122 | 122 | -----------------------------*/ |
| 123 | | static const ppi8255_interface amstrad_ppi8255_interface = |
| 123 | static I8255A_INTERFACE( amstrad_ppi8255_interface ) |
| 124 | 124 | { |
| 125 | 125 | DEVCB_HANDLER(amstrad_ppi_porta_r), /* port A read */ |
| 126 | 126 | DEVCB_HANDLER(amstrad_ppi_portb_r), /* port B read */ |
| r5230 | r5231 | |
| 851 | 851 | |
| 852 | 852 | MDRV_MACHINE_RESET( amstrad ) |
| 853 | 853 | |
| 854 | | MDRV_PPI8255_ADD( "ppi8255", amstrad_ppi8255_interface ) |
| 854 | MDRV_I8255A_ADD( "ppi8255", amstrad_ppi8255_interface ) |
| 855 | 855 | |
| 856 | 856 | /* video hardware */ |
| 857 | 857 | MDRV_SCREEN_ADD("screen", RASTER) |
| r5230 | r5231 | |
| 907 | 907 | MDRV_MACHINE_START( plus ) |
| 908 | 908 | MDRV_MACHINE_RESET( plus ) |
| 909 | 909 | |
| 910 | | MDRV_PPI8255_ADD( "ppi8255", amstrad_ppi8255_interface ) |
| 910 | MDRV_I8255A_ADD( "ppi8255", amstrad_ppi8255_interface ) |
| 911 | 911 | |
| 912 | 912 | /* video hardware */ |
| 913 | 913 | MDRV_SCREEN_ADD("screen", RASTER) |
| r5230 | r5231 | |
| 957 | 957 | MDRV_MACHINE_START( plus ) |
| 958 | 958 | MDRV_MACHINE_RESET( gx4000 ) |
| 959 | 959 | |
| 960 | | MDRV_PPI8255_ADD( "ppi8255", amstrad_ppi8255_interface ) |
| 960 | MDRV_I8255A_ADD( "ppi8255", amstrad_ppi8255_interface ) |
| 961 | 961 | |
| 962 | 962 | /* video hardware */ |
| 963 | 963 | MDRV_SCREEN_ADD("screen", RASTER) |
src/mess/drivers/compis.c
| r5230 | r5231 | |
| 33 | 33 | |
| 34 | 34 | #include "driver.h" |
| 35 | 35 | #include "cpu/i86/i86.h" |
| 36 | | #include "machine/8255ppi.h" |
| 36 | #include "machine/i8255a.h" |
| 37 | 37 | #include "machine/ctronics.h" |
| 38 | 38 | #include "includes/compis.h" |
| 39 | 39 | #include "video/i82720.h" |
| r5230 | r5231 | |
| 58 | 58 | |
| 59 | 59 | if (offset == 3) return 0; |
| 60 | 60 | else |
| 61 | | return ppi8255_r(device, offset); |
| 61 | return i8255a_r(device, offset); |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | static ADDRESS_MAP_START( compis_mem , ADDRESS_SPACE_PROGRAM, 16 ) |
| r5230 | r5231 | |
| 72 | 72 | ADDRESS_MAP_END |
| 73 | 73 | |
| 74 | 74 | static ADDRESS_MAP_START( compis_io, ADDRESS_SPACE_IO, 16 ) |
| 75 | | AM_RANGE( 0x0000, 0x0007) AM_DEVREADWRITE8("ppi8255", compis_ppi_r, ppi8255_w, 0xffff) |
| 75 | AM_RANGE( 0x0000, 0x0007) AM_DEVREADWRITE8("ppi8255", compis_ppi_r, i8255a_w, 0xffff) |
| 76 | 76 | AM_RANGE( 0x0080, 0x0087) AM_DEVREADWRITE8("pit8253", pit8253_r, pit8253_w, 0xffff) |
| 77 | 77 | AM_RANGE( 0x0100, 0x011b) AM_DEVREADWRITE8("mm58274c", mm58274c_r, mm58274c_w, 0xffff) |
| 78 | 78 | AM_RANGE( 0x0280, 0x0283) AM_DEVREADWRITE8("pic8259_master", pic8259_r, pic8259_w, 0xffff) /* 80150/80130 */ |
| r5230 | r5231 | |
| 268 | 268 | |
| 269 | 269 | MDRV_PIC8259_ADD( "pic8259_slave", compis_pic8259_slave_config ) |
| 270 | 270 | |
| 271 | | MDRV_PPI8255_ADD( "ppi8255", compis_ppi_interface ) |
| 271 | MDRV_I8255A_ADD( "ppi8255", compis_ppi_interface ) |
| 272 | 272 | |
| 273 | 273 | /* video hardware */ |
| 274 | 274 | MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK) |
src/mess/drivers/pk8000.c
| r5230 | r5231 | |
| 8 | 8 | |
| 9 | 9 | #include "driver.h" |
| 10 | 10 | #include "cpu/i8085/i8085.h" |
| 11 | | #include "machine/8255ppi.h" |
| 11 | #include "machine/i8255a.h" |
| 12 | 12 | |
| 13 | 13 | static void pk8000_set_bank(running_machine *machine,UINT8 data) |
| 14 | 14 | { |
| r5230 | r5231 | |
| 73 | 73 | pk8000_set_bank(device->machine,data); |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | | static const ppi8255_interface pk8000_ppi8255_interface_1 = |
| 76 | static I8255A_INTERFACE( pk8000_ppi8255_interface_1 ) |
| 77 | 77 | { |
| 78 | 78 | DEVCB_NULL, |
| 79 | 79 | DEVCB_NULL, |
| r5230 | r5231 | |
| 93 | 93 | |
| 94 | 94 | static ADDRESS_MAP_START( pk8000_io , ADDRESS_SPACE_IO, 8) |
| 95 | 95 | ADDRESS_MAP_UNMAP_HIGH |
| 96 | | AM_RANGE(0x80, 0x83) AM_DEVREADWRITE("ppi8255_1", ppi8255_r, ppi8255_w) |
| 97 | | //AM_RANGE(0x84, 0x87) AM_DEVREADWRITE("ppi8255_2", ppi8255_r, ppi8255_w) |
| 98 | | //AM_RANGE(0x88, 0x8b) AM_DEVREADWRITE("ppi8255_3", ppi8255_r, ppi8255_w) |
| 99 | | //AM_RANGE(0x8c, 0x8f) AM_DEVREADWRITE("ppi8255_4", ppi8255_r, ppi8255_w) |
| 96 | AM_RANGE(0x80, 0x83) AM_DEVREADWRITE("ppi8255_1", i8255a_r, i8255a_w) |
| 97 | //AM_RANGE(0x84, 0x87) AM_DEVREADWRITE("ppi8255_2", i8255a_r, i8255a_w) |
| 98 | //AM_RANGE(0x88, 0x8b) AM_DEVREADWRITE("ppi8255_3", i8255a_r, i8255a_w) |
| 99 | //AM_RANGE(0x8c, 0x8f) AM_DEVREADWRITE("ppi8255_4", i8255a_r, i8255a_w) |
| 100 | 100 | ADDRESS_MAP_END |
| 101 | 101 | |
| 102 | 102 | /* Input ports */ |
| r5230 | r5231 | |
| 139 | 139 | MDRV_VIDEO_START(pk8000) |
| 140 | 140 | MDRV_VIDEO_UPDATE(pk8000) |
| 141 | 141 | |
| 142 | | MDRV_PPI8255_ADD( "ppi8255_1", pk8000_ppi8255_interface_1 ) |
| 142 | MDRV_I8255A_ADD( "ppi8255_1", pk8000_ppi8255_interface_1 ) |
| 143 | 143 | MACHINE_DRIVER_END |
| 144 | 144 | |
| 145 | 145 | static SYSTEM_CONFIG_START(pk8000) |
src/mess/drivers/msx.c
| r5230 | r5231 | |
| 278 | 278 | #include "driver.h" |
| 279 | 279 | #include "cpu/z80/z80.h" |
| 280 | 280 | #include "deprecat.h" |
| 281 | | #include "machine/8255ppi.h" |
| 281 | #include "machine/i8255a.h" |
| 282 | 282 | #include "machine/tc8521.h" |
| 283 | 283 | #include "machine/wd17xx.h" |
| 284 | 284 | #include "video/tms9928a.h" |
| r5230 | r5231 | |
| 329 | 329 | AM_RANGE( 0x90, 0x90) AM_DEVREADWRITE("centronics", msx_printer_status_r, msx_printer_strobe_w) |
| 330 | 330 | AM_RANGE( 0x91, 0x91) AM_DEVWRITE("centronics", msx_printer_data_w) |
| 331 | 331 | AM_RANGE( 0xa0, 0xa7) AM_DEVREADWRITE("ay8910", ay8910_r, msx_ay8910_w ) |
| 332 | | AM_RANGE( 0xa8, 0xab) AM_DEVREADWRITE("ppi8255", ppi8255_r, ppi8255_w ) |
| 332 | AM_RANGE( 0xa8, 0xab) AM_DEVREADWRITE("ppi8255", i8255a_r, i8255a_w ) |
| 333 | 333 | AM_RANGE( 0x98, 0x98) AM_READWRITE( TMS9928A_vram_r, TMS9928A_vram_w ) |
| 334 | 334 | AM_RANGE( 0x99, 0x99) AM_READWRITE( TMS9928A_register_r, TMS9928A_register_w ) |
| 335 | 335 | AM_RANGE( 0xd8, 0xd9) AM_READWRITE( msx_kanji_r, msx_kanji_w ) |
| r5230 | r5231 | |
| 344 | 344 | AM_RANGE( 0x90, 0x90) AM_DEVREADWRITE("centronics", msx_printer_status_r, msx_printer_strobe_w) |
| 345 | 345 | AM_RANGE( 0x91, 0x91) AM_DEVWRITE("centronics", msx_printer_data_w) |
| 346 | 346 | AM_RANGE( 0xa0, 0xa7) AM_DEVREADWRITE("ay8910", ay8910_r, msx_ay8910_w ) |
| 347 | | AM_RANGE( 0xa8, 0xab) AM_DEVREADWRITE("ppi8255", ppi8255_r, ppi8255_w ) |
| 347 | AM_RANGE( 0xa8, 0xab) AM_DEVREADWRITE("ppi8255", i8255a_r, i8255a_w ) |
| 348 | 348 | AM_RANGE( 0x98, 0x98) AM_READWRITE( v9938_0_vram_r, v9938_0_vram_w ) |
| 349 | 349 | AM_RANGE( 0x99, 0x99) AM_READWRITE( v9938_0_status_r, v9938_0_command_w ) |
| 350 | 350 | AM_RANGE( 0x9a, 0x9a) AM_WRITE( v9938_0_palette_w ) |
| r5230 | r5231 | |
| 1039 | 1039 | MDRV_MACHINE_START( msx ) |
| 1040 | 1040 | MDRV_MACHINE_RESET( msx ) |
| 1041 | 1041 | |
| 1042 | | MDRV_PPI8255_ADD( "ppi8255", msx_ppi8255_interface ) |
| 1042 | MDRV_I8255A_ADD( "ppi8255", msx_ppi8255_interface ) |
| 1043 | 1043 | |
| 1044 | 1044 | /* video hardware */ |
| 1045 | 1045 | MDRV_IMPORT_FROM(tms9928a) |
| r5230 | r5231 | |
| 1098 | 1098 | MDRV_MACHINE_START( msx2 ) |
| 1099 | 1099 | MDRV_MACHINE_RESET( msx2 ) |
| 1100 | 1100 | |
| 1101 | | MDRV_PPI8255_ADD( "ppi8255", msx_ppi8255_interface ) |
| 1101 | MDRV_I8255A_ADD( "ppi8255", msx_ppi8255_interface ) |
| 1102 | 1102 | |
| 1103 | 1103 | /* video hardware */ |
| 1104 | 1104 | MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK) |
src/mess/drivers/atom.c
| r5230 | r5231 | |
| 64 | 64 | /* Components */ |
| 65 | 65 | #include "machine/ctronics.h" |
| 66 | 66 | #include "machine/i8271.h" |
| 67 | | #include "machine/8255ppi.h" |
| 67 | #include "machine/i8255a.h" |
| 68 | 68 | #include "machine/6522via.h" |
| 69 | 69 | #include "video/m6847.h" |
| 70 | 70 | |
| r5230 | r5231 | |
| 91 | 91 | AM_RANGE(0x0a05, 0x7fff) AM_RAM |
| 92 | 92 | AM_RANGE(0x8000, 0x97ff) AM_RAM AM_BASE(&videoram) /* VDG 6847 */ |
| 93 | 93 | AM_RANGE(0x9800, 0x9fff) AM_RAM |
| 94 | | AM_RANGE(0xb000, 0xb003) AM_DEVREADWRITE("ppi8255", ppi8255_r, ppi8255_w) |
| 94 | AM_RANGE(0xb000, 0xb003) AM_DEVREADWRITE("ppi8255", i8255a_r, i8255a_w) |
| 95 | 95 | AM_RANGE(0xb800, 0xbbff) AM_DEVREADWRITE("via6522_0", via_r, via_w) |
| 96 | 96 | AM_RANGE(0xc000, 0xcfff) AM_ROM |
| 97 | 97 | AM_RANGE(0xd000, 0xdfff) AM_ROM |
| r5230 | r5231 | |
| 108 | 108 | AM_RANGE(0x8000, 0x97ff) AM_RAM AM_BASE(&videoram) AM_SIZE(&videoram_size) /* VDG 6847 */ |
| 109 | 109 | AM_RANGE(0x9800, 0x9fff) AM_RAM |
| 110 | 110 | AM_RANGE(0xa000, 0xafff) AM_READ(SMH_BANK(1)) /* eprom data from eprom box */ |
| 111 | | AM_RANGE(0xb000, 0xb003) AM_DEVREADWRITE("ppi8255", ppi8255_r, ppi8255_w) |
| 111 | AM_RANGE(0xb000, 0xb003) AM_DEVREADWRITE("ppi8255", i8255a_r, i8255a_w) |
| 112 | 112 | AM_RANGE(0xb800, 0xbbff) AM_DEVREADWRITE("via6522_0", via_r, via_w) |
| 113 | 113 | AM_RANGE(0xbfff, 0xbfff) AM_READWRITE(atom_eprom_box_r, atom_eprom_box_w) |
| 114 | 114 | AM_RANGE(0xc000, 0xcfff) AM_ROM |
| r5230 | r5231 | |
| 265 | 265 | |
| 266 | 266 | MDRV_MACHINE_RESET( atom ) |
| 267 | 267 | |
| 268 | | MDRV_PPI8255_ADD( "ppi8255", atom_8255_int ) |
| 268 | MDRV_I8255A_ADD( "ppi8255", atom_8255_int ) |
| 269 | 269 | |
| 270 | 270 | /* video hardware */ |
| 271 | 271 | MDRV_SCREEN_ADD("screen", RASTER) |
src/mess/drivers/apogee.c
| r5230 | r5231 | |
| 10 | 10 | #include "driver.h" |
| 11 | 11 | #include "cpu/i8085/i8085.h" |
| 12 | 12 | #include "sound/wave.h" |
| 13 | | #include "machine/8255ppi.h" |
| 13 | #include "machine/i8255a.h" |
| 14 | 14 | #include "machine/8257dma.h" |
| 15 | 15 | #include "video/i8275.h" |
| 16 | 16 | #include "devices/cassette.h" |
| r5230 | r5231 | |
| 22 | 22 | AM_RANGE( 0x0000, 0x0fff ) AM_RAMBANK(1) // First bank |
| 23 | 23 | AM_RANGE( 0x1000, 0xebff ) AM_RAM // RAM |
| 24 | 24 | //AM_RANGE( 0xec00, 0xecff ) AM_RAM // Timer |
| 25 | | AM_RANGE( 0xed00, 0xed03 ) AM_DEVREADWRITE("ppi8255_1", ppi8255_r, ppi8255_w) AM_MIRROR(0x00fc) |
| 26 | | //AM_RANGE( 0xee00, 0xee03 ) AM_DEVREADWRITE("ppi8255_2", ppi8255_r, ppi8255_w) AM_MIRROR(0x00fc) |
| 25 | AM_RANGE( 0xed00, 0xed03 ) AM_DEVREADWRITE("ppi8255_1", i8255a_r, i8255a_w) AM_MIRROR(0x00fc) |
| 26 | //AM_RANGE( 0xee00, 0xee03 ) AM_DEVREADWRITE("ppi8255_2", i8255a_r, i8255a_w) AM_MIRROR(0x00fc) |
| 27 | 27 | AM_RANGE( 0xef00, 0xef01 ) AM_DEVREADWRITE("i8275", i8275_r, i8275_w) AM_MIRROR(0x00fe) // video |
| 28 | 28 | AM_RANGE( 0xf000, 0xf0ff ) AM_DEVWRITE("dma8257", dma8257_w) // DMA |
| 29 | 29 | AM_RANGE( 0xf000, 0xffff ) AM_ROM // System ROM |
| r5230 | r5231 | |
| 137 | 137 | MDRV_CPU_PROGRAM_MAP(apogee_mem) |
| 138 | 138 | MDRV_MACHINE_RESET( radio86 ) |
| 139 | 139 | |
| 140 | | MDRV_PPI8255_ADD( "ppi8255_1", radio86_ppi8255_interface_1 ) |
| 140 | MDRV_I8255A_ADD( "ppi8255_1", radio86_ppi8255_interface_1 ) |
| 141 | 141 | |
| 142 | | //MDRV_PPI8255_ADD( "ppi8255_2", apogee_ppi8255_interface_2 ) |
| 142 | //MDRV_I8255A_ADD( "ppi8255_2", apogee_ppi8255_interface_2 ) |
| 143 | 143 | |
| 144 | 144 | MDRV_I8275_ADD ( "i8275", apogee_i8275_interface) |
| 145 | 145 | /* video hardware */ |
src/mess/drivers/pc.c
| r5230 | r5231 | |
| 113 | 113 | #include "sound/saa1099.h" |
| 114 | 114 | #include "deprecat.h" |
| 115 | 115 | |
| 116 | | #include "machine/8255ppi.h" |
| 116 | #include "machine/i8255a.h" |
| 117 | 117 | #include "machine/ins8250.h" |
| 118 | 118 | #include "machine/mc146818.h" |
| 119 | 119 | #include "machine/pic8259.h" |
| r5230 | r5231 | |
| 213 | 213 | AM_RANGE(0x0000, 0x000f) AM_DEVREADWRITE("dma8237", dma8237_r, dma8237_w) |
| 214 | 214 | AM_RANGE(0x0020, 0x0021) AM_DEVREADWRITE("pic8259_master", pic8259_r, pic8259_w) |
| 215 | 215 | AM_RANGE(0x0040, 0x0043) AM_DEVREADWRITE("pit8253", pit8253_r, pit8253_w) |
| 216 | | AM_RANGE(0x0060, 0x0063) AM_DEVREADWRITE("ppi8255", ppi8255_r, ppi8255_w) |
| 216 | AM_RANGE(0x0060, 0x0063) AM_DEVREADWRITE("ppi8255", i8255a_r, i8255a_w) |
| 217 | 217 | AM_RANGE(0x0080, 0x0087) AM_READWRITE(pc_page_r, pc_page_w) |
| 218 | 218 | AM_RANGE(0x00a0, 0x00a0) AM_WRITE( pc_nmi_enable_w ) |
| 219 | 219 | AM_RANGE(0x0200, 0x0207) AM_READWRITE(pc_JOY_r, pc_JOY_w) |
| r5230 | r5231 | |
| 270 | 270 | AM_RANGE(0x0000, 0x000f) AM_DEVREADWRITE8("dma8237", dma8237_r, dma8237_w, 0xffff) |
| 271 | 271 | AM_RANGE(0x0020, 0x0021) AM_DEVREADWRITE8("pic8259_master", pic8259_r, pic8259_w, 0xffff) |
| 272 | 272 | AM_RANGE(0x0040, 0x0043) AM_DEVREADWRITE8("pit8253", pit8253_r, pit8253_w, 0xffff) |
| 273 | | AM_RANGE(0x0060, 0x0063) AM_DEVREADWRITE8("ppi8255", ppi8255_r, ppi8255_w, 0xffff) |
| 273 | AM_RANGE(0x0060, 0x0063) AM_DEVREADWRITE8("ppi8255", i8255a_r, i8255a_w, 0xffff) |
| 274 | 274 | AM_RANGE(0x0080, 0x0087) AM_READWRITE8(pc_page_r, pc_page_w, 0xffff) |
| 275 | 275 | AM_RANGE(0x00a0, 0x00a1) AM_WRITE8( pc_nmi_enable_w, 0x00ff ) |
| 276 | 276 | AM_RANGE(0x0200, 0x0207) AM_READWRITE(pc16le_JOY_r, pc16le_JOY_w) |
| r5230 | r5231 | |
| 386 | 386 | AM_RANGE(0x0000, 0x000f) AM_DEVREADWRITE("dma8237", dma8237_r, dma8237_w) |
| 387 | 387 | AM_RANGE(0x0020, 0x0021) AM_DEVREADWRITE("pic8259_master", pic8259_r, pic8259_w) |
| 388 | 388 | AM_RANGE(0x0040, 0x0043) AM_DEVREADWRITE("pit8253", pit8253_r, pit8253_w) |
| 389 | | AM_RANGE(0x0060, 0x0063) AM_DEVREADWRITE("ppi8255", ppi8255_r, ppi8255_w) |
| 389 | AM_RANGE(0x0060, 0x0063) AM_DEVREADWRITE("ppi8255", i8255a_r, i8255a_w) |
| 390 | 390 | AM_RANGE(0x0080, 0x0087) AM_READWRITE(pc_page_r, pc_page_w) |
| 391 | 391 | AM_RANGE(0x00a0, 0x00a0) AM_READWRITE( pcjr_nmi_enable_r, pc_nmi_enable_w ) |
| 392 | 392 | AM_RANGE(0x00c0, 0x00c0) AM_DEVWRITE("sn76496", sn76496_w) |
| r5230 | r5231 | |
| 1363 | 1363 | |
| 1364 | 1364 | MDRV_PIC8259_ADD( "pic8259_slave", ibm5150_pic8259_slave_config ) |
| 1365 | 1365 | |
| 1366 | | MDRV_PPI8255_ADD( "ppi8255", ibm5160_ppi8255_interface ) |
| 1366 | MDRV_I8255A_ADD( "ppi8255", ibm5160_ppi8255_interface ) |
| 1367 | 1367 | |
| 1368 | 1368 | MDRV_INS8250_ADD( "ins8250_0", ibm5150_com_interface[0] ) /* TODO: Verify model */ |
| 1369 | 1369 | MDRV_INS8250_ADD( "ins8250_1", ibm5150_com_interface[1] ) /* TODO: Verify model */ |
| r5230 | r5231 | |
| 1422 | 1422 | |
| 1423 | 1423 | MDRV_PIC8259_ADD( "pic8259_slave", ibm5150_pic8259_slave_config ) |
| 1424 | 1424 | |
| 1425 | | MDRV_PPI8255_ADD( "ppi8255", ibm5160_ppi8255_interface ) |
| 1425 | MDRV_I8255A_ADD( "ppi8255", ibm5160_ppi8255_interface ) |
| 1426 | 1426 | |
| 1427 | 1427 | MDRV_INS8250_ADD( "ins8250_0", ibm5150_com_interface[0] ) /* TODO: Verify model */ |
| 1428 | 1428 | MDRV_INS8250_ADD( "ins8250_1", ibm5150_com_interface[1] ) /* TODO: Verify model */ |
| r5230 | r5231 | |
| 1491 | 1491 | |
| 1492 | 1492 | MDRV_PIC8259_ADD( "pic8259_slave", ibm5150_pic8259_slave_config ) |
| 1493 | 1493 | |
| 1494 | | MDRV_PPI8255_ADD( "ppi8255", ibm5150_ppi8255_interface ) |
| 1494 | MDRV_I8255A_ADD( "ppi8255", ibm5150_ppi8255_interface ) |
| 1495 | 1495 | |
| 1496 | 1496 | MDRV_INS8250_ADD( "ins8250_0", ibm5150_com_interface[0] ) /* TODO: Verify model */ |
| 1497 | 1497 | MDRV_INS8250_ADD( "ins8250_1", ibm5150_com_interface[1] ) /* TODO: Verify model */ |
| r5230 | r5231 | |
| 1551 | 1551 | |
| 1552 | 1552 | MDRV_PIC8259_ADD( "pic8259_slave", ibm5150_pic8259_slave_config ) |
| 1553 | 1553 | |
| 1554 | | MDRV_PPI8255_ADD( "ppi8255", ibm5160_ppi8255_interface ) |
| 1554 | MDRV_I8255A_ADD( "ppi8255", ibm5160_ppi8255_interface ) |
| 1555 | 1555 | |
| 1556 | 1556 | MDRV_INS8250_ADD( "ins8250_0", ibm5150_com_interface[0] ) /* TODO: Verify model */ |
| 1557 | 1557 | MDRV_INS8250_ADD( "ins8250_1", ibm5150_com_interface[1] ) /* TODO: Verify model */ |
| r5230 | r5231 | |
| 1607 | 1607 | |
| 1608 | 1608 | MDRV_PIC8259_ADD( "pic8259_slave", ibm5150_pic8259_slave_config ) |
| 1609 | 1609 | |
| 1610 | | MDRV_PPI8255_ADD( "ppi8255", pc_ppi8255_interface ) |
| 1610 | MDRV_I8255A_ADD( "ppi8255", pc_ppi8255_interface ) |
| 1611 | 1611 | |
| 1612 | 1612 | MDRV_INS8250_ADD( "ins8250_0", ibm5150_com_interface[0] ) /* TODO: Verify model */ |
| 1613 | 1613 | MDRV_INS8250_ADD( "ins8250_1", ibm5150_com_interface[1] ) /* TODO: Verify model */ |
| r5230 | r5231 | |
| 1656 | 1656 | |
| 1657 | 1657 | MDRV_PIC8259_ADD( "pic8259_slave", ibm5150_pic8259_slave_config ) |
| 1658 | 1658 | |
| 1659 | | MDRV_PPI8255_ADD( "ppi8255", ibm5160_ppi8255_interface ) |
| 1659 | MDRV_I8255A_ADD( "ppi8255", ibm5160_ppi8255_interface ) |
| 1660 | 1660 | |
| 1661 | 1661 | MDRV_INS8250_ADD( "ins8250_0", ibm5150_com_interface[0] ) /* TODO: Verify model */ |
| 1662 | 1662 | MDRV_INS8250_ADD( "ins8250_1", ibm5150_com_interface[1] ) /* TODO: Verify model */ |
| r5230 | r5231 | |
| 1712 | 1712 | |
| 1713 | 1713 | MDRV_PIC8259_ADD( "pic8259_slave", ibm5150_pic8259_slave_config ) |
| 1714 | 1714 | |
| 1715 | | MDRV_PPI8255_ADD( "ppi8255", pc_ppi8255_interface ) |
| 1715 | MDRV_I8255A_ADD( "ppi8255", pc_ppi8255_interface ) |
| 1716 | 1716 | |
| 1717 | 1717 | MDRV_INS8250_ADD( "ins8250_0", ibm5150_com_interface[0] ) /* TODO: Verify model */ |
| 1718 | 1718 | MDRV_INS8250_ADD( "ins8250_1", ibm5150_com_interface[1] ) /* TODO: Verify model */ |
| r5230 | r5231 | |
| 1754 | 1754 | |
| 1755 | 1755 | MDRV_PIC8259_ADD( "pic8259_slave", ibm5150_pic8259_slave_config ) |
| 1756 | 1756 | |
| 1757 | | MDRV_PPI8255_ADD( "ppi8255", pc_ppi8255_interface ) |
| 1757 | MDRV_I8255A_ADD( "ppi8255", pc_ppi8255_interface ) |
| 1758 | 1758 | |
| 1759 | 1759 | MDRV_INS8250_ADD( "ins8250_0", ibm5150_com_interface[0] ) /* TODO: Verify model */ |
| 1760 | 1760 | MDRV_INS8250_ADD( "ins8250_1", ibm5150_com_interface[1] ) /* TODO: Verify model */ |
| r5230 | r5231 | |
| 1798 | 1798 | |
| 1799 | 1799 | MDRV_PIC8259_ADD( "pic8259_slave", ibm5150_pic8259_slave_config ) |
| 1800 | 1800 | |
| 1801 | | MDRV_PPI8255_ADD( "ppi8255", pc_ppi8255_interface ) |
| 1801 | MDRV_I8255A_ADD( "ppi8255", pc_ppi8255_interface ) |
| 1802 | 1802 | |
| 1803 | 1803 | MDRV_INS8250_ADD( "ins8250_0", ibm5150_com_interface[0] ) /* TODO: Verify model */ |
| 1804 | 1804 | MDRV_INS8250_ADD( "ins8250_1", ibm5150_com_interface[1] ) /* TODO: Verify model */ |
| r5230 | r5231 | |
| 1842 | 1842 | |
| 1843 | 1843 | MDRV_PIC8259_ADD( "pic8259_slave", ibm5150_pic8259_slave_config ) |
| 1844 | 1844 | |
| 1845 | | MDRV_PPI8255_ADD( "ppi8255", pc_ppi8255_interface ) |
| 1845 | MDRV_I8255A_ADD( "ppi8255", pc_ppi8255_interface ) |
| 1846 | 1846 | |
| 1847 | 1847 | MDRV_INS8250_ADD( "ins8250_0", ibm5150_com_interface[0] ) /* TODO: Verify model */ |
| 1848 | 1848 | MDRV_INS8250_ADD( "ins8250_1", ibm5150_com_interface[1] ) /* TODO: Verify model */ |
| r5230 | r5231 | |
| 1898 | 1898 | |
| 1899 | 1899 | MDRV_PIC8259_ADD( "pic8259_slave", ibm5150_pic8259_slave_config ) |
| 1900 | 1900 | |
| 1901 | | MDRV_PPI8255_ADD( "ppi8255", pc_ppi8255_interface ) |
| 1901 | MDRV_I8255A_ADD( "ppi8255", pc_ppi8255_interface ) |
| 1902 | 1902 | |
| 1903 | 1903 | MDRV_INS8250_ADD( "ins8250_0", ibm5150_com_interface[0] ) /* TODO: Verify model */ |
| 1904 | 1904 | MDRV_INS8250_ADD( "ins8250_1", ibm5150_com_interface[1] ) /* TODO: Verify model */ |
| r5230 | r5231 | |
| 1942 | 1942 | |
| 1943 | 1943 | MDRV_PIC8259_ADD( "pic8259_slave", ibm5150_pic8259_slave_config ) |
| 1944 | 1944 | |
| 1945 | | MDRV_PPI8255_ADD( "ppi8255", pcjr_ppi8255_interface ) |
| 1945 | MDRV_I8255A_ADD( "ppi8255", pcjr_ppi8255_interface ) |
| 1946 | 1946 | |
| 1947 | 1947 | MDRV_INS8250_ADD( "ins8250_0", ibm5150_com_interface[0] ) /* TODO: Verify model */ |
| 1948 | 1948 | MDRV_INS8250_ADD( "ins8250_1", ibm5150_com_interface[1] ) /* TODO: Verify model */ |