83Plus:BCALLs:5014

From WikiTI
Revision as of 21:23, 29 March 2005 by FloppusMaximus (Talk | contribs)

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. These bytes are in "normal" order and not reversed like bytes normally are on the z80.

Destroys

Unkown, please add when you test this.

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.