]> git.sur5r.net Git - cc65/blobdiff - include/_antic.h
atari: split color.s into bordercolor.s and bgcolor.s
[cc65] / include / _antic.h
index f9d880b0a59bdf5190cd814f3c490973f6a67816..717f7f820f8ce6d6fe595565a5434f6c299f1510 100644 (file)
@@ -64,10 +64,15 @@ struct __antic {
     unsigned char   penh;   /* (R) light pen horizontal position */
     unsigned char   penv;   /* (R) light pen vertical position */
     unsigned char   nmien;  /* (W) non-maskable interrupt enable */
-    unsigned char   nmires;
-    /* (W) ("NMIRES") nmi reset -- clears the interrupt request register; resets all of the NMI status together
-    ** (R) ("NMIST") nmi status -- holds cause for the NMI interrupt
-    */
+    union {
+        /* (W) ("NMIRES") nmi reset -- clears the interrupt request register;
+        ** resets all of the NMI status together
+        */
+        unsigned char   nmires;
+
+        /* (R) ("NMIST") nmi status -- holds cause for the NMI interrupt */
+        unsigned char   nmist;
+    };
 };