Difference between revisions of "83Plus:BCALLs:8021"
From WikiTI
m |
|||
Line 1: | Line 1: | ||
− | [[Category:83Plus:BCALLs:By_Name:Memory| | + | [[Category:83Plus:BCALLs:By_Name:Memory|WriteAByteSafe]] [[Category:83Plus:BCALLs:By_Name|WriteAByteSafe]] [[Category:83Plus:BCALLs:By_Address|80C6 - WriteAByteSafe]] |
== Synopsis == | == Synopsis == | ||
− | ''' | + | '''Unofficial Name:''' WriteAByteSafe |
− | '''BCALL Address:''' | + | '''BCALL Address:''' 80C6 |
− | Writes a byte to FlashROM. | + | Writes a byte to FlashROM, but will refuse to write to page 1Eh/3Eh/7Eh. |
=== 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. | + | 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). |
Revision as of 19:23, 22 February 2007
Synopsis
Unofficial Name: WriteAByteSafe
BCALL Address: 80C6
Writes a byte to FlashROM, but will refuse to write to page 1Eh/3Eh/7Eh.
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, nor can you write to the certificate page (1Eh/3Eh/7Eh).