![]()  | 
Routines | 
| Prev: 42987 | Up: Map | Next: 43055 | 
| 
 
Used by the routine at 42761.
 
 | 
||||
| 43022 | PUSH DE | Stash DE on the stack. | ||
| 43023 | CALL 42960 | Call 42960. | ||
| 43026 | POP DE | Restore DE from the stack. | ||
| 43027 | LD A,80 | A=80. | ||
| 
 
This entry point is used by the routine at 54277.
 
 | 
||||
| 43029 | PUSH AF | Stash AF on the stack. | ||
| 43030 | LD A,D | A=D. | ||
| 43031 | AND %00001111 | Keep only bits 0-3. | ||
| 43033 | LD D,A | D=A. | ||
| 43034 | POP AF | Restore AF from the stack. | ||
| 43035 | OR D | Set the bits from D. | ||
| 43036 | LD D,A | D=A. | ||
| 43037 | AND %00001111 | Keep only bits 0-3. | ||
| 43039 | OR E | Set the bits from E. | ||
| 43040 | RET Z | Return if the result is zero. | ||
| 43041 | CALL 43143 | Call 43143. | ||
| 43044 | LD A,(42986) | A=*42986. | ||
| 43047 | PUSH HL | Stash HL on the stack. | ||
| 43048 | LD HL,40998 | HL=40998. | ||
| 43051 | OR (HL) | Set the bits from *HL. | ||
| 43052 | LD (HL),A | Write A to *HL. | ||
| 43053 | POP HL | Restore HL from the stack. | ||
| 43054 | RET | Return. | ||
| Prev: 42987 | Up: Map | Next: 43055 |