Routines |
Prev: 45890 | Up: Map | Next: 46082 |
Used by the routine at 44981.
|
||||
46006 | PUSH HL | Stash HL on the stack. | ||
46007 | LD A,L | A=L. | ||
46008 | LD (46096),A | Write A to *46096. | ||
46011 | LD A,66 | Write INK: RED, PAPER: BLACK (BRIGHT) to *46104. | ||
46013 | LD (46104),A | |||
46016 | LD A,L | A=L. | ||
46017 | LD DE,200 | DE=0200. | ||
46020 | CALL 43125 | Call 43125. | ||
46023 | CP (IX+0) | Compare A with *IX+0. | ||
46026 | JR NC,46042 | Jump to 46042 if HL is greater than or equal to A. | ||
46028 | LD A,66 | Write INK: RED, PAPER: BLACK (BRIGHT) to *46105. | ||
46030 | LD (46105),A | |||
46033 | LD A,255 | Write 255 to *46098. | ||
46035 | LD (46098),A | |||
46038 | LD A,50 | A=50. | ||
46040 | JR 46068 | Jump to 46068. | ||
46042 | CP (IX+1) | Compare A with *IX+1. | ||
46045 | JR NC,46056 | Jump to 46056 if HL is greater than or equal to A. | ||
46047 | LD A,66 | Write 66 to *46105. | ||
46049 | LD (46105),A | |||
46052 | LD A,25 | A=25. | ||
46054 | JR 46068 | Jump to 46068. | ||
46056 | LD DE,19 | DE=0019. | ||
46059 | LD A,83 | Write 83 to *46105. | ||
46061 | LD (46105),A | |||
46064 | CALL 43125 | Call 43125. | ||
46067 | INC A | Increment A by one. | ||
46068 | LD (46092),A | Write A to *46092. | ||
46071 | LD (46097),A | Write A to *46097. | ||
46074 | POP HL | Restore HL from the stack. | ||
46075 | LD D,0 | D=0. | ||
46077 | LD E,A | E=A. | ||
46078 | AND A | Set flags. | ||
46079 | SBC HL,DE | HL-=DE (with carry). | ||
46081 | RET | Return. |
Prev: 45890 | Up: Map | Next: 46082 |