Prev: B053 Up: Map Next: B099
B078: Routine at B078
Used by the routine at B053.
B078 LD A,($5C78) A=FRAMES.
B07B AND %00000001 Keep only bit 0.
B07D RET NZ
B07E LD A,D
B07F XOR (IX+$04)
B082 LD C,A
B083 LD A,E
B084 XOR (IX+$03)
B087 OR C
B088 RET Z
B089 LD A,(IX+$00)
B08C LD C,A
B08D INC A
B08E AND %00000011 Keep only bits 0-1.
B090 LD B,A
B091 LD A,C
B092 AND %11111100 Keep only bits 2-7.
B094 OR B
B095 LD (IX+$00),A
B098 RET Return.
Prev: B053 Up: Map Next: B099