83Plus:BCALLs:5014

From WikiTI
Revision as of 03:50, 29 November 2006 by Fallen Ghost (Talk | contribs)

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

Synopsis

Official Name: ArcChk

Other Name: CheckFreeArchive

BCALL Address: 5014

Finds the amount of free archive space

Inputs

None

Outputs

  • 839F: Contains 4 bytes with the free archive space, in normal hexadecimal code. These bytes are in "normal" order and not reversed like bytes normally are on the z80.

Destroys

  • BC, IX

Comments

This B_CALL returns the amount of free archive space available just like you'd see it if you went into the mem menu. The output is not in reversed order like it normally is on the z80 but in "normal" order.

There is another B_CALL to format the output of this B_CALL as a string, but I don't have any docs on it right now. Someone else could add it when he has these lying around.