XBIOS Device and System Functions
to that file in order to use the Blitmode() macro for this
function. Once defined, Blitmode() is called like this:
int status, value;
status = Blitmode(value);
where value is used to set the blitter configuration. If value is
-1 (OxFFFF), no new value is set, and the current blitter con
figuration is returned. If flag is not — 1, the blitter configura
tion is set using the following bit values:
Bit
Number Function
0 Set blit mode
0 = use software blit routines
1 = use blitter hardware
1-14 Undefined, reserved
15 Must be 0
The blitter configuration (as it stood prior to the set op
eration) is returned as a word value in status, each bit of
which may have a meaning. The bit values are:
Bit
Number Description
0 Current blit mode
0 = using software blit routines
1 = using blitter hardware
1 Blitter chip availability
0 = no blitter chip is available
1 = blitter chip is installed
2-14 Undefined, reserved
15 A 0 is always returned
TOS will not allow the user to set the blit mode to hard
ware on a system that doesn't contain a blitter chip.
59