src/mess/machine/coco.c
| r2968 | r2969 | |
| 1143 | 1143 | return device_list_find_by_tag(machine->config->devicelist, BITBANGER, "bitbanger"); |
| 1144 | 1144 | } |
| 1145 | 1145 | |
| 1146 | | static const device_config *printer_image(void) |
| 1146 | static const device_config *printer_image(running_machine *machine) |
| 1147 | 1147 | { |
| 1148 | | return image_from_devtype_and_index(IO_PRINTER, 0); |
| 1148 | return device_list_find_by_tag(machine->config->devicelist, PRINTER, "printer"); |
| 1149 | 1149 | } |
| 1150 | 1150 | |
| 1151 | 1151 | static int get_soundmux_status(void) |
| r2968 | r2969 | |
| 1465 | 1465 | /* If strobe bit is high send data from pia0 port b to dragon parallel printer */ |
| 1466 | 1466 | if (data & 0x02) |
| 1467 | 1467 | { |
| 1468 | | printer_output(printer_image(), pia_get_output_b(0)); |
| 1468 | printer_output(printer_image(Machine), pia_get_output_b(0)); |
| 1469 | 1469 | } |
| 1470 | 1470 | } |
| 1471 | 1471 | |