src/mess/machine/ti99/tn_usbsm.c
| r9739 | r9740 | |
| 52 | 52 | int cru_register; |
| 53 | 53 | int tms9995_mode; |
| 54 | 54 | |
| 55 | | UINT8 input_latch; |
| 55 | UINT16 input_latch; |
| 56 | 56 | |
| 57 | | UINT8 output_latch; |
| 57 | UINT16 output_latch; |
| 58 | 58 | UINT16 *ram; |
| 59 | 59 | |
| 60 | 60 | /* Callback lines to the main system. */ |
| r9739 | r9740 | |
| 269 | 269 | } |
| 270 | 270 | |
| 271 | 271 | /* return latched input */ |
| 272 | | *value = (offset & 1) ? card->input_latch : (card->input_latch >> 8); |
| 272 | *value = ((offset & 1) ? (card->input_latch) : (card->input_latch >> 8)) & 0xff; |
| 273 | 273 | } |
| 274 | 274 | } |
| 275 | 275 | |