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

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

Latest revision as of 21:58, 29 March 2005

Synopsis

Official Name: WriteFlashUnsafe

BCALL Address: 8087

Writes data to Flash, without checking the address.

Inputs

  • A = Flash page to write
  • DE = address to write
  • BC = number of bytes to write
  • HL = source address, must be in RAM

Outputs

  • NZ if the byte could not be written

Destroys

  • AF, DE, BC, HL

Comments

Flash must be write enabled first.

Note that you cannot use this to write a 1 bit over a 0.

When possible, WriteFlash should be used instead.