Difference between revisions of "83Plus:BCALLs:4345"
From WikiTI
m (Yeah) |
(→Comments) |
||
Line 32: | Line 32: | ||
* [[83Plus:RAM:980C|EQS]] | * [[83Plus:RAM:980C|EQS]] | ||
* [[83Plus:RAM:9319|9319h]] | * [[83Plus:RAM:9319|9319h]] | ||
− | * [[83Plus:RAM:9302| | + | * [[83Plus:RAM:9302|ES]] |
* [[83Plus:RAM:84E1|insDelPtr]] | * [[83Plus:RAM:84E1|insDelPtr]] | ||
* [[83Plus:RAM:9306|9306h]] | * [[83Plus:RAM:9306|9306h]] |
Latest revision as of 12:43, 23 September 2015
Synopsis
Official Name: AdjMath
Unofficial Name: UpdatePointers
BCALL Address: 4345
Updates 23 pointers after memory has been inserted or deleted.
Inputs
- 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)
Outputs
none
Destroys
- HL, F
Comments
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.