Difference between revisions of "83Plus:BCALLs:4FDE"

From WikiTI
Jump to: navigation, search
 
(No difference)

Latest revision as of 04:50, 8 March 2007

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