Routines |
Prev: 55739 | Up: Map | Next: 55823 |
55747 | LD A,(IX+5) | Jump to 55762 if *IX+5 is equal to *IX+4. | ||
55750 | CP (IX+4) | |||
55753 | JP Z,55762 | |||
55756 | INC (IX+5) | Increment *IX+5 by one. | ||
55759 | JP 55778 | Jump to 55778. | ||
55762 | LD A,(IX+1) | Jump to 55778 if *IX+1 is equal to *IX+2. | ||
55765 | CP (IX+2) | |||
55768 | JP Z,55778 | |||
55771 | INC (IX+1) | Increment *IX+1 by one. | ||
55774 | LD (IX+5),1 | Write 1 to *IX+5. | ||
55778 | LD A,(IX+0) | A=*IX+0. | ||
55781 | AND %00000011 | Keep only bits 0-1. | ||
55783 | JP Z,55795 | Jump to 55795 if the result is zero. | ||
55786 | LD B,(IX+3) | B=*IX+3. | ||
55789 | LD C,(IX+1) | C=*IX+1. | ||
55792 | JP 55801 | Jump to 55801. | ||
55795 | LD B,(IX+1) | B=*IX+1. | ||
55798 | LD C,(IX+3) | C=*IX+3. | ||
55801 | LD A,(IX+5) | A=*IX+5. | ||
55804 | ADD A,5 | A+=5. | ||
55806 | ADD A,L | A+=L. | ||
55807 | LD L,A | L=A. | ||
55808 | LD A,0 | A=0. | ||
55810 | ADC A,H | A+=H. | ||
55811 | LD H,A | H=A. | ||
55812 | LD A,(HL) | A=*HL. | ||
55813 | CALL PrintSprite | Call PrintSprite. | ||
55816 | LD A,(IX+5) | A=*IX+5. | ||
55819 | CP (IX+4) | Compare A with *IX+4. | ||
55822 | RET | Return. |
Prev: 55739 | Up: Map | Next: 55823 |