![]() |
Routines |
| Prev: 25165 | Up: Map | Next: 25180 |
|
Used to convert a distance (in doubled map units) into radar pixels, which are then found in H.
|
||||||||||||
| MultiplyHLByFour | 25171 | LD B,2 | Set the shift counter to 2. | |||||||||
| MultiplyHLByFour_Loop | 25173 | RL L | Rotate HL left by one place. | |||||||||
| 25175 | RL H | |||||||||||
| 25177 | DJNZ MultiplyHLByFour_Loop | Decrease the shift counter by one and loop back to MultiplyHLByFour_Loop until both shifts have been done. | ||||||||||
| 25179 | RET | Return. | ||||||||||
| Prev: 25165 | Up: Map | Next: 25180 |