|
|
| version 1.2, 2004/08/04 10:49:21 | version 1.4, 2004/08/07 07:19:56 |
|---|---|
| Line 67 void x1_ctc_int(void) { | Line 67 void x1_ctc_int(void) { |
| else if (ctcint_flg) { | else if (ctcint_flg) { |
| ctcint_flg = 0; | ctcint_flg = 0; |
| ch->int_flag ^= bit; | ch->int_flag ^= bit; |
| TRACEOUT(("ctc%u int -- %d", 3 - r, i)); | // TRACEOUT(("ctc%u int -- %d", 3 - r, i)); |
| Z80_INT((REG8)(ch->vector + (i << 1))); | Z80_INT((REG8)(ch->vector + (i << 1))); |
| } | } |
| } | } |
| Line 116 static void ctcch_o(CTCCH *ch, UINT port | Line 116 static void ctcch_o(CTCCH *ch, UINT port |
| static REG8 ctcch_i(CTCCH *ch, UINT port) { | static REG8 ctcch_i(CTCCH *ch, UINT port) { |
| UINT scale; | REG8 scale; |
| port &= 3; | port &= 3; |
| if (port != 3) { | if (port != 3) { |
| Line 158 void IOOUTCALL ctc_o(UINT port, REG8 val | Line 158 void IOOUTCALL ctc_o(UINT port, REG8 val |
| CTCCH *ch; | CTCCH *ch; |
| TRACEOUT(("ctc - %.4x %.2x [%.4x]", port, value, Z80_PC)); | // TRACEOUT(("ctc - %.4x %.2x [%.4x]", port, value, Z80_PC)); |
| ch = getctcch(port); | ch = getctcch(port); |
| if (ch != NULL) { | if (ch != NULL) { |
| ctcch_o(ch, port, value); | ctcch_o(ch, port, value); |