•  Back 
  •  Line-A 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-Filev_opnvwk()
$A000 - Initialize                                                   Line-A

Function      Return pointers to the Line-A variable structures.

Example       ; Retrieve Line-A variable table address
Binding       ; and store in A5 for other bindings

                 .dc.w    $A000
                 .move.l   a0,a5 ; Line-A variables
                 .move.l   a1,a6 ; System font headers

Return Value  The initialize function returns the following information:

              Register                   Contents

              D0    Pointer to Line-A variable table.

              A0    Pointer to Line-A variable table.

              A1    Pointer to a NULL terminated array of pointers to
                    system font headers.

              A2    Pointer to a longword array containing sixteen
                    pointers which are addresses of the actual Line-A
                    functions in memory. For example, JSR'ing through the
                    pointer in the first array element has the same result
                    as calling the Initialize instruction by an exception
                    except that the function must be called from
                    supervisor mode.

Comments      This call is required to return the address of the Line-A
              variable structure needed for all other Line-A calls. All
              processes (including the VDI) share this structure so don't
              expect variables to remain constant between calls.

See Also      v_opnvwk()