•  Back 
  •  XBIOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FileCursconf()                                                            XBIOS

Syntax

WORD Cursconf( mode, rate )
WORD mode, rate;

Function      Cursconf() configures the VT-52 cursor.

Opcode        21 (0x15)

Availability  All TOS versions.

Parameters    mode defines the operation as follows:

              Name        mode  Meaning

              CURS_HIDE     0   Hide cursor.

              CURS_SHOW     1   Show cursor.

              CURS_BLINK    2   Enable cursor blink.

              CURS_NOBLINK  3   Disable cursor blink.

              CURS_SETRATE  4   Set blink rate to rate.

              CURS_GETRATE  5   Return current blink rate.

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

Return Value  Cursconf() only returns a meaningful value under mode 5 in
              which it returns the current blink rate.

Comments      The blink rate is specified in number of vertical blanks per
              blink.