84PCE:Syscalls:0002E0: Difference between revisions

From WikiTI
Jump to navigationJump to search
Created page with "WriteFlash 0002E0 - WriteFlash == Synopsis == '''Hypothesized Official Name:''' WriteFlash '''Sysca..."
 
No edit summary
 
Line 9: Line 9:


=== Inputs ===
=== Inputs ===
HL = Address of block to write
* HL = Address of block to write


DE = Address of block to write to
* DE = Address of block to write to


BC = Length of block
* BC = Length of block


=== Outputs ===
=== Outputs ===
Block bytes 'anded' with bytes in flash and stored to flash
* Block bytes 'anded' with bytes in flash and stored to flash


=== Destroys ===
=== Destroys ===
* All
* All

Latest revision as of 18:01, 26 May 2016

Synopsis

Hypothesized Official Name: WriteFlash

Syscall Address: 0002E0h

Writes a block of data into flash memory using 'and' logic. This is why it is recommended you erase the sector first.

Inputs

  • HL = Address of block to write
  • DE = Address of block to write to
  • BC = Length of block

Outputs

  • Block bytes 'anded' with bytes in flash and stored to flash

Destroys

  • All