Previous 199869 Revisions Next

r33047 Tuesday 28th October, 2014 at 17:09:00 UTC by smf
Use the same list of centronics devices everywhere (except the Amstrad CPC), the list has been renamed as they aren't all printers. [smf]
[src/emu/bus/a2bus]a2pic.c
[src/emu/bus/adam]ide.c
[src/emu/bus/adamnet]spi.c
[src/emu/bus/c64]geocable.c
[src/emu/bus/cbmiec]c1541.c
[src/emu/bus/centronics]ctronics.c ctronics.h
[src/emu/bus/comx35]printer.c
[src/emu/bus/ecbbus]grip.c
[src/emu/bus/econet]e01.c
[src/emu/bus/isa]lpt.c
[src/emu/bus/ql]sandy_superdisk.c sandy_superqboard.c
[src/emu/bus/vtech/ioexp]printer.c
[src/emu/machine]pc_lpt.c
[src/mess/drivers]ace.c amiga.c amstrad.c applix.c apricot.c apricotf.c apricotp.c atarist.c atom.c bbc.c bullet.c bw12.c bw2.c cat.c clcd.c compis.c crvision.c einstein.c elwro800.c ep64.c fc100.c fm7.c fp1100.c isbc.c jtc.c kaypro.c kyocera.c m5.c mbee.c mc1000.c mc1502.c msx.c mtx.c mz700.c nc.c oric.c pc1512.c pc8001.c pc8801.c pencil2.c phc25.c portfoli.c prof180x.c px4.c rmnimbus.c sage2.c samcoupe.c sg1000.c sorcerer.c super80.c svi318.c tandy2k.c thomson.c tiki100.c tmc600.c trs80.c trs80m2.c tutor.c tvc.c v1050.c wangpc.c xor100.c
[src/mess/includes]sorcerer.h
[src/mess/machine]thomson.c

trunk/src/emu/bus/a2bus/a2pic.c
r241558r241559
2222#define PIC_CENTRONICS_TAG "pic_ctx"
2323
2424MACHINE_CONFIG_FRAGMENT( pic )
25   MCFG_CENTRONICS_ADD(PIC_CENTRONICS_TAG, centronics_printers, "printer")
25   MCFG_CENTRONICS_ADD(PIC_CENTRONICS_TAG, centronics_devices, "printer")
2626   MCFG_CENTRONICS_DATA_INPUT_BUFFER("ctx_data_in")
2727   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(a2bus_pic_device, ack_w))
2828
trunk/src/emu/bus/adam/ide.c
r241558r241559
6565//-------------------------------------------------
6666static MACHINE_CONFIG_FRAGMENT( adam_ata )
6767   MCFG_ATA_INTERFACE_ADD(ATA_TAG, ata_devices, "hdd", NULL, false)
68   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
68   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
6969
7070   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
7171MACHINE_CONFIG_END
trunk/src/emu/bus/adamnet/spi.c
r241558r241559
8585
8686   MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, NULL)
8787
88   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
88   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
8989   MCFG_CENTRONICS_DATA_INPUT_BUFFER("cent_data_in")
9090   MCFG_DEVICE_ADD("cent_data_in", INPUT_BUFFER, 0)
9191   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
trunk/src/emu/bus/c64/geocable.c
r241558r241559
3333//-------------------------------------------------
3434
3535static MACHINE_CONFIG_FRAGMENT( c64_geocable )
36   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
36   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
3737   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(c64_geocable_device, output_b))
3838MACHINE_CONFIG_END
3939
trunk/src/emu/bus/cbmiec/c1541.c
r241558r241559
887887   MCFG_PIA_WRITEPB_HANDLER(WRITE8(c1541_prologic_dos_classic_device, pia_pb_w))
888888   MCFG_PIA_CA2_HANDLER(DEVWRITELINE(CENTRONICS_TAG, centronics_device, write_strobe))
889889
890   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
890   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
891891   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(MC6821_TAG, pia6821_device, ca1_w))
892892   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
893893MACHINE_CONFIG_END
trunk/src/emu/bus/centronics/ctronics.c
r241558r241559
120120#include "epson_ex800.h"
121121#include "epson_lx800.h"
122122#include "printer.h"
123#include "covox.h"
123124
124SLOT_INTERFACE_START(centronics_printers)
125SLOT_INTERFACE_START(centronics_devices)
125126   SLOT_INTERFACE("pl80", COMX_PL80)
126127   SLOT_INTERFACE("ex800", EPSON_EX800)
127128   SLOT_INTERFACE("lx800", EPSON_LX800)
128129   SLOT_INTERFACE("lx810l", EPSON_LX810L)
129130   SLOT_INTERFACE("ap2000", EPSON_AP2000)
130131   SLOT_INTERFACE("printer", CENTRONICS_PRINTER)
132   SLOT_INTERFACE("covox", CENTRONICS_COVOX)
133   SLOT_INTERFACE("covox_stereo", CENTRONICS_COVOX_STEREO)
131134SLOT_INTERFACE_END
trunk/src/emu/bus/centronics/ctronics.h
r241558r241559
218218};
219219
220220
221SLOT_INTERFACE_EXTERN( centronics_printers );
221SLOT_INTERFACE_EXTERN( centronics_devices );
222222
223223#endif
trunk/src/emu/bus/comx35/printer.c
r241558r241559
5454
5555
5656//-------------------------------------------------
57//  SLOT_INTERFACE( comx_centronics_printer )
58//-------------------------------------------------
59
60SLOT_INTERFACE_START(comx_centronics_printer)
61   SLOT_INTERFACE("printer", CENTRONICS_PRINTER)
62   //SLOT_INTERFACE("pl80", COMX_PL80)
63SLOT_INTERFACE_END
64
65
66//-------------------------------------------------
6757//  MACHINE_CONFIG_FRAGMENT( comx_prn )
6858//-------------------------------------------------
6959
7060static MACHINE_CONFIG_FRAGMENT( comx_prn )
71   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, comx_centronics_printer, "printer")
61   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
7262   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit0))
7363   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit1))
7464   MCFG_CENTRONICS_PERROR_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit2))
trunk/src/emu/bus/ecbbus/grip.c
r241558r241559
500500   MCFG_Z80STI_OUT_TCO_CB(DEVWRITELINE(Z80STI_TAG, z80sti_device, tc_w))
501501   MCFG_Z80STI_OUT_TDO_CB(DEVWRITELINE(Z80STI_TAG, z80sti_device, tc_w))
502502
503   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
503   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
504504   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(grip_device, write_centronics_busy))
505505   MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(grip_device, write_centronics_fault))
506506
trunk/src/emu/bus/econet/e01.c
r241558r241559
259259   MCFG_FLOPPY_DRIVE_ADD(WD2793_TAG":0", e01_floppies, "35dd", floppy_image_device::default_floppy_formats)
260260   MCFG_FLOPPY_DRIVE_ADD(WD2793_TAG":1", e01_floppies, "35dd", floppy_image_device::default_floppy_formats)
261261
262   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
262   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
263263   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(R6522_TAG, via6522_device, write_ca1))
264264
265265   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
trunk/src/emu/bus/isa/lpt.c
r241558r241559
77#include "emu.h"
88#include "lpt.h"
99#include "machine/pc_lpt.h"
10#include "bus/centronics/covox.h"
11#include "bus/centronics/printer.h"
1210
1311const device_type ISA8_LPT = &device_creator<isa8_lpt_device>;
1412
trunk/src/emu/bus/ql/sandy_superdisk.c
r241558r241559
8888   MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG":0", sandy_super_disk_floppies, "35dd", sandy_super_disk_t::floppy_formats)
8989   MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG":1", sandy_super_disk_floppies, NULL, sandy_super_disk_t::floppy_formats)
9090
91   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
91   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
9292   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(sandy_super_disk_t, busy_w))
9393   MCFG_CENTRONICS_OUTPUT_LATCH_ADD(TTL74273_TAG, CENTRONICS_TAG)
9494MACHINE_CONFIG_END
trunk/src/emu/bus/ql/sandy_superqboard.c
r241558r241559
109109   MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG":0", sandy_superqboard_floppies, "35hd", sandy_superqboard_t::floppy_formats)
110110   MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG":1", sandy_superqboard_floppies, NULL, sandy_superqboard_t::floppy_formats)
111111
112   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
112   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
113113   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(sandy_superqboard_t, busy_w))
114114   MCFG_CENTRONICS_OUTPUT_LATCH_ADD(TTL74273_TAG, CENTRONICS_TAG)
115115MACHINE_CONFIG_END
trunk/src/emu/bus/vtech/ioexp/printer.c
r241558r241559
2525//-------------------------------------------------
2626
2727static MACHINE_CONFIG_FRAGMENT( printer_interface )
28   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
28   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
2929   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(printer_interface_device, busy_w))
3030   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("latch", "centronics")
3131MACHINE_CONFIG_END
trunk/src/emu/machine/pc_lpt.c
r241558r241559
66
77#include "emu.h"
88#include "pc_lpt.h"
9#include "bus/centronics/covox.h"
10#include "bus/centronics/printer.h"
119
1210
1311const device_type PC_LPT = &device_creator<pc_lpt_device>;
r241558r241559
4644   m_cent_ctrl_out->write(m_control);
4745}
4846
49static 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)
53SLOT_INTERFACE_END
54
5547static MACHINE_CONFIG_FRAGMENT( pc_lpt )
56   MCFG_CENTRONICS_ADD("centronics", pc_centronics, "printer")
48   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
5749   MCFG_CENTRONICS_DATA_INPUT_BUFFER("cent_data_in")
5850   MCFG_CENTRONICS_FAULT_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit3))
5951   MCFG_CENTRONICS_SELECT_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit4))
trunk/src/mess/drivers/ace.c
r241558r241559
711711   MCFG_Z80PIO_OUT_PA_CB(WRITE8(ace_state, pio_pa_w))
712712   MCFG_Z80PIO_OUT_PB_CB(DEVWRITE8("cent_data_out", output_latch_device, write))
713713
714   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
714   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
715715   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
716716
717717   // internal ram
trunk/src/mess/drivers/amiga.c
r241558r241559
13431343   MCFG_RS232_CTS_HANDLER(WRITELINE(amiga_state, rs232_cts_w))
13441344
13451345   // centronics
1346   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
1346   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
13471347   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(amiga_state, centronics_ack_w))
13481348   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(amiga_state, centronics_busy_w))
13491349   MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(amiga_state, centronics_perror_w))
trunk/src/mess/drivers/amstrad.c
r241558r241559
817817   SLOT_INTERFACE("amdrum", CPC_AMDRUM)
818818SLOT_INTERFACE_END
819819
820SLOT_INTERFACE_START(amstrad_printers)
820SLOT_INTERFACE_START(amstrad_centronics_devices)
821821   SLOT_INTERFACE("pl80", COMX_PL80)
822822   SLOT_INTERFACE("ex800", EPSON_EX800)
823823   SLOT_INTERFACE("lx800", EPSON_LX800)
r241558r241559
874874   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
875875
876876   /* printer */
877   MCFG_CENTRONICS_ADD("centronics", amstrad_printers, "printer")
877   MCFG_CENTRONICS_ADD("centronics", amstrad_centronics_devices, "printer")
878878   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(amstrad_state, write_centronics_busy))
879879
880880   /* snapshot */
r241558r241559
969969   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
970970
971971   /* printer */
972   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
972   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
973973   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(amstrad_state, write_centronics_busy))
974974
975975   /* snapshot */
trunk/src/mess/drivers/applix.c
r241558r241559
877877   MCFG_VIA6522_WRITEPB_HANDLER(WRITE8(applix_state, applix_pb_w))
878878   MCFG_VIA6522_IRQ_HANDLER(DEVWRITELINE("maincpu", m68000_device, write_irq2))
879879
880   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
880   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
881881   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("via6522", via6522_device, write_ca1))
882882   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("via6522", via6522_device, write_pa0))
883883
trunk/src/mess/drivers/apricot.c
r241558r241559
384384   MCFG_RS232_CTS_HANDLER(DEVWRITELINE("ic15", z80dart_device, ctsa_w))
385385
386386   // centronics printer
387   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
387   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
388388   MCFG_CENTRONICS_DATA_INPUT_BUFFER("cent_data_in")
389389   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("ic15", z80dart_device, ctsb_w))
390390   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("ic15", z80dart_device, dcdb_w))
trunk/src/mess/drivers/apricotf.c
r241558r241559
294294   MCFG_Z80CTC_ZC1_CB(WRITELINE(f1_state, ctc_z1_w))
295295   MCFG_Z80CTC_ZC2_CB(WRITELINE(f1_state, ctc_z2_w))
296296
297   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
297   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
298298   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE(Z80SIO2_TAG, z80dart_device, ctsa_w))
299299
300300   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
trunk/src/mess/drivers/apricotp.c
r241558r241559
534534   MCFG_FLOPPY_DRIVE_ADD(WD2797_TAG":0", fp_floppies, "35dd", floppy_image_device::default_floppy_formats)
535535   MCFG_FLOPPY_DRIVE_ADD(WD2797_TAG":1", fp_floppies, NULL,   floppy_image_device::default_floppy_formats)
536536
537   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
537   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
538538   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(fp_state, write_centronics_busy))
539539   MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(fp_state, write_centronics_select))
540540   MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(fp_state, write_centronics_fault))
trunk/src/mess/drivers/atarist.c
r241558r241559
21062106   MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":0", atari_floppies, "35dd", st_state::floppy_formats)
21072107   MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":1", atari_floppies, 0,      st_state::floppy_formats)
21082108
2109   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
2109   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
21102110   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE(MC68901_TAG, mc68901_device, i0_w))
21112111
21122112   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
r241558r241559
21972197   MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":0", atari_floppies, "35dd", st_state::floppy_formats)
21982198   MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":1", atari_floppies, 0,      st_state::floppy_formats)
21992199
2200   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
2200   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
22012201   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE(MC68901_TAG, mc68901_device, i0_w))
22022202
22032203   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
r241558r241559
22952295   MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":0", atari_floppies, "35dd", st_state::floppy_formats)
22962296   MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":1", atari_floppies, 0,      st_state::floppy_formats)
22972297
2298   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
2298   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
22992299   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE(MC68901_TAG, mc68901_device, i0_w))
23002300
23012301   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
r241558r241559
24082408   MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":0", atari_floppies, "35dd", 0, st_state::floppy_formats)
24092409   MCFG_FLOPPY_DRIVE_ADD(WD1772_TAG ":1", atari_floppies, 0,      0, st_state::floppy_formats)
24102410
2411   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
2411   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
24122412   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE(MC68901_TAG, mc68901_device, i0_w))
24132413
24142414   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
trunk/src/mess/drivers/atom.c
r241558r241559
725725   MCFG_I8271_FLOPPIES(FLOPPY_0, FLOPPY_1)
726726   MCFG_LEGACY_FLOPPY_2_DRIVES_ADD(atom_floppy_interface)
727727
728   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
728   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
729729   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(R6522_TAG, via6522_device, write_ca1))
730730   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE(R6522_TAG, via6522_device, write_pa7))
731731
r241558r241559
822822   MCFG_I8255_IN_PORTC_CB(READ8(atom_state, ppi_pc_r))
823823   MCFG_I8255_OUT_PORTC_CB(WRITE8(atom_state, ppi_pc_w))
824824
825   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
825   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
826826   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(R6522_TAG, via6522_device, write_ca1))
827827   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE(R6522_TAG, via6522_device, write_pa7))
828828
trunk/src/mess/drivers/bbc.c
r241558r241559
748748   MCFG_UPD7002_EOC_CB(bbc_state, BBC_uPD7002_EOC)
749749
750750   /* printer */
751   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
751   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
752752   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("via6522_1", via6522_device, write_ca1)) MCFG_DEVCB_INVERT /* ack seems to be inverted? */
753753
754754   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
r241558r241559
810810   MCFG_UPD7002_EOC_CB(bbc_state, BBC_uPD7002_EOC)
811811
812812   /* printer */
813   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
813   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
814814   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("via6522_1", via6522_device, write_ca1)) MCFG_DEVCB_INVERT /* ack seems to be inverted? */
815815
816816   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
r241558r241559
919919   MCFG_MC146818_ADD( "rtc", XTAL_32_768kHz )
920920
921921   /* printer */
922   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
922   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
923923   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("via6522_1", via6522_device, write_ca1)) MCFG_DEVCB_INVERT /* ack seems to be inverted? */
924924
925925   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
trunk/src/mess/drivers/bullet.c
r241558r241559
11491149   MCFG_FLOPPY_DRIVE_ADD(MB8877_TAG":6", bullet_8_floppies, NULL,      floppy_image_device::default_floppy_formats)
11501150   MCFG_FLOPPY_DRIVE_ADD(MB8877_TAG":7", bullet_8_floppies, NULL,      floppy_image_device::default_floppy_formats)
11511151
1152   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
1152   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
11531153   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(bullet_state, write_centronics_busy))
11541154   MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(bullet_state, write_centronics_perror))
11551155   MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(bullet_state, write_centronics_select))
r241558r241559
12331233   MCFG_FLOPPY_DRIVE_ADD(MB8877_TAG":8", bullet_35_floppies, NULL, floppy_image_device::default_floppy_formats)
12341234   MCFG_FLOPPY_DRIVE_ADD(MB8877_TAG":9", bullet_35_floppies, NULL, floppy_image_device::default_floppy_formats)
12351235
1236   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
1236   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
12371237   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(bullet_state, write_centronics_busy))
12381238
12391239   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
trunk/src/mess/drivers/bw12.c
r241558r241559
613613   MCFG_RS232_CTS_HANDLER(DEVWRITELINE(Z80SIO_TAG, z80dart_device, ctsb_w))
614614
615615   /* printer */
616   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
616   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
617617   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(PIA6821_TAG, pia6821_device, ca1_w))
618618   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(bw12_state, write_centronics_busy))
619619   MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(bw12_state, write_centronics_fault))
trunk/src/mess/drivers/bw2.c
r241558r241559
618618   MCFG_DEVICE_ADDRESS_MAP(AS_0, lcdc_map)
619619   MCFG_VIDEO_SET_SCREEN(SCREEN_TAG)
620620
621   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
621   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
622622   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(bw2_state, write_centronics_busy))
623623
624624   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
trunk/src/mess/drivers/cat.c
r241558r241559
12441244   MCFG_MC68681_B_TX_CALLBACK(WRITELINE(cat_state, cat_duart_txb))
12451245   MCFG_MC68681_OUTPORT_CALLBACK(WRITE8(cat_state, cat_duart_output))
12461246
1247   MCFG_CENTRONICS_ADD("ctx", centronics_printers, "printer")
1247   MCFG_CENTRONICS_ADD("ctx", centronics_devices, "printer")
12481248   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(cat_state, prn_ack_ff))
12491249   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("duartn68681", mc68681_device, ip4_w)) MCFG_DEVCB_XOR(1)
12501250   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("ctx_data_out", "ctx")
trunk/src/mess/drivers/clcd.c
r241558r241559
767767   MCFG_RS232_DSR_HANDLER(DEVWRITELINE("acia", mos6551_device, write_dsr))
768768   MCFG_RS232_CTS_HANDLER(DEVWRITELINE("via1", via6522_device, write_pb4))
769769
770   MCFG_CENTRONICS_ADD("centronics", centronics_printers, NULL)
770   MCFG_CENTRONICS_ADD("centronics", centronics_devices, NULL)
771771   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("via1", via6522_device, write_pb6)) MCFG_DEVCB_XOR(1)
772772
773773   MCFG_DEVICE_ADD("bank1", ADDRESS_MAP_BANK, 0)
trunk/src/mess/drivers/compis.c
r241558r241559
706706   MCFG_RS232_DCD_HANDLER(DEVWRITELINE(I8274_TAG, z80dart_device, dcdb_w))
707707   MCFG_RS232_CTS_HANDLER(DEVWRITELINE(I8274_TAG, z80dart_device, ctsb_w))
708708
709   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
709   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
710710   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(compis_state, write_centronics_busy))
711711   MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(compis_state, write_centronics_select))
712712   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
trunk/src/mess/drivers/crvision.c
r241558r241559
771771   MCFG_CASSETTE_ADD("cassette")
772772   MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED)
773773
774   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
774   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
775775   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit7))
776776
777777   MCFG_DEVICE_ADD("cent_status_in", INPUT_BUFFER, 0)
r241558r241559
850850   MCFG_CASSETTE_ADD("cassette")
851851   MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED)
852852
853   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
853   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
854854   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(laser2001_state, write_centronics_busy))
855855
856856   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
trunk/src/mess/drivers/einstein.c
r241558r241559
730730   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20)
731731
732732   /* printer */
733   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
733   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
734734   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(IC_I063, z80pio_device, strobe_a))
735735   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(einstein_state, write_centronics_busy))
736736   MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(einstein_state, write_centronics_perror))
trunk/src/mess/drivers/elwro800.c
r241558r241559
573573   MCFG_I8255_OUT_PORTC_CB(WRITE8(elwro800_state, i8255_port_c_w))
574574
575575   /* printer */
576   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
576   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
577577   MCFG_CENTRONICS_DATA_INPUT_BUFFER("cent_data_in")
578578   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(elwro800_state, write_centronics_ack))
579579
trunk/src/mess/drivers/ep64.c
r241558r241559
521521   MCFG_EP64_EXPANSION_BUS_SLOT_NMI_CALLBACK(INPUTLINE(Z80_TAG, INPUT_LINE_NMI))
522522   MCFG_EP64_EXPANSION_BUS_SLOT_WAIT_CALLBACK(INPUTLINE(Z80_TAG, Z80_INPUT_LINE_WAIT))
523523
524   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
524   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
525525   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(ep64_state, write_centronics_busy))
526526   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
527527
trunk/src/mess/drivers/fc100.c
r241558r241559
552552
553553   MCFG_GENERIC_CARTSLOT_ADD("cartslot", generic_plain_slot, "fc100_cart")
554554
555   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
555   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
556556   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit4))
557557   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit5))
558558   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
trunk/src/mess/drivers/fm7.c
r241558r241559
20882088   MCFG_WD17XX_INTRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_intrq_w))
20892089   MCFG_WD17XX_DRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_drq_w))
20902090
2091   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
2091   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
20922092   MCFG_SLOT_OPTION_ADD( "dsjoy", DEMPA_SHINBUNSHA_JOYSTICK )
20932093   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(fm7_state, write_centronics_busy))
20942094   MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(fm7_state, write_centronics_fault))
r241558r241559
21452145   MCFG_WD17XX_INTRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_intrq_w))
21462146   MCFG_WD17XX_DRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_drq_w))
21472147
2148   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
2148   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
21492149   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(fm7_state, write_centronics_busy))
21502150   MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(fm7_state, write_centronics_fault))
21512151   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(fm7_state, write_centronics_ack))
r241558r241559
22212221   MCFG_WD17XX_INTRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_intrq_w))
22222222   MCFG_WD17XX_DRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_drq_w))
22232223
2224   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
2224   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
22252225   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(fm7_state, write_centronics_busy))
22262226   MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(fm7_state, write_centronics_fault))
22272227   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(fm7_state, write_centronics_ack))
r241558r241559
22992299   MCFG_WD17XX_INTRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_intrq_w))
23002300   MCFG_WD17XX_DRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_drq_w))
23012301
2302   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
2302   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
23032303   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(fm7_state, write_centronics_busy))
23042304   MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(fm7_state, write_centronics_fault))
23052305   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(fm7_state, write_centronics_ack))
r241558r241559
23532353   MCFG_WD17XX_INTRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_intrq_w))
23542354   MCFG_WD17XX_DRQ_CALLBACK(WRITELINE(fm7_state, fm7_fdc_drq_w))
23552355
2356   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
2356   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
23572357   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(fm7_state, write_centronics_busy))
23582358   MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(fm7_state, write_centronics_fault))
23592359   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(fm7_state, write_centronics_ack))
trunk/src/mess/drivers/fp1100.c
r241558r241559
674674   MCFG_MC6845_UPDATE_ROW_CB(fp1100_state, fp1100_update_row)
675675
676676   /* Printer */
677   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
677   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
678678   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(fp1100_state, centronics_busy_w))
679679   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
680680
trunk/src/mess/drivers/isbc.c
r241558r241559
283283   MCFG_I8255_IN_PORTB_CB(DEVREAD8("cent_status_in", input_buffer_device, read))
284284   MCFG_I8255_OUT_PORTC_CB(WRITE8(isbc_state, ppi_c_w))
285285
286   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
286   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
287287   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(isbc_state, write_centronics_ack))
288288   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit7))
289289   MCFG_CENTRONICS_FAULT_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit6))
trunk/src/mess/drivers/jtc.c
r241558r241559
735735   MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED)
736736
737737   /* printer */
738   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
738   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
739739   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(jtc_state, write_centronics_busy))
740740MACHINE_CONFIG_END
741741
trunk/src/mess/drivers/kaypro.c
r241558r241559
207207   /* devices */
208208   MCFG_QUICKLOAD_ADD("quickload", kaypro_state, kaypro, "com,cpm", 3)
209209
210   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
210   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
211211   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(kaypro_state, write_centronics_busy))
212212
213213   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
r241558r241559
281281
282282   MCFG_QUICKLOAD_ADD("quickload", kaypro_state, kaypro, "com,cpm", 3)
283283
284   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
284   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
285285   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(kaypro_state, write_centronics_busy))
286286
287287   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
trunk/src/mess/drivers/kyocera.c
r241558r241559
13761376   MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, NULL)
13771377   MCFG_RS232_RXD_HANDLER(DEVWRITELINE(IM6402_TAG, im6402_device, write_rri))
13781378
1379   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
1379   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
13801380   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(kc85_state, write_centronics_busy))
13811381   MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(kc85_state, write_centronics_select))
13821382
r241558r241559
14261426   MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, NULL)
14271427   MCFG_RS232_RXD_HANDLER(DEVWRITELINE(IM6402_TAG, im6402_device, write_rri))
14281428
1429   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
1429   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
14301430   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(kc85_state, write_centronics_busy))
14311431   MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(kc85_state, write_centronics_select))
14321432
r241558r241559
14861486   MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, NULL)
14871487   MCFG_RS232_RXD_HANDLER(DEVWRITELINE(IM6402_TAG, im6402_device, write_rri))
14881488
1489   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
1489   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
14901490   MCFG_CASSETTE_ADD("cassette")
14911491   MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED)
14921492
r241558r241559
15501550   MCFG_RS232_DSR_HANDLER(DEVWRITELINE(I8251_TAG, i8251_device, write_dsr))
15511551
15521552//  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")
15541554   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(tandy200_state, write_centronics_busy))
15551555   MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(tandy200_state, write_centronics_select))
15561556
trunk/src/mess/drivers/m5.c
r241558r241559
595595   // CK0 = EXINT, CK1 = GND, CK2 = TCK, CK3 = VDP INT
596596   // ZC2 = EXCLK
597597
598   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
598   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
599599   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(m5_state, write_centronics_busy))
600600
601601   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
trunk/src/mess/drivers/mbee.c
r241558r241559
699699   MCFG_QUICKLOAD_ADD("quickload", mbee_state, mbee, "mwb,com,bee", 2)
700700   MCFG_QUICKLOAD_ADD("quickload2", mbee_state, mbee_z80bin, "bin", 2)
701701
702   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
702   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
703703
704704   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
705705
r241558r241559
757757   MCFG_QUICKLOAD_ADD("quickload", mbee_state, mbee, "mwb,com,bee", 2)
758758   MCFG_QUICKLOAD_ADD("quickload2", mbee_state, mbee_z80bin, "bin", 2)
759759
760   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
760   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
761761
762762   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
763763
trunk/src/mess/drivers/mc1000.c
r241558r241559
453453   MCFG_CASSETTE_ADD("cassette")
454454   MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED)
455455
456   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
456   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
457457   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(mc1000_state, write_centronics_busy))
458458
459459   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
trunk/src/mess/drivers/mc1502.c
r241558r241559
295295   MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0)
296296   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
297297
298   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
298   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
299299   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit6))
300300   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit7))
301301   MCFG_CENTRONICS_FAULT_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit4))
trunk/src/mess/drivers/msx.c
r241558r241559
517517
518518
519519#include "includes/msx.h"
520#include "bus/centronics/covox.h"
521520#include "formats/dsk_dsk.h"
522521#include "formats/dmk_dsk.h"
523522#include "machine/msx_matsushita.h"
r241558r241559
13511350   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
13521351
13531352   /* 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")
13561354   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit1))
13571355
13581356   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
r241558r241559
14401438   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
14411439
14421440   /* 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")
14451442   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit1))
14461443
14471444   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
r241558r241559
15051502   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
15061503
15071504   /* 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")
15101506   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit1))
15111507
15121508   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
trunk/src/mess/drivers/mtx.c
r241558r241559
312312
313313   MCFG_TIMER_DRIVER_ADD_PERIODIC("z80ctc_timer", mtx_state, ctc_tick, attotime::from_hz(XTAL_4MHz/13))
314314
315   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
315   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
316316   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(mtx_state, write_centronics_busy))
317317   MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(mtx_state, write_centronics_fault))
318318   MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(mtx_state, write_centronics_perror))
trunk/src/mess/drivers/mz700.c
r241558r241559
406406   MCFG_Z80PIO_OUT_PA_CB(WRITE8(mz_state, mz800_z80pio_port_a_w))
407407   MCFG_Z80PIO_OUT_PB_CB(DEVWRITE8("cent_data_out", output_latch_device, write))
408408
409   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
409   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
410410
411411   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
412412MACHINE_CONFIG_END
trunk/src/mess/drivers/nc.c
r241558r241559
14231423   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
14241424
14251425   /* printer */
1426   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
1426   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
14271427   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(nc_state, write_nc100_centronics_ack))
14281428   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(nc_state, write_centronics_busy))
14291429
trunk/src/mess/drivers/oric.c
r241558r241559
793793   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
794794
795795   /* printer */
796   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
796   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
797797   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("via6522", via6522_device, write_ca1))
798798   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
799799
trunk/src/mess/drivers/pc1512.c
r241558r241559
12591259   MCFG_INS8250_OUT_RTS_CB(DEVWRITELINE(RS232_TAG, rs232_port_device, write_rts))
12601260   MCFG_INS8250_OUT_INT_CB(DEVWRITELINE(I8259A2_TAG, pic8259_device, ir4_w))
12611261
1262   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
1262   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
12631263   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(pc1512_state, write_centronics_ack))
12641264   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(pc1512_state, write_centronics_busy))
12651265   MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(pc1512_state, write_centronics_perror))
r241558r241559
13801380   MCFG_INS8250_OUT_INT_CB(DEVWRITELINE(I8259A2_TAG, pic8259_device, ir4_w))
13811381
13821382
1383   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
1383   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
13841384   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(pc1512_state, write_centronics_ack))
13851385   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(pc1512_state, write_centronics_busy))
13861386   MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(pc1512_state, write_centronics_perror))
trunk/src/mess/drivers/pc8001.c
r241558r241559
508508   MCFG_UPD3301_DRAW_CHARACTER_CALLBACK_OWNER(pc8001_state, pc8001_display_pixels)
509509   MCFG_UPD3301_VRTC_CALLBACK(DEVWRITELINE(I8257_TAG, i8257_device, dreq2_w))
510510
511   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
511   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
512512   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(pc8001_state, write_centronics_ack))
513513   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(pc8001_state, write_centronics_busy))
514514
r241558r241559
557557   MCFG_UPD3301_DRAW_CHARACTER_CALLBACK_OWNER(pc8001_state, pc8001_display_pixels)
558558   MCFG_UPD3301_VRTC_CALLBACK(DEVWRITELINE(I8257_TAG, i8257_device, dreq2_w))
559559
560   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
560   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
561561
562562   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
563563
trunk/src/mess/drivers/pc8801.c
r241558r241559
26052605   MCFG_I8214_ADD(I8214_TAG, MASTER_CLOCK, pic_intf)
26062606   #endif
26072607   MCFG_UPD1990A_ADD(UPD1990A_TAG, XTAL_32_768kHz, NULL, NULL)
2608   //MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
2608   //MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
26092609   MCFG_CASSETTE_ADD("cassette")
26102610   MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_MUTED)
26112611
trunk/src/mess/drivers/pencil2.c
r241558r241559
304304   MCFG_GENERIC_CARTSLOT_ADD("cartslot", generic_plain_slot, "pencil2_cart")
305305
306306   /* printer */
307   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
307   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
308308   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(pencil2_state, write_centronics_ack))
309309   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(pencil2_state, write_centronics_busy))
310310
trunk/src/mess/drivers/phc25.c
r241558r241559
322322   MCFG_CASSETTE_FORMATS(phc25_cassette_formats)
323323   MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED)
324324
325   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
325   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
326326   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(phc25_state, write_centronics_busy))
327327
328328   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
trunk/src/mess/drivers/portfoli.c
r241558r241559
838838   MCFG_I8255_OUT_PORTB_CB(DEVWRITE8("cent_ctrl_out", output_latch_device, write))
839839   MCFG_I8255_IN_PORTC_CB(DEVREAD8("cent_status_in", input_buffer_device, read))
840840
841   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
841   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
842842   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit5))
843843   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit4))
844844   MCFG_CENTRONICS_FAULT_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit3))
trunk/src/mess/drivers/prof180x.c
r241558r241559
254254   MCFG_FLOPPY_DRIVE_ADD(FDC9268_TAG ":3", prof180x_floppies, "35dd", floppy_image_device::default_floppy_formats)
255255
256256   //MCFG_RTC8583_ADD(MK3835_TAG, rtc_intf)
257   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
257   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
258258
259259   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
260260
trunk/src/mess/drivers/px4.c
r241558r241559
14101410   MCFG_RAM_DEFAULT_SIZE("64k")
14111411
14121412   // centronics printer
1413   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
1413   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
14141414   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(px4_state, write_centronics_busy))
14151415   MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(px4_state, write_centronics_perror))
14161416
trunk/src/mess/drivers/rmnimbus.c
r241558r241559
178178   MCFG_VIA6522_CA2_HANDLER(DEVWRITELINE(CENTRONICS_TAG, centronics_device, write_strobe))
179179   MCFG_VIA6522_IRQ_HANDLER(DEVWRITELINE(MAINCPU_TAG, i80186_cpu_device, int3_w))
180180
181   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
181   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
182182   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(VIA_TAG, via6522_device, write_ca1)) MCFG_DEVCB_INVERT
183183
184184   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
trunk/src/mess/drivers/sage2.c
r241558r241559
496496   MCFG_UPD765A_ADD(UPD765_TAG, false, false)
497497   MCFG_UPD765_INTRQ_CALLBACK(WRITELINE(sage2_state, fdc_irq))
498498
499   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
499   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
500500   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(sage2_state, write_centronics_ack))
501501   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(sage2_state, write_centronics_busy))
502502   MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(sage2_state, write_centronics_perror))
trunk/src/mess/drivers/samcoupe.c
r241558r241559
543543   MCFG_PALETTE_INIT_OWNER(samcoupe_state, samcoupe)
544544
545545   /* devices */
546   MCFG_CENTRONICS_ADD("lpt1", centronics_printers, "printer")
546   MCFG_CENTRONICS_ADD("lpt1", centronics_devices, "printer")
547547   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(samcoupe_state, write_lpt1_busy))
548548
549549   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("lpt1_data_out", "lpt1")
550550
551   MCFG_CENTRONICS_ADD("lpt2", centronics_printers, "printer")
551   MCFG_CENTRONICS_ADD("lpt2", centronics_devices, "printer")
552552   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(samcoupe_state, write_lpt2_busy))
553553
554554   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("lpt2_data_out", "lpt2")
trunk/src/mess/drivers/sg1000.c
r241558r241559
855855   MCFG_UPD765A_ADD(UPD765_TAG, false, false)
856856   MCFG_FLOPPY_DRIVE_ADD(UPD765_TAG ":0", sf7000_floppies, "3ssdd", sf7000_state::floppy_formats)
857857
858   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
858   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
859859
860860   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
861861
trunk/src/mess/drivers/sorcerer.c
r241558r241559
426426   MCFG_AY31015_RX_CLOCK(4800.0)
427427
428428   /* printer */
429   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "covox")
430   MCFG_SLOT_OPTION_ADD( "covox", CENTRONICS_COVOX )
429   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "covox")
431430
432431   /* The use of the parallel port as a general purpose port is not emulated.
433432   Currently the only use is to read the printer status in the Centronics CENDRV bios routine. */
trunk/src/mess/drivers/super80.c
r241558r241559
719719   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
720720
721721   /* printer */
722   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
722   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
723723   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit7))
724724
725725   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
r241558r241559
806806   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
807807
808808   /* printer */
809   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
809   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
810810   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit7))
811811
812812   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
trunk/src/mess/drivers/svi318.c
r241558r241559
295295   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
296296
297297   /* printer */
298   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
298   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
299299   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(svi318_state, write_centronics_busy))
300300
301301   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
r241558r241559
424424   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
425425
426426   /* printer */
427   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
427   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
428428   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(svi318_state, write_centronics_busy))
429429
430430   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
trunk/src/mess/drivers/tandy2k.c
r241558r241559
844844   MCFG_FLOPPY_DRIVE_ADD(I8272A_TAG ":0", tandy2k_floppies, "525qd", tandy2k_state::floppy_formats)
845845   MCFG_FLOPPY_DRIVE_ADD(I8272A_TAG ":1", tandy2k_floppies, "525qd", tandy2k_state::floppy_formats)
846846
847   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
847   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
848848   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(tandy2k_state, write_centronics_ack))
849849   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(tandy2k_state, write_centronics_busy))
850850   MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(tandy2k_state, write_centronics_perror))
trunk/src/mess/drivers/thomson.c
r241558r241559
14511451   MCFG_DEVICE_MODIFY("mc6846")
14521452   MCFG_MC6846_OUT_PORT_CB(WRITE8(thomson_state, to9_timer_port_out))
14531453
1454   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
1454   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
14551455   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(thomson_state, write_centronics_busy))
14561456
14571457   /* internal ram */
r241558r241559
16701670   MCFG_PIA_CB2_HANDLER(NULL)
16711671   MCFG_PIA_IRQA_HANDLER(NULL)
16721672
1673   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
1673   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
16741674   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(thomson_state, write_centronics_busy))
16751675
16761676   MCFG_DEVICE_MODIFY("mc6846")
r241558r241559
18261826   MCFG_PIA_IRQA_HANDLER(NULL)
18271827   MCFG_PIA_IRQB_HANDLER(WRITELINE(thomson_state, thom_firq_1))
18281828
1829   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
1829   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
18301830   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(thomson_state, write_centronics_busy))
18311831
18321832   MCFG_DEVICE_MODIFY("mc6846")
r241558r241559
21762176   MCFG_PIA_WRITEPA_HANDLER(WRITE8(thomson_state, mo6_game_porta_out))
21772177   MCFG_PIA_CB2_HANDLER(WRITELINE(thomson_state, mo6_game_cb2_out))
21782178
2179   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
2179   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
21802180   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(thomson_state, write_centronics_busy))
21812181
21822182   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
r241558r241559
24162416   MCFG_DEVICE_MODIFY(THOM_PIA_GAME)
24172417   MCFG_PIA_WRITEPA_HANDLER(WRITE8(thomson_state, mo6_game_porta_out))
24182418
2419   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
2419   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
24202420   MCFG_CENTRONICS_DATA_INPUT_BUFFER("cent_data_in")
24212421   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(thomson_state, write_centronics_busy))
24222422
trunk/src/mess/drivers/tiki100.c
r241558r241559
686686   MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, NULL)
687687   MCFG_RS232_RXD_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, rxb_w))
688688
689   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
689   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
690690   MCFG_CENTRONICS_DATA_INPUT_BUFFER("cent_data_in")
691691   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(tiki100_state, write_centronics_ack))
692692   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(tiki100_state, write_centronics_busy))
trunk/src/mess/drivers/tmc600.c
r241558r241559
267267   MCFG_FRAGMENT_ADD(tmc600_video)
268268
269269   /* devices */
270   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
270   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
271271
272272   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
273273
trunk/src/mess/drivers/trs80.c
r241558r241559
601601
602602   MCFG_LEGACY_FLOPPY_4_DRIVES_ADD(trs80_floppy_interface)
603603
604   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
604   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
605605   MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit7))
606606   MCFG_CENTRONICS_PERROR_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit6))
607607   MCFG_CENTRONICS_SELECT_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit5))
trunk/src/mess/drivers/trs80m2.c
r241558r241559
756756   MCFG_Z80SIO0_ADD(Z80SIO_TAG, XTAL_8MHz/2, 0, 0, 0, 0)
757757   MCFG_Z80DART_OUT_INT_CB(INPUTLINE(Z80_TAG, INPUT_LINE_IRQ0))
758758
759   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
759   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
760760   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(Z80PIO_TAG, z80pio_device, strobe_b))
761761   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(trs80m2_state, write_centronics_busy))
762762   MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(trs80m2_state, write_centronics_fault))
r241558r241559
848848
849849   MCFG_PIC8259_ADD(AM9519A_TAG, INPUTLINE(M68000_TAG, M68K_IRQ_5), VCC, NULL )
850850
851   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
851   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
852852   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(Z80PIO_TAG, z80pio_device, strobe_b))
853853   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(trs80m2_state, write_centronics_busy))
854854   MCFG_CENTRONICS_FAULT_HANDLER(WRITELINE(trs80m2_state, write_centronics_fault))
trunk/src/mess/drivers/tutor.c
r241558r241559
720720   MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
721721   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
722722
723   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
723   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
724724   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(tutor_state, write_centronics_busy))
725725
726726   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
trunk/src/mess/drivers/tvc.c
r241558r241559
788788   MCFG_TVC_SOUND_SNDINT_CALLBACK(WRITELINE(tvc_state, int_ff_set))
789789   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
790790
791   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
791   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
792792   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(tvc_state, centronics_ack))
793793
794794   MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
trunk/src/mess/drivers/v1050.c
r241558r241559
11291129   MCFG_SOFTWARE_LIST_ADD("hdd_list", "v1050_hdd")
11301130
11311131   // printer
1132   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
1132   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
11331133   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(v1050_state, write_centronics_busy))
11341134   MCFG_CENTRONICS_PERROR_HANDLER(WRITELINE(v1050_state, write_centronics_perror))
11351135
trunk/src/mess/drivers/wangpc.c
r241558r241559
11271127   MCFG_FLOPPY_DRIVE_ADD(UPD765_TAG ":0", wangpc_floppies, "525dd", wangpc_state::floppy_formats)
11281128   MCFG_FLOPPY_DRIVE_ADD(UPD765_TAG ":1", wangpc_floppies, "525dd", wangpc_state::floppy_formats)
11291129
1130   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
1130   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
11311131   MCFG_CENTRONICS_DATA_INPUT_BUFFER("cent_data_in")
11321132   MCFG_CENTRONICS_ACK_HANDLER(WRITELINE(wangpc_state, write_centronics_ack))
11331133   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(wangpc_state, write_centronics_busy))
trunk/src/mess/drivers/xor100.c
r241558r241559
558558   MCFG_FLOPPY_DRIVE_ADD(WD1795_TAG":2", xor100_floppies, NULL,    floppy_image_device::default_floppy_formats)
559559   MCFG_FLOPPY_DRIVE_ADD(WD1795_TAG":3", xor100_floppies, NULL,    floppy_image_device::default_floppy_formats)
560560
561   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "printer")
561   MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
562562   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(I8255A_TAG, i8255_device, pc4_w))
563563   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(xor100_state, write_centronics_busy))
564564   MCFG_CENTRONICS_SELECT_HANDLER(WRITELINE(xor100_state, write_centronics_select))
trunk/src/mess/includes/sorcerer.h
r241558r241559
1313#include "sound/wave.h"
1414#include "machine/ay31015.h"
1515#include "bus/centronics/ctronics.h"
16#include "bus/centronics/covox.h"
1716#include "machine/ram.h"
1817#include "imagedev/cassette.h"
1918#include "imagedev/snapquik.h"
trunk/src/mess/machine/thomson.c
r241558r241559
638638   MCFG_RS232_CTS_HANDLER(WRITELINE(to7_io_line_device, write_cts))
639639   MCFG_RS232_DSR_HANDLER(WRITELINE(to7_io_line_device, write_dsr))
640640
641   MCFG_CENTRONICS_ADD("centronics", centronics_printers, "printer")
641   MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
642642   MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(THOM_PIA_IO, pia6821_device, cb1_w))
643643   MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(to7_io_line_device, write_centronics_busy))
644644


Previous 199869 Revisions Next


© 1997-2024 The MAME Team