![]() |
Routines |
Prev: 48020 | Up: Map | Next: 48112 |
Used by the routine at Handler_UserInput.
|
||||
PrintInputPrompt | 48084 | LD HL,20608 | HL=20608 (screen buffer location). | |
48087 | LD DE,256 | Set the increment in DE for the next screen line. | ||
48090 | LD B,8 | B=8. | ||
48092 | XOR A | A=0. | ||
PrintInputPrompt_0 | 48093 | OR (HL) | Set the bits from *HL. | |
48094 | ADD HL,DE | Move down one line. | ||
48095 | DJNZ PrintInputPrompt_0 | Decrease counter by one and loop back to PrintInputPrompt_0 until counter is zero. | ||
48097 | OR A | Jump to PrintPrompt if A is zero. | ||
48098 | JR Z,PrintPrompt | |||
Force a newline to be "printed".
|
||||
48100 | LD A,13 | A=13. | ||
48102 | CALL PrintCharacter | Call PrintCharacter. | ||
Print "> ".
|
||||
PrintPrompt | 48105 | LD HL,48517 | HL=Messaging_Prompt. | |
48108 | CALL PrintString | Call PrintString. | ||
48111 | RET | Return. | ||
View the equivalent code in Warlord.
|
Prev: 48020 | Up: Map | Next: 48112 |