From: ol.sc Date: Sun, 13 Dec 2009 11:21:59 +0000 (+0000) Subject: Added macro for ssc slot selection. X-Git-Tag: V2.13.1~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=10e810b623ce5a4f8f08a7aded9b87f2363bae9a;p=cc65 Added macro for ssc slot selection. git-svn-id: svn://svn.cc65.org/cc65/trunk@4527 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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.