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

From WikiTI
Jump to: navigation, search
(Oops...)
 
Line 1: Line 1:
[[Category:83Plus:BCALLs:By_Name:Memory|WriteAByteSafe]] [[Category:83Plus:BCALLs:By_Name|WriteAByteSafe]] [[Category:83Plus:BCALLs:By_Address|80C6 - WriteAByteSafe]]
+
[[Category:83Plus:BCALLs:By_Name:Memory|WriteAByte]] [[Category:83Plus:BCALLs:By_Name|WriteAByte]] [[Category:83Plus:BCALLs:By_Address|8021 - WriteAByte]]
 
== Synopsis ==
 
== Synopsis ==
'''Unofficial Name:''' WriteAByteSafe
+
'''Official Name:''' WriteAByte
  
'''BCALL Address:''' 80C6
+
'''BCALL Address:''' 8021
  
Writes a byte to FlashROM, but will refuse to write to page 1Eh/3Eh/7Eh.
+
Writes a byte to FlashROM.
  
 
=== Inputs ===
 
=== Inputs ===
Line 22: Line 22:
 
Flash must be [[83Plus:Ports:14|write enabled]] first.
 
Flash must be [[83Plus:Ports:14|write enabled]] first.
  
Note that you cannot use this to write a 1 bit over a 0, nor can you write to the certificate page (1Eh/3Eh/7Eh).
+
Note that you cannot use this to write a 1 bit over a 0.

Latest revision as of 20:23, 22 February 2007

Synopsis

Official Name: WriteAByte

BCALL Address: 8021

Writes a byte to FlashROM.

Inputs

  • A = Flash page to write
  • DE = address to write
  • B = byte to write

Outputs

  • NZ if the byte could not be written

Destroys

  • AF, DE, BC, HL
  • OP1

Comments

Flash must be write enabled first.

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