![]() |
Routines |
Prev: A605 | Up: Map | Next: A663 |
Used by the routine at Handler_UserInput.
|
||||
PrintInputPrompt | A647 | LD HL,$5080 | HL=5080 (screen buffer location). | |
A64A | LD DE,$0100 | Set the increment in DE for the next screen line. | ||
A64D | LD B,$08 | B=08. | ||
A64F | XOR A | A=00. | ||
PrintInputPrompt_0 | A650 | OR (HL) | Set the bits from *HL. | |
A651 | ADD HL,DE | Move down one line. | ||
A652 | DJNZ PrintInputPrompt_0 | Decrease counter by one and loop back to PrintInputPrompt_0 until counter is zero. | ||
A654 | OR A | Jump to PrintPrompt if A is zero. | ||
A655 | JR Z,PrintPrompt | |||
Force a newline to be "printed".
|
||||
A657 | LD A,$0D | A=0D. | ||
A659 | CALL PrintCharacter | Call PrintCharacter. | ||
Print "> ".
|
||||
PrintPrompt | A65C | LD HL,$A843 | HL=Messaging_Prompt. | |
A65F | CALL PrintString | Call PrintString. | ||
A662 | RET | Return. | ||
View the equivalent code in The Jewels Of Babylon.
|
Prev: A605 | Up: Map | Next: A663 |