83Plus:BCALLs:8024: Difference between revisions

From WikiTI
Jump to navigationJump to search
No edit summary
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:83Plus:BCALLs:By_Name|EraseFlash]]
[[Category:83Plus:BCALLs:By_Name:Memory|EraseFlash]] [[Category:83Plus:BCALLs:By_Name|EraseFlash]] [[Category:83Plus:BCALLs:By_Address|8024 - EraseFlash]]
[[Category:83Plus:BCALLs:By_Address|8024 - EraseFlash]]
[[Category:83Plus:BCALLs:By_Name:Memory|EraseFlash]]
== Synopsis ==
== Synopsis ==
'''Official Name:''' EraseFlash
'''Official Name:''' EraseFlash
Line 23: Line 21:


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+.
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+.
See also [[83Plus:BCALLs:8084|EraseFlashPage]].

Latest revision as of 04:32, 30 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+.

See also EraseFlashPage.