Ceci est une version archivée de
Blitmode() à 2006-08-15 10:37:12.
(
Blitter
mode)
WORD Blitmode( mode )
WORD mode;
Blitmode() is the function used to check the presence of the Blitter chip, and to set its usage by VDI.
Opcode
64 (0x040)
Availability
Parameters
mode is the operation to perform:
Name |
Bit |
Value |
Operation |
BLIT_INQUIRE |
- |
-1 |
Read the current blitter mode usage |
BLIT_SOFT |
0 |
- |
If set, use Blitter instead of software routines |
BLIT_HARD |
1 |
- |
Indicates presence of a Blitter chip |
Binding
move.w #mode,-(sp)
move.w #64,-(sp)
trap #14
addq.l #8,sp
Return Value
Blitmode() returns the previous Blitter usage mode (before the new setting is used).