![]()  | 
Routines | 
| Prev: BB94 | Up: Map | Next: BBF0 | 
| 
 
Used by the routine at Handler_UserInput.
 
 | 
||||
| PrintInputPrompt | BBD4 | LD HL,$5080 | HL=5080 (screen buffer location). | |
| BBD7 | LD DE,$0100 | Set the increment in DE for the next screen line. | ||
| BBDA | LD B,$08 | B=08. | ||
| BBDC | XOR A | A=00. | ||
| PrintInputPrompt_Loop | BBDD | OR (HL) | Set the bits from *HL. | |
| BBDE | ADD HL,DE | Move down one line. | ||
| BBDF | DJNZ PrintInputPrompt_Loop | Decrease counter by one and loop back to PrintInputPrompt_Loop until counter is zero. | ||
| BBE1 | OR A | Jump to PrintPrompt if A is zero. | ||
| BBE2 | JR Z,PrintPrompt | |||
| 
 
Force a newline to be "printed".
 
 | 
||||
| BBE4 | LD A,$0D | A=0D. | ||
| BBE6 | CALL PrintCharacter | Call PrintCharacter. | ||
| 
 
Print "> ".
 
 | 
||||
| PrintPrompt | BBE9 | LD HL,$BD85 | HL=Messaging_Prompt. | |
| BBEC | CALL PrintString | Call PrintString. | ||
| BBEF | RET | Return. | ||
| 
 
View the equivalent code in Warlord.
 
 | 
||||
| Prev: BB94 | Up: Map | Next: BBF0 |