From 10e810b623ce5a4f8f08a7aded9b87f2363bae9a Mon Sep 17 00:00:00 2001
From: "ol.sc"
Date: Sun, 13 Dec 2009 11:21:59 +0000
Subject: [PATCH] Added macro for ssc slot selection.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4527 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 af7d92f73..15fb8baca 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 ser_apple2_slot(num) ser_ioctl (0, (void *) (num))
+/* Select a slot number from 1 to 7 prior to ser_open.
+ * The default slot number is 2.
+ */
+
#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.
--
2.39.5