Prev: A3A7 Up: Map Next: A4C8
A410: Main entry point
Used by the routine at 9858.
A410 LD HL,$732D
A413 LD (HL),$06
A415 LD HL,$736F
A418 LD (HL),$00
A41A LD A,$B2
A41C LD I,A
A41E IM 2
This entry point is used by the routine at A6FE.
A420 CALL $AB9E
A423 LD H,$02
A425 LD BC,$9630
A428 LD L,$00
A42A LD A,(BC)
A42B CALL $9C40
A42E INC BC
A42F INC L
A430 LD A,L
A431 CP $0E
A433 JR NZ,$A42A
A435 INC H
A436 LD A,H
A437 CP $18
A439 JR NZ,$A428
A43B CALL $ABAD
A43E LD HL,$5800
A441 LD B,$0E
A443 LD C,$04
A445 LD A,$03
A447 CALL $AA37
A44A LD C,$07
A44C LD A,$06
A44E CALL $AA37
A451 LD C,$0A
A453 LD A,$04
A455 CALL $AA37
A458 LD HL,$AE0C
A45B LD A,($736F)
A45E AND A
A45F JR NZ,$A46E
A461 CALL $AB60
A464 LD A,$14
A466 CALL $9CEB
A469 LD A,$01
A46B LD ($736F),A
This entry point is used by the routine at AA49.
A46E LD HL,$5AE0
A471 LD B,$20
A473 LD (HL),$05
A475 INC HL
A476 DJNZ $A473
A478 LD HL,$732C
A47B LD (HL),$4E
A47D LD HL,$50E1
A480 CALL $AB7B
A483 LD BC,$01F4
A486 CALL $A921
A489 LD HL,$732B
A48C DEC (HL)
A48D JR NZ,$A4AB
A48F LD (HL),$08
A491 LD HL,$AC7C
A494 LD A,($732C)
A497 INC A
A498 CP $4E
A49A JR C,$A49D
A49C XOR A
A49D LD ($732C),A
A4A0 LD E,A
A4A1 LD D,$00
A4A3 ADD HL,DE
A4A4 LD A,(HL)
A4A5 LD HL,$001E
A4A8 CALL $9C40
Respond to keyboard input
A4AB LD A,$FD
A4AD IN A,($FE)
A4AF BIT 1,A
A4B1 JP Z,$A59D
A4B4 LD A,$FB
A4B6 IN A,($FE)
A4B8 BIT 3,A
A4BA JP Z,$AA49
A4BD LD A,$DF
A4BF IN A,($FE)
A4C1 BIT 2,A
A4C3 JR Z,$A4C8
A4C5 JP $A47D
Prev: A3A7 Up: Map Next: A4C8