Official Name: AdjMath
Unofficial Name: UpdatePointers
BCALL Address: 4345
Updates 23 pointers after memory has been inserted or deleted.
- DE = Location in RAM where memory was inserted/deleted
- BC = Number of bytes to decrease each pointer by (use signed integer to increase the pointers)
- HL, F
Each of the following pointers will be checked and possibly adjusted. If the address pointed to is strictly greater than DE, then BC will be subtracted from it. This means that if you insert memory at the address (iMathPtr1), the pointer will not be changed, which may or may not be what you expect.