(
Cursor
configuration)
WORD Cursconf( mode, rate )
WORD mode, rate;
Cursconf() is the function to configure the VT52 text cursor state.
Opcode
21 (0x15)
Availability
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.