![]() |
Routines |
| Prev: C857 | Up: Map | Next: C873 |
|
Used by the routines at ScrollViewDown and ScrollViewUp.
Clears C0 bytes, which are eight rows of the screen buffer, by pushing zeroes on the stack.
|
||||||||
| ClearRows | C861 | LD ($5CDA),SP | Write SP at SavedStackPointer. | |||||
| C865 | LD SP,HL | HL moves into SP. | ||||||
| C866 | LD B,$60 | B is 60. | ||||||
| C868 | LD DE,$0000 | DE is 00. | ||||||
| ClearRows_Loop | C86B | PUSH DE | Remember DE. | |||||
| C86C | DJNZ ClearRows_Loop | Repeat from C86B while B still counts. | ||||||
| C86E | LD SP,($5CDA) | Fetch the word at SavedStackPointer into SP. | ||||||
| C872 | RET | Return. | ||||||
| Prev: C857 | Up: Map | Next: C873 |