Routines |
Prev: 46264 | Up: Map | Next: 46668 |
46481 | LD A,(49785) | A=*49785. | ||
46484 | CP (IX+7) | Jump to 46447 if A is lower than *IX+7. | ||
46487 | JR C,46447 | |||
46489 | LD DE,24 | DE=0024. | ||
46492 | CALL 46668 | Call 46668. | ||
46495 | LD A,(49782) | A=*49782. | ||
46498 | ADD A,12 | A+=12. | ||
46500 | LD (49782),A | Write A back to *49782. | ||
46503 | LD L,(IX+16) | L=*IX+16. | ||
46506 | LD H,(IX+17) | H=*IX+17. | ||
46509 | LD DE,384 | DE=0384. | ||
46512 | ADD HL,DE | HL+=DE. | ||
46513 | LD (IX+16),L | Write L to *IX+16. | ||
46516 | LD (IX+17),H | Write H to *IX+17. | ||
46519 | LD (IX+19),B | Write B to *IX+19. | ||
46522 | POP HL | Restore HL from the stack. | ||
46523 | CALL 47270 | Call 47270. | ||
46526 | LD IX,49902 | IX=49902. | ||
46530 | LD B,8 | B=8 (counter). | ||
46532 | LD DE,13 | DE=0013. | ||
46535 | LD A,(IX+0) | A=*IX+0. | ||
46538 | SUB 12 | A-=12. | ||
46540 | LD (IX+0),A | Write A to *IX+0. | ||
46543 | ADD IX,DE | IX+=DE. | ||
46545 | DJNZ 46535 | Decrease counter by one and loop back to 46535 until counter is zero. | ||
46547 | LD IX,49811 | IX=49811. | ||
46551 | LD B,4 | B=4. | ||
46553 | LD DE,13 | DE=0013. | ||
46556 | LD HL,50060 | HL=50060. | ||
46559 | LD A,(IX+0) | A=*IX+0. | ||
46562 | SUB 12 | A-=12. | ||
46564 | CP (HL) | Jump to 46574 if A is higher than *HL. | ||
46565 | JR NC,46574 | |||
46567 | CP 32 | Jump to 46574 if A is lower than 32. | ||
46569 | JR C,46574 | |||
46571 | SUB (HL) | A-=*HL. | ||
46572 | ADD A,32 | A+=32. | ||
46574 | LD (IX+0),A | Write A to *IX+0. | ||
46577 | ADD IX,DE | IX+=DE. | ||
46579 | DJNZ 46559 | Decrease counter by one and loop back to 46559 until counter is zero. | ||
46581 | LD B,3 | B=3. | ||
46583 | LD A,(IX+0) | A=*IX+0. | ||
46586 | SUB 12 | A-=12. | ||
46588 | LD (IX+0),A | Write A to *IX+0. | ||
46591 | ADD IX,DE | IX+=DE. | ||
46593 | DJNZ 46583 | Decrease counter by one and loop back to 46583 until counter is zero. | ||
This entry point is used by the routine at 46264.
|
||||
46595 | CALL 45576 | Call 45576. | ||
46598 | CALL 45383 | Call 45383. | ||
46601 | CALL 46014 | Call 46014. | ||
46604 | LD IX,49811 | IX=49811. | ||
46608 | LD B,7 | B=7. | ||
46610 | PUSH BC | Stash BC on the stack. | ||
46611 | CALL 49239 | Call 49239. | ||
46614 | LD BC,13 | BC=0013. | ||
46617 | ADD IX,BC | IX+=BC. | ||
46619 | POP BC | Restore BC from the stack. | ||
46620 | DJNZ 46610 | Decrease counter by one and loop back to 46610 until counter is zero. | ||
46622 | LD IX,49876 | IX=49876. | ||
46626 | CALL 48423 | Call 48423. | ||
46629 | LD BC,13 | BC=0013. | ||
46632 | ADD IX,BC | IX+=BC. | ||
46634 | CALL 48423 | Call 48423. | ||
46637 | LD HL,28800 | HL=ShadowBuffer_Pixels. | ||
46640 | LD BC,8212 | BC=8212. | ||
46643 | LD DE,16448 | DE=16448 (screen buffer location). | ||
46646 | CALL Copier | Call Copier. | ||
46649 | LD HL,30784 | HL=ShadowBuffer_Attributes. | ||
46652 | LD IX,22592 | IX=22592 (attribute buffer location). | ||
46656 | LD BC,5152 | BC=5152. | ||
46659 | CALL 45777 | Call 45777. | ||
46662 | CALL 46102 | Call 46102. | ||
46665 | JP GameLoop | Jump to GameLoop. |
Prev: 46264 | Up: Map | Next: 46668 |