src/mess/machine/ctronics.c
| r4249 | r4250 | |
| 227 | 227 | |
| 228 | 228 | WRITE_LINE_DEVICE_HANDLER( centronics_prime_w )
|
| 229 | 229 | {
|
| 230 | | assert(((const centronics_interface *)device->inline_config)->is_ibmpc == FALSE);
|
| 230 | assert(((const centronics_interface *)device->static_config)->is_ibmpc == FALSE);
|
| 231 | 231 | |
| 232 | 232 | /* reset printer if line is low */
|
| 233 | 233 | if (state == FALSE)
|
| r4249 | r4250 | |
| 242 | 242 | |
| 243 | 243 | WRITE_LINE_DEVICE_HANDLER( centronics_init_w )
|
| 244 | 244 | {
|
| 245 | | assert(((const centronics_interface *)device->inline_config)->is_ibmpc == TRUE);
|
| 245 | assert(((const centronics_interface *)device->static_config)->is_ibmpc == TRUE);
|
| 246 | 246 | |
| 247 | 247 | /* reset printer if line is low */
|
| 248 | 248 | if (state == FALSE)
|
| r4249 | r4250 | |
| 257 | 257 | WRITE_LINE_DEVICE_HANDLER( centronics_autofeed_w )
|
| 258 | 258 | {
|
| 259 | 259 | centronics_state *centronics = get_safe_token(device);
|
| 260 | | assert(((const centronics_interface *)device->inline_config)->is_ibmpc == TRUE);
|
| 260 | assert(((const centronics_interface *)device->static_config)->is_ibmpc == TRUE);
|
| 261 | 261 | |
| 262 | 262 | centronics->auto_fd = state;
|
| 263 | 263 | }
|