Difference between revisions of "83Plus:BCALLs:5014"
From WikiTI
m |
Fallen Ghost (Talk | contribs) (modified a number for the output, after testing it and also destroyed registers) |
||
Line 13: | Line 13: | ||
=== Outputs === | === Outputs === | ||
− | * [[83Plus:RAM:839F|839F]]: Contains | + | * [[83Plus:RAM:839F|839F]]: Contains 3 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 === | === Destroys === | ||
− | + | * BC, IX | |
== Comments == | == Comments == |
Revision as of 18:00, 28 November 2006
Synopsis
Official Name: ArcChk
Other Name: CheckFreeArchive
BCALL Address: 5014
Finds the amount of free archive space
Inputs
None
Outputs
- 839F: Contains 3 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.