]> git.sur5r.net Git - cc65/blobdiff - include/atari.h
Added SegDef struct and a few functions to the segdefs module
[cc65] / include / atari.h
index 735433e27cac84414101da64ad704eea457c3ee9..0840468fd0d56b8e4230d6b17338d8505eef414f 100644 (file)
@@ -133,6 +133,7 @@ extern void __fastcall__ setcolor_low (unsigned char color_reg, unsigned char co
 extern unsigned char __fastcall__ getcolor (unsigned char color_reg);
 
 /* other screen functions */
+extern int  __fastcall__ graphics(unsigned char mode); /* mode value same as in BASIC */
 extern void __fastcall__ scroll (signed char numlines);
                                           /* numlines > 0  scrolls up */
                                           /* numlines < 0  scrolls down */
@@ -190,7 +191,7 @@ extern unsigned char get_tv(void);     /* get TV system */
 /* device control block */
 struct __dcb {
     unsigned char device;     /* device id */
-    unsigned char unit;       /* unix number */
+    unsigned char unit;       /* unit number */
     unsigned char command;    /* command */
     unsigned char status;     /* command type / status return */
     void          *buffer;    /* pointer to buffer */