Name: | »Line-A initialization«
|
Line-A number: | $A000
|
Syntax: | See 'Bindings for linea_init'
|
Description: | This Line-A function serves to inquire the address of the
Line-A parameter block.
|
Return value: | The function returns in d0 and a0 a pointer to the parameter
block. In a1 a pointer to a field with 3 addresses of the system fonts
will be returned, and in a2 a pointer to the start addresses of the
Line-A routines.
Note: Some bindings, as that from TC, for instance, do not return the addresses to the caller, but set the parameters for the call of the Line-A functions themselves internally. |
Availability: | All TOS versions.
|
See also: | Binding LINEA
|
Pure-C: | void linea_init( void );
|
Assembler: |
; Save registers movem.l D0-D2/A0-A2,-(A7) ; Line-A opcode dc.w $A000 ; Pointer parameter block LINEA move.l A0,pParamblk ; Pointer system fonts move.l A1,pFnthdr ; Pointer start addr. Line-A routines move.l a2,pFktadr ; Restore registers movem.l (a7)+,d0-d2/a0-a2 |