Routines |
Prev: B678 | Up: Map | Next: B717 |
Used by the routine at StartGame.
|
||||
B6D0 | CALL HighScorePrint | Call HighScorePrint. | ||
B6D3 | DI | Disable interrupts. | ||
B6D4 | LD A,($5C6A) | |||
B6D7 | OR $08 | |||
B6D9 | LD ($5C6A),A | |||
Open the upper screen channel.
|
||||
B6DC | LD A,$02 | A=02. | ||
B6DE | CALL $1601 | Call CHAN_OPEN. | ||
B6E1 | LD HL,$B860 | HL=B860. | ||
B6E4 | LD B,$0C | B=0C. | ||
B6E6 | PUSH BC | Stash BC and HL on the stack. | ||
B6E7 | PUSH HL | |||
g
|
||||
B6E8 | CALL $B717 | Call B717. | ||
B6EB | CP $20 | |||
B6ED | JR Z,$B6FB | |||
B6EF | CP $0D | |||
B6F1 | JR Z,$B768 | |||
B6F3 | CP $41 | |||
B6F5 | JR C,$B6E8 | |||
B6F7 | CP $5B | |||
B6F9 | JR NC,$B6E8 | |||
f
|
||||
B6FB | PUSH AF | Stash AF on the stack twice. | ||
B6FC | PUSH AF | |||
B6FD | LD A,$10 | A=10. | ||
B6FF | RST $10 | Call PRINT_A_1. | ||
B700 | LD A,$07 | A=07. | ||
B702 | RST $10 | Call PRINT_A_1. | ||
B703 | LD A,$11 | A=11. | ||
B705 | RST $10 | Call PRINT_A_1. | ||
B706 | LD A,$02 | A=02. | ||
B708 | RST $10 | Call PRINT_A_1. | ||
B709 | POP AF | Restore AF from the stack. | ||
B70A | RST $10 | Call PRINT_A_1. | ||
B70B | POP AF | Restore AF and HL from the stack. | ||
B70C | POP HL | |||
B70D | LD (HL),A | |||
B70E | INC HL | |||
B70F | CALL $B729 | Call B729. | ||
B712 | POP BC | Restore BC from the stack. | ||
B713 | DJNZ $B6E6 | B6E6. | ||
B715 | EI | Enable interrupts. | ||
B716 | RET | Return. |
Prev: B678 | Up: Map | Next: B717 |