Difference between revisions of "83Plus:BCALLs:5014"
From WikiTI
m (Changed Official name to ArcChk) |
Fallen Ghost (Talk | contribs) m |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:83Plus:BCALLs:By Name:Utility|ArcChk]] [[Category:83Plus:BCALLs:By Name|ArcChk]] [[Category:83Plus:BCALLs:By Address|5014 - ArcChk]] | ||
== Synopsis == | == Synopsis == | ||
'''Official Name:''' ArcChk | '''Official Name:''' ArcChk | ||
Line 12: | Line 13: | ||
=== Outputs === | === Outputs === | ||
− | * [[83Plus:RAM:839F|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. | + | * [[83Plus:RAM:839F|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 === | === Destroys === | ||
− | + | * BC, IX | |
== Comments == | == Comments == |
Latest revision as of 03:50, 29 November 2006
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.