| void Bios_SetHookCallback( |
| ) |
Set a safe hook interslot jump to a given function
| hook u16 | Hook address |
| cb callback | Function to be called |
| inline void Bios_SetHookDirectCallback( |
| ) |
Set a Hook to jump directly to a given function
| hook u16 | Hook address |
| cb callback | Function to be called |
| inline void Bios_SetHookInterSlotCallback( |
| ) |
Set a Hook to jump to a given function in a given slot ID
| hook u16 | Hook address |
| slot u32 | Slot ID |
| cb callback | Function to be called |
| inline void Bios_ClearHook( |
| ) |
Clear a Hook (set RET asm code)
| hook u16 | Hook address |
| inline void Bios_BackupHook( |
| ) |
Backup hook content into a buffer (must be 5 bytes length). The buffer content can been call at any time using Call() function
| hook u16 | Hook address |
| buffer void* | Destination buffer in RAM |