Routines |
Prev: 9903 | Up: Map | Next: 9942 |
|
||||
ControlCode_07 | 992A | PUSH BC | Stash BC on the stack. | |
992B | LD C,$00 | C=00. | ||
992D | LD B,$14 | B=14. | ||
ControlCode_07_0 | 992F | LD HL,$0014 | HL=0014. | |
ControlCode_07_1 | 9932 | DEC HL | Decrease HL by one. | |
9933 | LD A,H | Jump to ControlCode_07_1 until HL is zero. | ||
9934 | OR L | |||
9935 | JR NZ,ControlCode_07_1 | |||
9937 | LD A,C | Load C into A. | ||
9938 | XOR %00010000 | Flip the speaker bit. | ||
993A | LD C,A | Store the result back to C. | ||
993B | OUT ($FE),A | Send A to the speaker. | ||
993D | DJNZ ControlCode_07_0 | Decrease counter by one and loop back to ControlCode_07_0 until counter is zero. | ||
993F | JP $9961 | Jump to 9961. |
Prev: 9903 | Up: Map | Next: 9942 |