From: ol.sc
Date: Sat, 12 Dec 2009 23:07:21 +0000 (+0000)
Subject: Added ioctl for mixing graphics with 4 lines of text.
X-Git-Tag: V2.13.1~11
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4c1cd875ee3a813a8e0128968066a6d9ce6da011;p=cc65
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
---
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.