Routines |
Prev: 42851 | Up: Map | Next: 42964 |
Used by the routine at 48046.
|
||||
42911 | LD A,(38571) | A=38571. | ||
42914 | CALL HandlerOrchidType | Call HandlerOrchidType. | ||
42917 | PUSH IX | |||
42919 | LD IX,38874 | IX=OrchidData. | ||
42923 | LD A,(IX+0) | |||
42926 | AND %00000111 | Keep only bits 0-2. | ||
42928 | LD C,A | |||
42929 | LD A,(IX+2) | |||
42932 | AND %00001000 | Keep only bit 3. | ||
42934 | OR C | |||
42935 | LD C,A | |||
42936 | LD A,(IX+7) | |||
42939 | RLCA | |||
42940 | RLCA | |||
42941 | RLCA | |||
42942 | RLCA | |||
42943 | AND %11110000 | Keep only bits 4-7. | ||
42945 | OR C | |||
42946 | LD (HL),A | |||
42947 | INC HL | |||
42948 | LD A,(IX+5) | |||
42951 | AND %00000111 | Keep only bits 0-2. | ||
42953 | LD B,A | |||
42954 | LD A,(IX+6) | |||
42957 | AND %11111000 | Keep only bits 3-7. | ||
42959 | OR B | |||
42960 | LD (HL),A | |||
42961 | POP IX | |||
42963 | RET | Return. |
Prev: 42851 | Up: Map | Next: 42964 |