src/mess/machine/apollo.c
| r14541 | r14542 | |
| 1067 | 1067 | static TIMER_CALLBACK(kbd_timer_callback) |
| 1068 | 1068 | { |
| 1069 | 1069 | |
| 1070 | | #if defined(__linux__) |
| 1070 | #if 0 //defined(__linux__) |
| 1071 | 1071 | device_t *device = (device_t *) ptr; |
| 1072 | 1072 | UINT8 data; |
| 1073 | 1073 | |
| r14541 | r14542 | |
| 1125 | 1125 | sio_input_data = apollo_get_ram_config_byte(); |
| 1126 | 1126 | sio_output_data = 0xff; |
| 1127 | 1127 | |
| 1128 | | #if defined(__linux__) |
| 1128 | #if 0 //defined(__linux__) |
| 1129 | 1129 | // FIXME: unavailable in mingw |
| 1130 | 1130 | // set stdin to nonblocking to allow polling in sio_poll_rxb |
| 1131 | 1131 | fcntl(STDIN_FILENO, F_SETFL, fcntl(STDIN_FILENO, F_GETFL) | O_NONBLOCK); |