83Plus:BCALLs:42E5

From WikiTI
Revision as of 14:40, 23 May 2005 by MissingIntellect (Talk | contribs)

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

Synopsis

Official Name: MemChk

BCALL Address: 42E5

Returns the amount of free RAM, in bytes.

Inputs

  • None

Outputs

  • HL = RAM Available

Destroys

  • BC, HL

Remarks

The number returned may not be accurate if temporary variables exist that have been marked as dirty, but not yet deleted.

Example

B_CALL MemChk