src/mess/drivers/pcw.c
| r8972 | r8973 | |
| 589 | 589 | /* from Jacob Nevins docs */ |
| 590 | 590 | UINT8 ret = pcw_get_sys_status(space->machine); |
| 591 | 591 | |
| 592 | | LOG(("SYS: Status port returning %02x\n",ret)); |
| 593 | 592 | return ret; |
| 594 | 593 | } |
| 595 | 594 | |
| r8972 | r8973 | |
| 733 | 732 | /* Keyboard data is sent in serial from the MCU through the keyboard port, to the ASIC |
| 734 | 733 | Sends a string of 12-bit sequences, first 4 bits are the RAM location (from &3ff0), |
| 735 | 734 | then 8 bits for the data to be written there. */ |
| 736 | | logerror("KB: Transmitting bit #%i [%i]\n",mcu_transmit_count,bit); |
| 737 | 735 | seq = mcu_transmit_count % 12; |
| 738 | 736 | if(seq < 4) |
| 739 | 737 | { |
| r8972 | r8973 | |
| 755 | 753 | { |
| 756 | 754 | mcu_keyboard_data[selected] = buffer; |
| 757 | 755 | mcu_transmit_count = 0; |
| 758 | | logerror("KB: Recieved data byte #%i [%02x]\n",selected,buffer); |
| 759 | 756 | } |
| 760 | 757 | } |
| 761 | 758 | |