Routines |
Prev: 47837 | Up: Map | Next: 47987 |
Used by the routine at StartGame.
|
||||
47926 | LD IX,49876 | IX=49876. | ||
47930 | LD DE,13 | DE=0013. | ||
47933 | LD B,2 | B=2 (counter). | ||
47935 | LD A,31 | A=31. | ||
47937 | AND (IX+5) | Merge the bits of A with *IX+5. | ||
47940 | CP 10 | Jump to 47950 if A is 10. | ||
47942 | JR Z,47950 | |||
47944 | ADD IX,DE | IX+=DE. | ||
47946 | DJNZ 47935 | Decrease counter by one and loop back to 47935 until counter is zero. | ||
47948 | LD A,11 | A=11. | ||
47950 | LD (47862),A | A=47862. | ||
47953 | RLCA | RLCA. | ||
47954 | LD (47905),A | A=47905. | ||
47957 | LD B,2 | B=2 (counter). | ||
47959 | LD IX,49876 | IX=49876. | ||
47963 | LD A,31 | A=31. | ||
47965 | AND (IX+5) | Merge the bits of A with *IX+5. | ||
47968 | CP 21 | Jump to 47978 if A is 21. | ||
47970 | JR Z,47978 | |||
47972 | ADD IX,DE | IX+=DE. | ||
47974 | DJNZ 47963 | Decrease counter by one and loop back to 47963 until counter is zero. | ||
47976 | LD A,20 | A=20. | ||
47978 | INC A | Increment A by one. | ||
47979 | LD (47866),A | A=47866. | ||
47982 | RLCA | RLCA. | ||
47983 | LD (47909),A | A=47909. | ||
47986 | RET | Return. |
Prev: 47837 | Up: Map | Next: 47987 |