Prev: 45732 Up: Map Next: 45806
45760: Routine at B2C0
Used by the routines at 46102 and 46154.
45760 LD L,(IX+5) L=*IX+5.
45763 LD H,(IX+6) H=*IX+6.
45766 LD C,(IX+4) C=*IX+4.
45769 LD B,(IX+3) B=*IX+3.
45772 PUSH HL IX=HL (using the stack).
45773 POP IX
45775 SET 5,H Set bit 5 of H.
This entry point is used by the routine at 46481.
45777 LD DE,32 DE=0032.
45780 PUSH HL Stash HL, IX and BC on the stack.
45781 PUSH IX
45783 PUSH BC
45784 LD A,(HL) A=*HL.
45785 AND %01111111 Keep only bits 0-6.
45787 LD (IX+0),A Write A to *IX+0.
45790 ADD HL,DE HL+=DE.
45791 ADD IX,DE IX+=DE.
45793 DJNZ 45784 Decrease counter by one and loop back to 45784 until counter is zero.
45795 POP BC Restore BC, IX and HL from the stack.
45796 POP IX
45798 POP HL
45799 INC IX Increment IX by one.
45801 INC HL Increment HL by one.
45802 DEC C Decrease C by one.
45803 JR NZ,45777 Jump to 45777.
45805 RET Return.
Prev: 45732 Up: Map Next: 45806