1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +00:00

Added macro for ssc slot selection.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4527 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc 2009-12-13 11:21:59 +00:00
parent 5de9f6dfe5
commit 10e810b623

View File

@ -143,6 +143,11 @@ unsigned char get_ostype (void);
void rebootafterexit (void); void rebootafterexit (void);
/* Reboot machine after program termination has completed. */ /* 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)) #define tgi_apple2_mix(onoff) tgi_ioctl (0, (void *) (onoff))
/* If onoff is 1, graphics/text mixed mode is enabled. /* If onoff is 1, graphics/text mixed mode is enabled.
* If onoff is 0, graphics/text mixed mode is disabled. * If onoff is 0, graphics/text mixed mode is disabled.