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

From WikiTI
Jump to: navigation, search
 
m
 
Line 1: Line 1:
[[Category:83Plus:BCALLs:By_Name|EraseFlashPage]]
+
[[Category:83Plus:BCALLs:By_Name:Memory|EraseFlashPage]] [[Category:83Plus:BCALLs:By_Name|EraseFlashPage]] [[Category:83Plus:BCALLs:By_Address|8084 - EraseFlashPage]]
[[Category:83Plus:BCALLs:By_Address|8084 - EraseFlashPage]]
+
[[Category:83Plus:BCALLs:By_Name:Memory|EraseFlashPage]]
+
 
== Synopsis ==
 
== Synopsis ==
 
'''Official Name:''' EraseFlashPage
 
'''Official Name:''' EraseFlashPage

Latest revision as of 21:32, 29 March 2005

Synopsis

Official Name: EraseFlashPage

BCALL Address: 8084

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

Inputs

  • A = Flash page to erase

Outputs

  • NZ if the sector could not be erased

Destroys

  • AF, HL

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+.

This B_CALL will refuse to erase page 1E; you must use EraseFlash for that.