![]() |
Routines |
| Prev: 51287 | Up: Map | Next: 51315 |
|
Used by the routines at ScrollViewDown and ScrollViewUp.
Clears 192 bytes, which are eight rows of the screen buffer, by pushing zeroes on the stack.
|
||||||||
| ClearRows | 51297 | LD (23770),SP | Write SP at SavedStackPointer. | |||||
| 51301 | LD SP,HL | HL moves into SP. | ||||||
| 51302 | LD B,96 | B is 96. | ||||||
| 51304 | LD DE,0 | DE is 0. | ||||||
| ClearRows_Loop | 51307 | PUSH DE | Remember DE. | |||||
| 51308 | DJNZ ClearRows_Loop | Repeat from 51307 while B still counts. | ||||||
| 51310 | LD SP,(23770) | Fetch the word at SavedStackPointer into SP. | ||||||
| 51314 | RET | Return. | ||||||
| Prev: 51287 | Up: Map | Next: 51315 |