Routines |
Prev: B1C3 | Up: Map | Next: B208 |
Used by the routine at B208.
|
||||
B1D7 | LD L,(IX+$00) | L=*IX+00. | ||
B1DA | LD H,(IX+$01) | H=*IX+01. | ||
B1DD | JR $B1F2 | Jump to B1F2. | ||
This entry point is used by the routine at B208.
|
||||
B1DF | LD L,(IX+$00) | L=*IX+00. | ||
B1E2 | LD H,(IX+$01) | H=*IX+01. | ||
B1E5 | LD BC,$FE80 | HL+=FE80. | ||
B1E8 | ADD HL,BC | |||
B1E9 | PUSH HL | Stash HL on the stack. | ||
B1EA | LD BC,$7820 | BC=7820. | ||
B1ED | AND A | Set flags. | ||
B1EE | SBC HL,BC | HL-=BC. | ||
B1F0 | POP HL | Restore HL from the stack. | ||
B1F1 | RET C | Return if the subtract had any carry. | ||
B1F2 | BIT 6,(IX+$07) | Return if bit 6 of IX+07 is set. | ||
B1F6 | RET NZ | |||
B1F7 | LD BC,$0020 | HL+=0020. | ||
B1FA | ADD HL,BC | |||
B1FB | CALL $C144 | Call C144. | ||
B1FE | LD A,(IX+$02) | A=*IX+02. | ||
B201 | LD (HL),A | Write A to *HL. | ||
B202 | INC HL | Increment HL by one. | ||
B203 | LD A,(IX+$03) | A=*IX+03. | ||
B206 | LD (HL),A | Write A to *HL. | ||
B207 | RET | Return. |
Prev: B1C3 | Up: Map | Next: B208 |