![]() |
Routines |
Prev: 42501 | Up: Map | Next: 42595 |
Used by the routine at Handler_UserInput.
|
||||
PrintInputPrompt | 42567 | LD HL,20608 | HL=20608 (screen buffer location). | |
42570 | LD DE,256 | Set the increment in DE for the next screen line. | ||
42573 | LD B,8 | B=8. | ||
42575 | XOR A | A=0. | ||
PrintInputPrompt_0 | 42576 | OR (HL) | Set the bits from *HL. | |
42577 | ADD HL,DE | Move down one line. | ||
42578 | DJNZ PrintInputPrompt_0 | Decrease counter by one and loop back to PrintInputPrompt_0 until counter is zero. | ||
42580 | OR A | Jump to PrintPrompt if A is zero. | ||
42581 | JR Z,PrintPrompt | |||
Force a newline to be "printed".
|
||||
42583 | LD A,13 | A=13. | ||
42585 | CALL PrintCharacter | Call PrintCharacter. | ||
Print "> ".
|
||||
PrintPrompt | 42588 | LD HL,43075 | HL=Messaging_Prompt. | |
42591 | CALL PrintString | Call PrintString. | ||
42594 | RET | Return. | ||
View the equivalent code in The Jewels Of Babylon.
|
Prev: 42501 | Up: Map | Next: 42595 |