84PCE:Syscalls:020AE8

From WikiTI
Revision as of 10:17, 31 May 2016 by MateoConLechuga (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Hypothesized Official Name: VarNameToOP1HL

Syscall Address: 020AE8h

This routine places the name of a variable into OP1 by using a pointer to the VAT entry for the variable.

Inputs

  • HL = points to the start of the VAT entry for a particular variable

Outputs

  • OP1 contains the name of the variable

Destroys

  • All

Example

	ld	hl,(editSym)
	call	_VarNameToOP1HL		; lookup the temporary input symbol
	call	_ChkFindSym
	ret	c
					; Do something with the varaible data here
	ret