83Plus:BCALLs:42E5

From WikiTI
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