Diff for /np2/io/pic.h between versions 1.4 and 1.5

version 1.4, 2003/12/08 00:55:32 version 1.5, 2004/01/29 00:27:29
Line 3  typedef struct { Line 3  typedef struct {
         int             levels;          int             levels;
         UINT8   level[8];          UINT8   level[8];
   
         int             levelsbak;  
         UINT8   levelbak[8];  
   
         UINT8   pry[8];          UINT8   pry[8];
         UINT8   icw[4];          UINT8   icw[4];
   
Line 23  typedef struct { Line 20  typedef struct {
   
 typedef struct {  typedef struct {
         _PICITEM        pi[2];          _PICITEM        pi[2];
         BYTE            ext_irq;  
 } _PIC, *PIC;  } _PIC, *PIC;
   
 enum {  enum {
Line 54  enum { Line 50  enum {
         IRQ_INT6                        = 0x0d          IRQ_INT6                        = 0x0d
 };  };
   
 #define PICEXISTINTR    ((!pic.ext_irq) &&                                                      \  #define PICEXISTINTR    ((pic.pi[0].irr & (~pic.pi[0].imr)) ||          \
                                                 ((pic.pi[0].irr & (~pic.pi[0].imr)) ||          \                                                  (pic.pi[1].irr & (~pic.pi[1].imr)))
                                                 (pic.pi[1].irr & (~pic.pi[1].imr))))  
   
   
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" {  extern "C" {
 #endif  #endif
   
 void extirq_push(void);  
 void extirq_pop(void);  
   
 void pic_irq(void);  void pic_irq(void);
 void pic_setirq(REG8 irq);  void pic_setirq(REG8 irq);
 void pic_resetirq(REG8 irq);  void pic_resetirq(REG8 irq);
 void pic_registext(REG8 irq);  
   
 void picmask(NEVENTITEM item);  void picmask(NEVENTITEM item);
   

Removed from v.1.4  
changed lines
  Added in v.1.5


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