Hypothesized Official Name: EraseFlash
Syscall Address: 0002D8h
The same routine as EraseFlashSector, except the real address of the sector is in HL.
- HL = Address of sector to clear
- Sector erased
This routine actually checks the caller PC address to ensure it was called from a suitable location. A workaround is as follows using the fact that 0000F8 consists of a jump to a ret instruction.
EraseFlash: ld bc,0000F8h push bc jp _EraseFlash