83Plus:BCALLs:4FDE

From WikiTI
Revision as of 03:50, 8 March 2007 by Brandonw (Talk | contribs)

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

Synopsis

Unofficial Name: UnarchiveVar

BCALL Address: 4FDE

Unarchives the variable in OP1.

Inputs

  • OP1: type and name of variable to unarchive
  • DE: address of data
  • A: page of data

Outputs

  • None

Destroys

All

Comments

This is a subroutine of Arc_Unarc.

It does NO checks on the type, so you can use this to unarchive group variables and other things, but don't.

Example

     ld hl,sName
     rst 20h
     bcall(_chkFindSym)
     ret c
     ld a,b
     or a
     ret z
     bcall(_UnarchiveVar)
     ret
sName:
     .db ProgObj,"ABC",0