83Plus:BCALLs:5095

From WikiTI
Revision as of 07:16, 24 February 2007 by Brandonw (Talk | contribs)

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

Synopsis

Unofficial Name: FindSwapSector

BCALL Address: 5095

Finds the Flash swap sector, or a free sector to use as the swap sector.

Inputs

  • None

Outputs

  • A: Flash page to use as swap sector

Destroys

  • None

Comments

This BCALL looks for 0FEh as the first byte of each sector, starting at Flash page 08h. If it does not find one, it then looks for the first empty Flash sector (with first byte as 0FFh).

This is absolutely pointless.