1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-01 00:57:11 +00:00

add graphics() function

git-svn-id: svn://svn.cc65.org/cc65/trunk@1014 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg 2001-10-06 23:14:29 +00:00
parent 404dd3ca41
commit fc253be753

View 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); extern unsigned char __fastcall__ getcolor (unsigned char color_reg);
/* other screen functions */ /* other screen functions */
extern int __fastcall__ graphics(unsigned char mode); /* mode value same as in BASIC */
extern void __fastcall__ scroll (signed char numlines); extern void __fastcall__ scroll (signed char numlines);
/* numlines > 0 scrolls up */ /* numlines > 0 scrolls up */
/* numlines < 0 scrolls down */ /* numlines < 0 scrolls down */
@ -190,7 +191,7 @@ extern unsigned char get_tv(void); /* get TV system */
/* device control block */ /* device control block */
struct __dcb { struct __dcb {
unsigned char device; /* device id */ unsigned char device; /* device id */
unsigned char unit; /* unix number */ unsigned char unit; /* unit number */
unsigned char command; /* command */ unsigned char command; /* command */
unsigned char status; /* command type / status return */ unsigned char status; /* command type / status return */
void *buffer; /* pointer to buffer */ void *buffer; /* pointer to buffer */