![]() |
Routines |
| Prev: E41C | Up: Map | Next: E4A7 |
|
The blitter for the one-byte-wide slopes at shift 0: directions 2, 3, 9 and 10 here, the wall (direction 14) one instruction on, skipping the INC L. Two rows a POP, one byte a row, climbing the screen with DEC H; about 75 T-states a pair of rows. The right-climbing twin of blit_mirror_one.
|
||||||||||||
| blit_one | E48B | INC L | Step right into the column; B counts the pairs of rows; pop two bytes | |||||||||
| E48C | LD B,A | |||||||||||
| blit_one_0 | E48D | POP DE | ||||||||||
| E48E | LD (HL),E | One on this row, up a row, the other on the row above, up a row | ||||||||||
| E48F | DEC H | |||||||||||
| E490 | LD (HL),D | |||||||||||
| E491 | DEC H | |||||||||||
| E492 | LD A,H | Into the next character row up if this one is done; the next pair; leave HL as the column for the next step (after_step_drawn) | ||||||||||
| E493 | INC A | |||||||||||
| E494 | AND $07 | |||||||||||
| E496 | JR NZ,blit_one_1 | |||||||||||
| E498 | LD A,L | |||||||||||
| E499 | SUB $20 | |||||||||||
| E49B | LD L,A | |||||||||||
| E49C | JR C,blit_one_1 | |||||||||||
| E49E | LD A,H | |||||||||||
| E49F | ADD A,$08 | |||||||||||
| E4A1 | LD H,A | |||||||||||
| blit_one_1 | E4A2 | DJNZ blit_one_0 | ||||||||||
| E4A4 | JP after_step_drawn | |||||||||||
| Prev: E41C | Up: Map | Next: E4A7 |