Difference between revisions of "84PCE:Syscalls:0002E0"

From WikiTI
Jump to: navigation, search
(Created page with "WriteFlash 0002E0 - WriteFlash == Synopsis == '''Hypothesized Official Name:''' WriteFlash '''Sysca...")
 
 
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 11: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