Deathchase | Routines |
Prev: 63FC | Up: Map | Next: 6453 |
This entry point is used by the routine at 6453.
|
||||||||
642E | LD IX,($5DCD) | Get screen position to draw at | ||||||
6432 | LD L,(IX+$00) | Extract the screen address | ||||||
6435 | LD H,(IX+$01) | |||||||
6438 | ADD A,L | Add the appropriate offset | ||||||
6439 | LD L,A | |||||||
643A | LD A,(HL) | Is there anything (eg: a tree) at this location? | ||||||
643B | CP $00 | |||||||
643D | JR NZ,$6449 | Move forward if there is | ||||||
643F | LD H,(IX+$02) | Extract the attribute | ||||||
6442 | LD A,$07 | Set INK 7 | ||||||
6444 | OR (HL) | |||||||
6445 | LD (HL),A | |||||||
6446 | LD H,(IX+$01) | Extract the display file address | ||||||
6449 | LD B,$08 | 8 rows | ||||||
644B | LD A,(DE) | Copy from graphic buffer to display file | ||||||
644C | OR (HL) | |||||||
644D | LD (HL),A | |||||||
644E | INC H | |||||||
644F | INC DE | |||||||
6450 | DJNZ $644B | |||||||
6452 | RET |
Prev: 63FC | Up: Map | Next: 6453 |