83Plus:BCALLs:8087

From WikiTI
Revision as of 15:45, 29 March 2005 by FloppusMaximus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.