Diff for /xmil/ievent.c between versions 1.2 and 1.3

version 1.2, 2004/08/11 13:53:53 version 1.3, 2004/08/11 16:09:04
Line 22  static BRESULT dummy(UINT id) { Line 22  static BRESULT dummy(UINT id) {
   
 static const IEVENTFN ieventfn[IEVENT_MAX] = {  static const IEVENTFN ieventfn[IEVENT_MAX] = {
                                 dummy,                  // IEVENT_SIO                                  dummy,                  // IEVENT_SIO
                                 dummy,                  // IEVENT_DMA                                  ieitem_dmac,    // IEVENT_DMA
                                 ieitem_ctc,             // IEVENT_CTC0                                  ieitem_ctc,             // IEVENT_CTC0
                                 ieitem_ctc,             // IEVENT_CTC1                                  ieitem_ctc,             // IEVENT_CTC1
                                 ieitem_ctc,             // IEVENT_CTC2                                  ieitem_ctc,             // IEVENT_CTC2
Line 54  void ievent_progress(void) { Line 54  void ievent_progress(void) {
   
 void ievent_setbit(UINT bit) {  void ievent_setbit(UINT bit) {
   
         if (CPU_REQIRQ & bit) {          UINT    r;
   
           r = CPU_REQIRQ;
           if (r & bit) {
                 return;                  return;
         }          }
         CPU_REQIRQ |= bit;          CPU_REQIRQ |= bit;
         if (Z80_ABLEINTERRUPT()) {          if ((!r) && (Z80_ABLEINTERRUPT())) {
                 nevent_forceexit();                  nevent_forceexit();
         }          }
 }  }

Removed from v.1.2  
changed lines
  Added in v.1.3


RetroPC.NET-CVS <cvs@retropc.net>