Routines |
Prev: E580 | Up: Map | Next: E7CA |
E7B0 | LD A,R | L=the contents of the Memory Refresh Register. | ||
E7B2 | LD L,A | |||
E7B3 | LD H,$01 | H=01. | ||
E7B5 | LD B,$64 | B=64. | ||
E7B7 | LD A,(HL) | A=*HL. | ||
E7B8 | AND %00011000 | Keep only bits 3-4. | ||
E7BA | OR %00000101 | Set bits 0, 2. | ||
E7BC | OUT ($FE),A | Set border to the colour held by A. | ||
E7BE | INC HL | Increment HL by one. | ||
E7BF | LD A,R | A=the contents of the Memory Refresh Register. | ||
E7C1 | INC A | Increment A by one. | ||
E7C2 | RLCA | RLCA. | ||
E7C3 | LD E,A | E=A. | ||
E7C4 | DEC E | Decrease E by one. | ||
E7C5 | JR NZ,$E7C4 | Jump to E7C4 until E is equal to 00. | ||
E7C7 | DJNZ $E7B7 | Decrease counter by one and loop back to E7B7 until counter is zero. | ||
E7C9 | RET | Return. |
Prev: E580 | Up: Map | Next: E7CA |