Difference between revisions of "83Plus:BCALLs:5095"

From WikiTI
Jump to: navigation, search
 
(No difference)

Latest revision as of 07:16, 24 February 2007

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.