WikiPendium

(beta)

Blitmode()

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-3-131-13-194.us-east-2.compute.amazonaws.com

Blitmode()

(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

TOS 1.02 and higher.

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	#4,sp


Return Value

Blitmode() returns the previous Blitter usage mode (before the new setting is used).

Il n'y a pas de commentaire sur cette page. [Afficher commentaires/formulaire]