WikiPendium

(beta)

Cursconf()

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-18-205-59-250.compute-1.amazonaws.com

Cursconf()

(Cursor configuration)

WORD Cursconf( mode, rate )

WORD mode, rate;

Cursconf() is the function to configure the VT52 text cursor state.

Opcode

21 (0x15)

Availability

All TOS versions.

Parameters

mode is the operation to perform:

Name Value Operation
CURS_HIDE 0 Hide text cursor
CURS_SHOW 1 Show text cursor
CURS_BLINK 2 Enable text cursor blink
CURS_NOBLINK 3 Disable text cursor blink
CURS_SETRATE 4 Set new blinking rate for text cursor
CURS_GETRATE 5 Get current blinking rate for text cursor

rate is the new blinking rate, when needed.

Binding

	move.w	#rate,-(sp)
	move.w	#mode,-(sp)
	move.w	#21,-(sp)
	trap	#14
	addq.l	#6,sp


Return Value

Cursconf() returns the blinking rate if the mode is CURS_GETRATE.

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