Re-enables previously disabled Amstrad CPC firmware.
void cpct_reenableFirmware (u16 firmware_ROM_pointer) __z88dk_fastcall;
call cpct_reenableFirmware_asm
(2B HL) *firmware_ROM_pointer* | 2 bytes with previous pointer stored at 0x0039. This is the address where firmware ROM code starts. |
Restores normal operation of Amstrad CPC firmware after having been disabled. Do not try to call this function before disabling firmware. If you do, the most normal result is getting your Amstrad CPC resetted.
This function could also be used to change the present interrupt handler. However, take into account that it does not create a safe wrapper for the given interrupt handler. Use it with care in this case.
HL
11 bytes
Case | microSecs(us) | CPU Cycles ----------------------------------- Any | 16 | 64 -----------------------------------