83Plus:BCALLs:42FD

From WikiTI
Revision as of 04:40, 21 June 2007 by Jim e (Talk | contribs)

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

Synopsis

Official Name: EnoughMem

BCALL Address: 42FD

Checks if an imputed amount of RAM is available. This routine will also attempt to free RAM that is taken by temporary variables that have been marked dirty but not yet deleted.

Inputs

  • HL = amount of RAM to check for being available

Outputs

  • DE = amount of RAM to check for being available
  • Carry set if there is insufficient RAM available

Destroys

  • All

Remarks

No error is generated.

Example

B_CALL EnoughMem