trunk/src/mess/drivers/pc9801.c
| r19285 | r19286 | |
| 780 | 780 | } |
| 781 | 781 | else // odd |
| 782 | 782 | { |
| 783 | | printf("Write to DMA bank register %d %02x\n",((offset >> 1)+1) & 3,data); |
| 783 | // printf("Write to DMA bank register %d %02x\n",((offset >> 1)+1) & 3,data); |
| 784 | 784 | m_dma_offset[((offset >> 1)+1) & 3] = data & 0x0f; |
| 785 | 785 | } |
| 786 | 786 | } |
| r19285 | r19286 | |
| 1010 | 1010 | if((offset & 1) == 0) |
| 1011 | 1011 | { |
| 1012 | 1012 | //printf("Read to SASI port [%02x]\n",offset+0x80); |
| 1013 | | return 0; |
| 1013 | return 0x20; |
| 1014 | 1014 | } |
| 1015 | 1015 | else // odd |
| 1016 | 1016 | { |
| r19285 | r19286 | |
| 2903 | 2903 | { |
| 2904 | 2904 | if(m_vrtc_irq_mask) |
| 2905 | 2905 | { |
| 2906 | pic8259_ir2_w(machine().device("pic8259_master"), 0); |
| 2906 | 2907 | pic8259_ir2_w(machine().device("pic8259_master"), 1); |
| 2907 | 2908 | m_vrtc_irq_mask = 0; // TODO: this irq auto-masks? |
| 2908 | 2909 | } |
| 2909 | | else |
| 2910 | | pic8259_ir2_w(machine().device("pic8259_master"), 0); |
| 2910 | // else |
| 2911 | // pic8259_ir2_w(machine().device("pic8259_master"), 0); |
| 2911 | 2912 | } |
| 2912 | 2913 | |
| 2913 | 2914 | |