Routines |
Prev: 72EE | Up: Map | Next: 7327 |
Used by the routines at PrintMenuItem, LaserBeam_Animate, DisplayPlayerLives, PrintString, 7224, 723C and 766D.
|
||||
ScreenAddress | 7308 | LD A,L | A=L. | |
7309 | RRCA | A=A / 08. | ||
730A | RRCA | |||
730B | RRCA | |||
730C | AND %00011111 | Keep only bits 0-4. | ||
730E | LD L,A | L=A. | ||
730F | LD A,H | A=H. | ||
7310 | RLCA | A=A * 04. | ||
7311 | RLCA | |||
7312 | AND %11100000 | Keep only bits 5-7. | ||
7314 | OR L | |||
7315 | LD L,A | L=A. | ||
7316 | LD A,H | A=H. | ||
7317 | AND %00000111 | Keep only bits 0-2. | ||
7319 | EX AF,AF' | Switch to the shadow AF register. | ||
731A | LD A,H | A=H. | ||
731B | RRCA | A=A / 08. | ||
731C | RRCA | |||
731D | RRCA | |||
731E | AND %00011000 | Keep only bits 3-4. | ||
7320 | OR %01000000 | Set bit 6. | ||
7322 | LD H,A | H=A. | ||
7323 | EX AF,AF' | Switch to the shadow AF register. | ||
7324 | OR H | |||
7325 | LD H,A | H=A. | ||
7326 | RET | Return. | ||
View the equivalent code in;
|
Prev: 72EE | Up: Map | Next: 7327 |