Prev: A4BA Up: Map Next: A522
A4E7: Routine at A4E7
Used by the routines at B6EC and B785.
A4E7 LD A,($6078) A=6078.
A4EA CP $11
A4EC RET NC
A4ED CALL $945C Call 945C.
A4F0 RET Z
A4F1 LD A,($6080) A=6080.
A4F4 AND %00000001 Keep only bit 0.
A4F6 RET NZ Return the result is 01.
A4F7 BIT 7,(IX+$08)
A4FB RET NZ
This entry point is used by the routines at A0F8, A1AA, A325 and A3FF.
A4FC LD L,(IX+$02)
A4FF LD H,(IX+$03)
A502 LD BC,$0008
A505 ADD HL,BC
A506 LD BC,($607A)
A50A AND A
A50B SBC HL,BC
A50D LD A,H
A50E AND %00011111 Keep only bits 0-4.
A510 RET NZ
A511 LD A,L
A512 CP $10
A514 RET NC
A515 LD A,($607C)
A518 SUB $08
A51A SUB (IX+$04)
A51D NEG
A51F CP $18
A521 RET Return.
Prev: A4BA Up: Map Next: A522