![]() |
Routines |
| Prev: AE56 | Up: Map | Next: AE81 |
|
Moves a display file address up by one pixel line.
|
||||||||||||
| ScreenPosition1PixelAbove | AE71 | DEC H | Move up a pixel line. | |||||||||
| AE72 | LD A,H | Copy H to A. | ||||||||||
| AE73 | CPL | Flip all of the bits. | ||||||||||
| AE74 | AND $07 | Keep only the line number within the character. | ||||||||||
| AE76 | RET NZ | Return if a character boundary has not been crossed. | ||||||||||
| AE77 | LD A,L | Copy L to A. | ||||||||||
| AE78 | SUB $20 | Move up a character row. | ||||||||||
| AE7A | LD L,A | Store the result in L. | ||||||||||
| AE7B | RET C | Return if the subtraction borrowed. | ||||||||||
| AE7C | LD A,H | Copy H to A. | ||||||||||
| AE7D | ADD A,$08 | Add 08. | ||||||||||
| AE7F | LD H,A | Store the result in H. | ||||||||||
| AE80 | RET | Return. | ||||||||||
|
View the equivalent code in;
|
||||||||||||
| Prev: AE56 | Up: Map | Next: AE81 |