From: cpg Date: Sat, 6 Oct 2001 23:14:29 +0000 (+0000) Subject: add graphics() function X-Git-Tag: V2.12.0~2576 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fc253be75388ae129cf50d0e672796357b6c61eb;p=cc65 add graphics() function git-svn-id: svn://svn.cc65.org/cc65/trunk@1014 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/atari.h b/include/atari.h index 735433e27..0840468fd 100644 --- a/include/atari.h +++ b/include/atari.h @@ -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 */