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

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

Revision as of 16:56, 29 March 2005

Synopsis

Official Name: EraseFlash

BCALL Address: 8024

Erase a Flash sector (reset it to all FF's.)

Inputs

  • A = Flash page to erase
  • HL = address to erase

Outputs

  • NZ if the sector could not be erased

Destroys

  • AF

Comments

Flash must be write enabled first.

Note that this will erase an entire sector of Flash, which is usually 64k. It is physically impossible to erase a smaller area, due to the internal structure of the Flash chip used in the 83+.