83Plus:BCALLs:4F72

From WikiTI
Jump to: navigation, search

Synopsis

Unofficial Name: ResetHookBytes

BCALL Address: 4F72

Sets the last byte of every hook's RAM area to its current page.

Inputs

  • None

Outputs

  • None

Destroys

  • HL,DE,A,B

Comments

Each hook has a four-byte RAM area, starting at 9B7A. The first two bytes are the hook's address, the third byte is its page, and the fourth is changed to the same as the page by this BCALL.