Pyjamarama | Routines |
Prev: B46E | Up: Map |
Used by the routines at Game_InputSetKeys and MainMenu.
|
|||||||
Beep_BasicKey | B4AE | PUSH AF | |||||
B4AF | PUSH HL | ||||||
B4B0 | PUSH BC | ||||||
B4B1 | PUSH DE | ||||||
B4B2 | LD B,$C8 | ||||||
B4B4 | LD C,$32 | ||||||
Beep_BasicKey_0 | B4B6 | LD A,$00 | |||||
B4B8 | OUT ($FE),A | ||||||
B4BA | PUSH BC | ||||||
Beep_BasicKey_1 | B4BB | DJNZ Beep_BasicKey_1 | |||||
B4BD | POP BC | ||||||
B4BE | LD A,$10 | ||||||
B4C0 | OUT ($FE),A | ||||||
B4C2 | PUSH BC | ||||||
Beep_BasicKey_2 | B4C3 | DJNZ Beep_BasicKey_2 | |||||
B4C5 | POP BC | ||||||
B4C6 | DEC C | ||||||
B4C7 | JR NZ,Beep_BasicKey_0 | ||||||
B4C9 | POP DE | ||||||
B4CA | POP BC | ||||||
B4CB | POP HL | ||||||
B4CC | POP AF | ||||||
B4CD | RET |
Prev: B46E | Up: Map |