From fc253be75388ae129cf50d0e672796357b6c61eb Mon Sep 17 00:00:00 2001 From: cpg Date: Sat, 6 Oct 2001 23:14:29 +0000 Subject: [PATCH] add graphics() function git-svn-id: svn://svn.cc65.org/cc65/trunk@1014 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/atari.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.39.5