From 4c1cd875ee3a813a8e0128968066a6d9ce6da011 Mon Sep 17 00:00:00 2001 From: "ol.sc" Date: Sat, 12 Dec 2009 23:07:21 +0000 Subject: [PATCH] Added ioctl for mixing graphics with 4 lines of text. git-svn-id: svn://svn.cc65.org/cc65/trunk@4522 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/apple2.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/apple2.h b/include/apple2.h index 779f83b7a..af7d92f73 100644 --- a/include/apple2.h +++ b/include/apple2.h @@ -143,6 +143,11 @@ unsigned char get_ostype (void); void rebootafterexit (void); /* Reboot machine after program termination has completed. */ +#define tgi_apple2_mix(onoff) tgi_ioctl (0, (void *) (onoff)) +/* If onoff is 1, graphics/text mixed mode is enabled. + * If onoff is 0, graphics/text mixed mode is disabled. + */ + /* The following #defines will cause the matching functions calls in conio.h * to be overlaid by macros with the same names, saving the function call * overhead. -- 2.39.5