trunk/src/emu/bus/centronics/ctronics.c
r241558 | r241559 | |
120 | 120 | #include "epson_ex800.h" |
121 | 121 | #include "epson_lx800.h" |
122 | 122 | #include "printer.h" |
| 123 | #include "covox.h" |
123 | 124 | |
124 | | SLOT_INTERFACE_START(centronics_printers) |
| 125 | SLOT_INTERFACE_START(centronics_devices) |
125 | 126 | SLOT_INTERFACE("pl80", COMX_PL80) |
126 | 127 | SLOT_INTERFACE("ex800", EPSON_EX800) |
127 | 128 | SLOT_INTERFACE("lx800", EPSON_LX800) |
128 | 129 | SLOT_INTERFACE("lx810l", EPSON_LX810L) |
129 | 130 | SLOT_INTERFACE("ap2000", EPSON_AP2000) |
130 | 131 | SLOT_INTERFACE("printer", CENTRONICS_PRINTER) |
| 132 | SLOT_INTERFACE("covox", CENTRONICS_COVOX) |
| 133 | SLOT_INTERFACE("covox_stereo", CENTRONICS_COVOX_STEREO) |
131 | 134 | SLOT_INTERFACE_END |
trunk/src/emu/bus/comx35/printer.c
r241558 | r241559 | |
54 | 54 | |
55 | 55 | |
56 | 56 | //------------------------------------------------- |
57 | | // SLOT_INTERFACE( comx_centronics_printer ) |
58 | | //------------------------------------------------- |
59 | | |
60 | | SLOT_INTERFACE_START(comx_centronics_printer) |
61 | | SLOT_INTERFACE("printer", CENTRONICS_PRINTER) |
62 | | //SLOT_INTERFACE("pl80", COMX_PL80) |
63 | | SLOT_INTERFACE_END |
64 | | |
65 | | |
66 | | //------------------------------------------------- |
67 | 57 | // MACHINE_CONFIG_FRAGMENT( comx_prn ) |
68 | 58 | //------------------------------------------------- |
69 | 59 | |
70 | 60 | static MACHINE_CONFIG_FRAGMENT( comx_prn ) |
71 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, comx_centronics_printer, "printer") |
| 61 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
72 | 62 | MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit0)) |
73 | 63 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit1)) |
74 | 64 | MCFG_CENTRONICS_PERROR_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit2)) |
trunk/src/emu/bus/econet/e01.c
r241558 | r241559 | |
259 | 259 | MCFG_FLOPPY_DRIVE_ADD(WD2793_TAG":0", e01_floppies, "35dd", floppy_image_device::default_floppy_formats) |
260 | 260 | MCFG_FLOPPY_DRIVE_ADD(WD2793_TAG":1", e01_floppies, "35dd", floppy_image_device::default_floppy_formats) |
261 | 261 | |
262 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 262 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
263 | 263 | MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(R6522_TAG, via6522_device, write_ca1)) |
264 | 264 | |
265 | 265 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG) |
trunk/src/emu/bus/ql/sandy_superdisk.c
r241558 | r241559 | |
88 | 88 | MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG":0", sandy_super_disk_floppies, "35dd", sandy_super_disk_t::floppy_formats) |
89 | 89 | MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG":1", sandy_super_disk_floppies, NULL, sandy_super_disk_t::floppy_formats) |
90 | 90 | |
91 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 91 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
92 | 92 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(sandy_super_disk_t, busy_w)) |
93 | 93 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD(TTL74273_TAG, CENTRONICS_TAG) |
94 | 94 | MACHINE_CONFIG_END |
trunk/src/emu/bus/ql/sandy_superqboard.c
r241558 | r241559 | |
109 | 109 | MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG":0", sandy_superqboard_floppies, "35hd", sandy_superqboard_t::floppy_formats) |
110 | 110 | MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG":1", sandy_superqboard_floppies, NULL, sandy_superqboard_t::floppy_formats) |
111 | 111 | |
112 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 112 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
113 | 113 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(sandy_superqboard_t, busy_w)) |
114 | 114 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD(TTL74273_TAG, CENTRONICS_TAG) |
115 | 115 | MACHINE_CONFIG_END |
trunk/src/emu/machine/pc_lpt.c
r241558 | r241559 | |
6 | 6 | |
7 | 7 | #include "emu.h" |
8 | 8 | #include "pc_lpt.h" |
9 | | #include "bus/centronics/covox.h" |
10 | | #include "bus/centronics/printer.h" |
11 | 9 | |
12 | 10 | |
13 | 11 | const device_type PC_LPT = &device_creator<pc_lpt_device>; |
r241558 | r241559 | |
46 | 44 | m_cent_ctrl_out->write(m_control); |
47 | 45 | } |
48 | 46 | |
49 | | static SLOT_INTERFACE_START(pc_centronics) |
50 | | SLOT_INTERFACE("printer", CENTRONICS_PRINTER) |
51 | | SLOT_INTERFACE("covox", CENTRONICS_COVOX) |
52 | | SLOT_INTERFACE("covox_stereo", CENTRONICS_COVOX_STEREO) |
53 | | SLOT_INTERFACE_END |
54 | | |
55 | 47 | static MACHINE_CONFIG_FRAGMENT( pc_lpt ) |
56 | | MCFG_CENTRONICS_ADD("centronics", pc_centronics, "printer") |
| 48 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
57 | 49 | MCFG_CENTRONICS_DATA_INPUT_BUFFER("cent_data_in") |
58 | 50 | MCFG_CENTRONICS_FAULT_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit3)) |
59 | 51 | MCFG_CENTRONICS_SELECT_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit4)) |
trunk/src/mess/drivers/amstrad.c
r241558 | r241559 | |
817 | 817 | SLOT_INTERFACE("amdrum", CPC_AMDRUM) |
818 | 818 | SLOT_INTERFACE_END |
819 | 819 | |
820 | | SLOT_INTERFACE_START(amstrad_printers) |
| 820 | SLOT_INTERFACE_START(amstrad_centronics_devices) |
821 | 821 | SLOT_INTERFACE("pl80", COMX_PL80) |
822 | 822 | SLOT_INTERFACE("ex800", EPSON_EX800) |
823 | 823 | SLOT_INTERFACE("lx800", EPSON_LX800) |
r241558 | r241559 | |
874 | 874 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
875 | 875 | |
876 | 876 | /* printer */ |
877 | | MCFG_CENTRONICS_ADD("centronics", amstrad_printers, "printer") |
| 877 | MCFG_CENTRONICS_ADD("centronics", amstrad_centronics_devices, "printer") |
878 | 878 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(amstrad_state, write_centronics_busy)) |
879 | 879 | |
880 | 880 | /* snapshot */ |
r241558 | r241559 | |
969 | 969 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
970 | 970 | |
971 | 971 | /* printer */ |
972 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 972 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
973 | 973 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(amstrad_state, write_centronics_busy)) |
974 | 974 | |
975 | 975 | /* snapshot */ |
trunk/src/mess/drivers/apricotp.c
r241558 | r241559 | |
534 | 534 | MCFG_FLOPPY_DRIVE_ADD(WD2797_TAG":0", fp_floppies, "35dd", floppy_image_device::default_floppy_formats) |
535 | 535 | MCFG_FLOPPY_DRIVE_ADD(WD2797_TAG":1", fp_floppies, NULL, floppy_image_device::default_floppy_formats) |
536 | 536 | |
537 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 537 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
538 | 538 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(fp_state, write_centronics_busy)) |
539 | 539 | MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(fp_state, write_centronics_select)) |
540 | 540 | MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(fp_state, write_centronics_fault)) |
trunk/src/mess/drivers/atarist.c
r241558 | r241559 | |
2106 | 2106 | MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":0", atari_floppies, "35dd", st_state::floppy_formats) |
2107 | 2107 | MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":1", atari_floppies, 0, st_state::floppy_formats) |
2108 | 2108 | |
2109 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 2109 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
2110 | 2110 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE(MC68901_TAG, mc68901_device, i0_w)) |
2111 | 2111 | |
2112 | 2112 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
r241558 | r241559 | |
2197 | 2197 | MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":0", atari_floppies, "35dd", st_state::floppy_formats) |
2198 | 2198 | MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":1", atari_floppies, 0, st_state::floppy_formats) |
2199 | 2199 | |
2200 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 2200 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
2201 | 2201 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE(MC68901_TAG, mc68901_device, i0_w)) |
2202 | 2202 | |
2203 | 2203 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
r241558 | r241559 | |
2295 | 2295 | MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":0", atari_floppies, "35dd", st_state::floppy_formats) |
2296 | 2296 | MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":1", atari_floppies, 0, st_state::floppy_formats) |
2297 | 2297 | |
2298 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 2298 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
2299 | 2299 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE(MC68901_TAG, mc68901_device, i0_w)) |
2300 | 2300 | |
2301 | 2301 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
r241558 | r241559 | |
2408 | 2408 | MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":0", atari_floppies, "35dd", 0, st_state::floppy_formats) |
2409 | 2409 | MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":1", atari_floppies, 0, 0, st_state::floppy_formats) |
2410 | 2410 | |
2411 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 2411 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
2412 | 2412 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE(MC68901_TAG, mc68901_device, i0_w)) |
2413 | 2413 | |
2414 | 2414 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
trunk/src/mess/drivers/atom.c
r241558 | r241559 | |
725 | 725 | MCFG_I8271_FLOPPIES(FLOPPY_0, FLOPPY_1) |
726 | 726 | MCFG_LEGACY_FLOPPY_2_DRIVES_ADD(atom_floppy_interface) |
727 | 727 | |
728 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 728 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
729 | 729 | MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(R6522_TAG, via6522_device, write_ca1)) |
730 | 730 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE(R6522_TAG, via6522_device, write_pa7)) |
731 | 731 | |
r241558 | r241559 | |
822 | 822 | MCFG_I8255_IN_PORTC_CB(READ8(atom_state, ppi_pc_r)) |
823 | 823 | MCFG_I8255_OUT_PORTC_CB(WRITE8(atom_state, ppi_pc_w)) |
824 | 824 | |
825 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 825 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
826 | 826 | MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(R6522_TAG, via6522_device, write_ca1)) |
827 | 827 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE(R6522_TAG, via6522_device, write_pa7)) |
828 | 828 | |
trunk/src/mess/drivers/bbc.c
r241558 | r241559 | |
748 | 748 | MCFG_UPD7002_EOC_CB(bbc_state, BBC_uPD7002_EOC) |
749 | 749 | |
750 | 750 | /* printer */ |
751 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 751 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
752 | 752 | MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("via6522_1", via6522_device, write_ca1)) MCFG_DEVCB_INVERT /* ack seems to be inverted? */ |
753 | 753 | |
754 | 754 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
r241558 | r241559 | |
810 | 810 | MCFG_UPD7002_EOC_CB(bbc_state, BBC_uPD7002_EOC) |
811 | 811 | |
812 | 812 | /* printer */ |
813 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 813 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
814 | 814 | MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("via6522_1", via6522_device, write_ca1)) MCFG_DEVCB_INVERT /* ack seems to be inverted? */ |
815 | 815 | |
816 | 816 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
r241558 | r241559 | |
919 | 919 | MCFG_MC146818_ADD( "rtc", XTAL_32_768kHz ) |
920 | 920 | |
921 | 921 | /* printer */ |
922 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 922 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
923 | 923 | MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("via6522_1", via6522_device, write_ca1)) MCFG_DEVCB_INVERT /* ack seems to be inverted? */ |
924 | 924 | |
925 | 925 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
trunk/src/mess/drivers/bullet.c
r241558 | r241559 | |
1149 | 1149 | MCFG_FLOPPY_DRIVE_ADD(MB8877_TAG":6", bullet_8_floppies, NULL, floppy_image_device::default_floppy_formats) |
1150 | 1150 | MCFG_FLOPPY_DRIVE_ADD(MB8877_TAG":7", bullet_8_floppies, NULL, floppy_image_device::default_floppy_formats) |
1151 | 1151 | |
1152 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 1152 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
1153 | 1153 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(bullet_state, write_centronics_busy)) |
1154 | 1154 | MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(bullet_state, write_centronics_perror)) |
1155 | 1155 | MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(bullet_state, write_centronics_select)) |
r241558 | r241559 | |
1233 | 1233 | MCFG_FLOPPY_DRIVE_ADD(MB8877_TAG":8", bullet_35_floppies, NULL, floppy_image_device::default_floppy_formats) |
1234 | 1234 | MCFG_FLOPPY_DRIVE_ADD(MB8877_TAG":9", bullet_35_floppies, NULL, floppy_image_device::default_floppy_formats) |
1235 | 1235 | |
1236 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 1236 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
1237 | 1237 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(bullet_state, write_centronics_busy)) |
1238 | 1238 | |
1239 | 1239 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG) |
trunk/src/mess/drivers/cat.c
r241558 | r241559 | |
1244 | 1244 | MCFG_MC68681_B_TX_CALLBACK(WRITELINE(cat_state, cat_duart_txb)) |
1245 | 1245 | MCFG_MC68681_OUTPORT_CALLBACK(WRITE8(cat_state, cat_duart_output)) |
1246 | 1246 | |
1247 | | MCFG_CENTRONICS_ADD("ctx", centronics_printers, "printer") |
| 1247 | MCFG_CENTRONICS_ADD("ctx", centronics_devices, "printer") |
1248 | 1248 | MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(cat_state, prn_ack_ff)) |
1249 | 1249 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("duartn68681", mc68681_device, ip4_w)) MCFG_DEVCB_XOR(1) |
1250 | 1250 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("ctx_data_out", "ctx") |
trunk/src/mess/drivers/clcd.c
r241558 | r241559 | |
767 | 767 | MCFG_RS232_DSR_HANDLER(DEVWRITELINE("acia", mos6551_device, write_dsr)) |
768 | 768 | MCFG_RS232_CTS_HANDLER(DEVWRITELINE("via1", via6522_device, write_pb4)) |
769 | 769 | |
770 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, NULL) |
| 770 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, NULL) |
771 | 771 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("via1", via6522_device, write_pb6)) MCFG_DEVCB_XOR(1) |
772 | 772 | |
773 | 773 | MCFG_DEVICE_ADD("bank1", ADDRESS_MAP_BANK, 0) |
trunk/src/mess/drivers/compis.c
r241558 | r241559 | |
706 | 706 | MCFG_RS232_DCD_HANDLER(DEVWRITELINE(I8274_TAG, z80dart_device, dcdb_w)) |
707 | 707 | MCFG_RS232_CTS_HANDLER(DEVWRITELINE(I8274_TAG, z80dart_device, ctsb_w)) |
708 | 708 | |
709 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 709 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
710 | 710 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(compis_state, write_centronics_busy)) |
711 | 711 | MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(compis_state, write_centronics_select)) |
712 | 712 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG) |
trunk/src/mess/drivers/crvision.c
r241558 | r241559 | |
771 | 771 | MCFG_CASSETTE_ADD("cassette") |
772 | 772 | MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED) |
773 | 773 | |
774 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 774 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
775 | 775 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit7)) |
776 | 776 | |
777 | 777 | MCFG_DEVICE_ADD("cent_status_in", INPUT_BUFFER, 0) |
r241558 | r241559 | |
850 | 850 | MCFG_CASSETTE_ADD("cassette") |
851 | 851 | MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED) |
852 | 852 | |
853 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 853 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
854 | 854 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(laser2001_state, write_centronics_busy)) |
855 | 855 | |
856 | 856 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG) |
trunk/src/mess/drivers/fm7.c
r241558 | r241559 | |
2088 | 2088 | MCFG_WD17XX_INTRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_intrq_w)) |
2089 | 2089 | MCFG_WD17XX_DRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_drq_w)) |
2090 | 2090 | |
2091 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 2091 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
2092 | 2092 | MCFG_SLOT_OPTION_ADD( "dsjoy", DEMPA_SHINBUNSHA_JOYSTICK ) |
2093 | 2093 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(fm7_state, write_centronics_busy)) |
2094 | 2094 | MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(fm7_state, write_centronics_fault)) |
r241558 | r241559 | |
2145 | 2145 | MCFG_WD17XX_INTRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_intrq_w)) |
2146 | 2146 | MCFG_WD17XX_DRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_drq_w)) |
2147 | 2147 | |
2148 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 2148 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
2149 | 2149 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(fm7_state, write_centronics_busy)) |
2150 | 2150 | MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(fm7_state, write_centronics_fault)) |
2151 | 2151 | MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(fm7_state, write_centronics_ack)) |
r241558 | r241559 | |
2221 | 2221 | MCFG_WD17XX_INTRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_intrq_w)) |
2222 | 2222 | MCFG_WD17XX_DRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_drq_w)) |
2223 | 2223 | |
2224 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 2224 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
2225 | 2225 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(fm7_state, write_centronics_busy)) |
2226 | 2226 | MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(fm7_state, write_centronics_fault)) |
2227 | 2227 | MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(fm7_state, write_centronics_ack)) |
r241558 | r241559 | |
2299 | 2299 | MCFG_WD17XX_INTRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_intrq_w)) |
2300 | 2300 | MCFG_WD17XX_DRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_drq_w)) |
2301 | 2301 | |
2302 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 2302 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
2303 | 2303 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(fm7_state, write_centronics_busy)) |
2304 | 2304 | MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(fm7_state, write_centronics_fault)) |
2305 | 2305 | MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(fm7_state, write_centronics_ack)) |
r241558 | r241559 | |
2353 | 2353 | MCFG_WD17XX_INTRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_intrq_w)) |
2354 | 2354 | MCFG_WD17XX_DRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_drq_w)) |
2355 | 2355 | |
2356 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 2356 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
2357 | 2357 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(fm7_state, write_centronics_busy)) |
2358 | 2358 | MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(fm7_state, write_centronics_fault)) |
2359 | 2359 | MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(fm7_state, write_centronics_ack)) |
trunk/src/mess/drivers/isbc.c
r241558 | r241559 | |
283 | 283 | MCFG_I8255_IN_PORTB_CB(DEVREAD8("cent_status_in", input_buffer_device, read)) |
284 | 284 | MCFG_I8255_OUT_PORTC_CB(WRITE8(isbc_state, ppi_c_w)) |
285 | 285 | |
286 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 286 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
287 | 287 | MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(isbc_state, write_centronics_ack)) |
288 | 288 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit7)) |
289 | 289 | MCFG_CENTRONICS_FAULT_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit6)) |
trunk/src/mess/drivers/kaypro.c
r241558 | r241559 | |
207 | 207 | /* devices */ |
208 | 208 | MCFG_QUICKLOAD_ADD("quickload", kaypro_state, kaypro, "com,cpm", 3) |
209 | 209 | |
210 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 210 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
211 | 211 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(kaypro_state, write_centronics_busy)) |
212 | 212 | |
213 | 213 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
r241558 | r241559 | |
281 | 281 | |
282 | 282 | MCFG_QUICKLOAD_ADD("quickload", kaypro_state, kaypro, "com,cpm", 3) |
283 | 283 | |
284 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 284 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
285 | 285 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(kaypro_state, write_centronics_busy)) |
286 | 286 | |
287 | 287 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
trunk/src/mess/drivers/kyocera.c
r241558 | r241559 | |
1376 | 1376 | MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, NULL) |
1377 | 1377 | MCFG_RS232_RXD_HANDLER(DEVWRITELINE(IM6402_TAG, im6402_device, write_rri)) |
1378 | 1378 | |
1379 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 1379 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
1380 | 1380 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(kc85_state, write_centronics_busy)) |
1381 | 1381 | MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(kc85_state, write_centronics_select)) |
1382 | 1382 | |
r241558 | r241559 | |
1426 | 1426 | MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, NULL) |
1427 | 1427 | MCFG_RS232_RXD_HANDLER(DEVWRITELINE(IM6402_TAG, im6402_device, write_rri)) |
1428 | 1428 | |
1429 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 1429 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
1430 | 1430 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(kc85_state, write_centronics_busy)) |
1431 | 1431 | MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(kc85_state, write_centronics_select)) |
1432 | 1432 | |
r241558 | r241559 | |
1486 | 1486 | MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, NULL) |
1487 | 1487 | MCFG_RS232_RXD_HANDLER(DEVWRITELINE(IM6402_TAG, im6402_device, write_rri)) |
1488 | 1488 | |
1489 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 1489 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
1490 | 1490 | MCFG_CASSETTE_ADD("cassette") |
1491 | 1491 | MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED) |
1492 | 1492 | |
r241558 | r241559 | |
1550 | 1550 | MCFG_RS232_DSR_HANDLER(DEVWRITELINE(I8251_TAG, i8251_device, write_dsr)) |
1551 | 1551 | |
1552 | 1552 | // MCFG_MC14412_ADD(MC14412_TAG, XTAL_1MHz) |
1553 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 1553 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
1554 | 1554 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(tandy200_state, write_centronics_busy)) |
1555 | 1555 | MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(tandy200_state, write_centronics_select)) |
1556 | 1556 | |
trunk/src/mess/drivers/mbee.c
r241558 | r241559 | |
699 | 699 | MCFG_QUICKLOAD_ADD("quickload", mbee_state, mbee, "mwb,com,bee", 2) |
700 | 700 | MCFG_QUICKLOAD_ADD("quickload2", mbee_state, mbee_z80bin, "bin", 2) |
701 | 701 | |
702 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 702 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
703 | 703 | |
704 | 704 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
705 | 705 | |
r241558 | r241559 | |
757 | 757 | MCFG_QUICKLOAD_ADD("quickload", mbee_state, mbee, "mwb,com,bee", 2) |
758 | 758 | MCFG_QUICKLOAD_ADD("quickload2", mbee_state, mbee_z80bin, "bin", 2) |
759 | 759 | |
760 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 760 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
761 | 761 | |
762 | 762 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
763 | 763 | |
trunk/src/mess/drivers/mc1502.c
r241558 | r241559 | |
295 | 295 | MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0) |
296 | 296 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80) |
297 | 297 | |
298 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 298 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
299 | 299 | MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit6)) |
300 | 300 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit7)) |
301 | 301 | MCFG_CENTRONICS_FAULT_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit4)) |
trunk/src/mess/drivers/msx.c
r241558 | r241559 | |
517 | 517 | |
518 | 518 | |
519 | 519 | #include "includes/msx.h" |
520 | | #include "bus/centronics/covox.h" |
521 | 520 | #include "formats/dsk_dsk.h" |
522 | 521 | #include "formats/dmk_dsk.h" |
523 | 522 | #include "machine/msx_matsushita.h" |
r241558 | r241559 | |
1351 | 1350 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30) |
1352 | 1351 | |
1353 | 1352 | /* printer */ |
1354 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
1355 | | MCFG_SLOT_OPTION_ADD( "covox", CENTRONICS_COVOX ) |
| 1353 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
1356 | 1354 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit1)) |
1357 | 1355 | |
1358 | 1356 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
r241558 | r241559 | |
1440 | 1438 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30) |
1441 | 1439 | |
1442 | 1440 | /* printer */ |
1443 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
1444 | | MCFG_SLOT_OPTION_ADD( "covox", CENTRONICS_COVOX ) |
| 1441 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
1445 | 1442 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit1)) |
1446 | 1443 | |
1447 | 1444 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
r241558 | r241559 | |
1505 | 1502 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30) |
1506 | 1503 | |
1507 | 1504 | /* printer */ |
1508 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
1509 | | MCFG_SLOT_OPTION_ADD( "covox", CENTRONICS_COVOX ) |
| 1505 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
1510 | 1506 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit1)) |
1511 | 1507 | |
1512 | 1508 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
trunk/src/mess/drivers/pc1512.c
r241558 | r241559 | |
1259 | 1259 | MCFG_INS8250_OUT_RTS_CB(DEVWRITELINE(RS232_TAG, rs232_port_device, write_rts)) |
1260 | 1260 | MCFG_INS8250_OUT_INT_CB(DEVWRITELINE(I8259A2_TAG, pic8259_device, ir4_w)) |
1261 | 1261 | |
1262 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 1262 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
1263 | 1263 | MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(pc1512_state, write_centronics_ack)) |
1264 | 1264 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(pc1512_state, write_centronics_busy)) |
1265 | 1265 | MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(pc1512_state, write_centronics_perror)) |
r241558 | r241559 | |
1380 | 1380 | MCFG_INS8250_OUT_INT_CB(DEVWRITELINE(I8259A2_TAG, pic8259_device, ir4_w)) |
1381 | 1381 | |
1382 | 1382 | |
1383 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 1383 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
1384 | 1384 | MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(pc1512_state, write_centronics_ack)) |
1385 | 1385 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(pc1512_state, write_centronics_busy)) |
1386 | 1386 | MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(pc1512_state, write_centronics_perror)) |
trunk/src/mess/drivers/pc8001.c
r241558 | r241559 | |
508 | 508 | MCFG_UPD3301_DRAW_CHARACTER_CALLBACK_OWNER(pc8001_state, pc8001_display_pixels) |
509 | 509 | MCFG_UPD3301_VRTC_CALLBACK(DEVWRITELINE(I8257_TAG, i8257_device, dreq2_w)) |
510 | 510 | |
511 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 511 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
512 | 512 | MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(pc8001_state, write_centronics_ack)) |
513 | 513 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(pc8001_state, write_centronics_busy)) |
514 | 514 | |
r241558 | r241559 | |
557 | 557 | MCFG_UPD3301_DRAW_CHARACTER_CALLBACK_OWNER(pc8001_state, pc8001_display_pixels) |
558 | 558 | MCFG_UPD3301_VRTC_CALLBACK(DEVWRITELINE(I8257_TAG, i8257_device, dreq2_w)) |
559 | 559 | |
560 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 560 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
561 | 561 | |
562 | 562 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG) |
563 | 563 | |
trunk/src/mess/drivers/portfoli.c
r241558 | r241559 | |
838 | 838 | MCFG_I8255_OUT_PORTB_CB(DEVWRITE8("cent_ctrl_out", output_latch_device, write)) |
839 | 839 | MCFG_I8255_IN_PORTC_CB(DEVREAD8("cent_status_in", input_buffer_device, read)) |
840 | 840 | |
841 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 841 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
842 | 842 | MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit5)) |
843 | 843 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit4)) |
844 | 844 | MCFG_CENTRONICS_FAULT_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit3)) |
trunk/src/mess/drivers/sage2.c
r241558 | r241559 | |
496 | 496 | MCFG_UPD765A_ADD(UPD765_TAG, false, false) |
497 | 497 | MCFG_UPD765_INTRQ_CALLBACK(WRITELINE(sage2_state, fdc_irq)) |
498 | 498 | |
499 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 499 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
500 | 500 | MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(sage2_state, write_centronics_ack)) |
501 | 501 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(sage2_state, write_centronics_busy)) |
502 | 502 | MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(sage2_state, write_centronics_perror)) |
trunk/src/mess/drivers/samcoupe.c
r241558 | r241559 | |
543 | 543 | MCFG_PALETTE_INIT_OWNER(samcoupe_state, samcoupe) |
544 | 544 | |
545 | 545 | /* devices */ |
546 | | MCFG_CENTRONICS_ADD("lpt1", centronics_printers, "printer") |
| 546 | MCFG_CENTRONICS_ADD("lpt1", centronics_devices, "printer") |
547 | 547 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(samcoupe_state, write_lpt1_busy)) |
548 | 548 | |
549 | 549 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("lpt1_data_out", "lpt1") |
550 | 550 | |
551 | | MCFG_CENTRONICS_ADD("lpt2", centronics_printers, "printer") |
| 551 | MCFG_CENTRONICS_ADD("lpt2", centronics_devices, "printer") |
552 | 552 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(samcoupe_state, write_lpt2_busy)) |
553 | 553 | |
554 | 554 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("lpt2_data_out", "lpt2") |
trunk/src/mess/drivers/super80.c
r241558 | r241559 | |
719 | 719 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) |
720 | 720 | |
721 | 721 | /* printer */ |
722 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 722 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
723 | 723 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit7)) |
724 | 724 | |
725 | 725 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
r241558 | r241559 | |
806 | 806 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) |
807 | 807 | |
808 | 808 | /* printer */ |
809 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 809 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
810 | 810 | MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit7)) |
811 | 811 | |
812 | 812 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
trunk/src/mess/drivers/svi318.c
r241558 | r241559 | |
295 | 295 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75) |
296 | 296 | |
297 | 297 | /* printer */ |
298 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 298 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
299 | 299 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(svi318_state, write_centronics_busy)) |
300 | 300 | |
301 | 301 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
r241558 | r241559 | |
424 | 424 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75) |
425 | 425 | |
426 | 426 | /* printer */ |
427 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 427 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
428 | 428 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(svi318_state, write_centronics_busy)) |
429 | 429 | |
430 | 430 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
trunk/src/mess/drivers/tandy2k.c
r241558 | r241559 | |
844 | 844 | MCFG_FLOPPY_DRIVE_ADD(I8272A_TAG ":0", tandy2k_floppies, "525qd", tandy2k_state::floppy_formats) |
845 | 845 | MCFG_FLOPPY_DRIVE_ADD(I8272A_TAG ":1", tandy2k_floppies, "525qd", tandy2k_state::floppy_formats) |
846 | 846 | |
847 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 847 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
848 | 848 | MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(tandy2k_state, write_centronics_ack)) |
849 | 849 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(tandy2k_state, write_centronics_busy)) |
850 | 850 | MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(tandy2k_state, write_centronics_perror)) |
trunk/src/mess/drivers/thomson.c
r241558 | r241559 | |
1451 | 1451 | MCFG_DEVICE_MODIFY("mc6846") |
1452 | 1452 | MCFG_MC6846_OUT_PORT_CB(WRITE8(thomson_state, to9_timer_port_out)) |
1453 | 1453 | |
1454 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 1454 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
1455 | 1455 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(thomson_state, write_centronics_busy)) |
1456 | 1456 | |
1457 | 1457 | /* internal ram */ |
r241558 | r241559 | |
1670 | 1670 | MCFG_PIA_CB2_HANDLER(NULL) |
1671 | 1671 | MCFG_PIA_IRQA_HANDLER(NULL) |
1672 | 1672 | |
1673 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 1673 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
1674 | 1674 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(thomson_state, write_centronics_busy)) |
1675 | 1675 | |
1676 | 1676 | MCFG_DEVICE_MODIFY("mc6846") |
r241558 | r241559 | |
1826 | 1826 | MCFG_PIA_IRQA_HANDLER(NULL) |
1827 | 1827 | MCFG_PIA_IRQB_HANDLER(WRITELINE(thomson_state, thom_firq_1)) |
1828 | 1828 | |
1829 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 1829 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
1830 | 1830 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(thomson_state, write_centronics_busy)) |
1831 | 1831 | |
1832 | 1832 | MCFG_DEVICE_MODIFY("mc6846") |
r241558 | r241559 | |
2176 | 2176 | MCFG_PIA_WRITEPA_HANDLER(WRITE8(thomson_state, mo6_game_porta_out)) |
2177 | 2177 | MCFG_PIA_CB2_HANDLER(WRITELINE(thomson_state, mo6_game_cb2_out)) |
2178 | 2178 | |
2179 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 2179 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
2180 | 2180 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(thomson_state, write_centronics_busy)) |
2181 | 2181 | |
2182 | 2182 | MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics") |
r241558 | r241559 | |
2416 | 2416 | MCFG_DEVICE_MODIFY(THOM_PIA_GAME) |
2417 | 2417 | MCFG_PIA_WRITEPA_HANDLER(WRITE8(thomson_state, mo6_game_porta_out)) |
2418 | 2418 | |
2419 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 2419 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
2420 | 2420 | MCFG_CENTRONICS_DATA_INPUT_BUFFER("cent_data_in") |
2421 | 2421 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(thomson_state, write_centronics_busy)) |
2422 | 2422 | |
trunk/src/mess/drivers/tiki100.c
r241558 | r241559 | |
686 | 686 | MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, NULL) |
687 | 687 | MCFG_RS232_RXD_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, rxb_w)) |
688 | 688 | |
689 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 689 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
690 | 690 | MCFG_CENTRONICS_DATA_INPUT_BUFFER("cent_data_in") |
691 | 691 | MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(tiki100_state, write_centronics_ack)) |
692 | 692 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(tiki100_state, write_centronics_busy)) |
trunk/src/mess/drivers/trs80m2.c
r241558 | r241559 | |
756 | 756 | MCFG_Z80SIO0_ADD(Z80SIO_TAG, XTAL_8MHz/2, 0, 0, 0, 0) |
757 | 757 | MCFG_Z80DART_OUT_INT_CB(INPUTLINE(Z80_TAG, INPUT_LINE_IRQ0)) |
758 | 758 | |
759 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 759 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
760 | 760 | MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(Z80PIO_TAG, z80pio_device, strobe_b)) |
761 | 761 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(trs80m2_state, write_centronics_busy)) |
762 | 762 | MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(trs80m2_state, write_centronics_fault)) |
r241558 | r241559 | |
848 | 848 | |
849 | 849 | MCFG_PIC8259_ADD(AM9519A_TAG, INPUTLINE(M68000_TAG, M68K_IRQ_5), VCC, NULL ) |
850 | 850 | |
851 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 851 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
852 | 852 | MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(Z80PIO_TAG, z80pio_device, strobe_b)) |
853 | 853 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(trs80m2_state, write_centronics_busy)) |
854 | 854 | MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(trs80m2_state, write_centronics_fault)) |
trunk/src/mess/drivers/wangpc.c
r241558 | r241559 | |
1127 | 1127 | MCFG_FLOPPY_DRIVE_ADD(UPD765_TAG ":0", wangpc_floppies, "525dd", wangpc_state::floppy_formats) |
1128 | 1128 | MCFG_FLOPPY_DRIVE_ADD(UPD765_TAG ":1", wangpc_floppies, "525dd", wangpc_state::floppy_formats) |
1129 | 1129 | |
1130 | | MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer") |
| 1130 | MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer") |
1131 | 1131 | MCFG_CENTRONICS_DATA_INPUT_BUFFER("cent_data_in") |
1132 | 1132 | MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(wangpc_state, write_centronics_ack)) |
1133 | 1133 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(wangpc_state, write_centronics_busy)) |
trunk/src/mess/drivers/xor100.c
r241558 | r241559 | |
558 | 558 | MCFG_FLOPPY_DRIVE_ADD(WD1795_TAG":2", xor100_floppies, NULL, floppy_image_device::default_floppy_formats) |
559 | 559 | MCFG_FLOPPY_DRIVE_ADD(WD1795_TAG":3", xor100_floppies, NULL, floppy_image_device::default_floppy_formats) |
560 | 560 | |
561 | | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer") |
| 561 | MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") |
562 | 562 | MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(I8255A_TAG, i8255_device, pc4_w)) |
563 | 563 | MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(xor100_state, write_centronics_busy)) |
564 | 564 | MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(xor100_state, write_centronics_select)) |