Routines
Prev:
CBE5
Up:
Map
Next:
CBF8
CBF1: Read a word
Used by the routine at
draw_frame
.
Input
DE
The word's address
Output
HL
The word
DE
The address after it
read_word
CBF1
LD A,(DE)
Low byte, then high byte.
CBF2
INC DE
CBF3
LD L,A
CBF4
LD A,(DE)
CBF5
INC DE
CBF6
LD H,A
CBF7
RET
Prev:
CBE5
Up:
Map
Next:
CBF8