Routines |
Prev: CD90 | Up: Map | Next: CDAA |
routine68 | CD92 | LD HL,map_object_table | Set HL to address of map_object_table. | |
CD95 | LD B,$9E | Set B to 158 as loop counter. | ||
routine68_0 | CD97 | PUSH BC | Preserve address and counter. | |
CD98 | PUSH HL | |||
CD99 | LD (object_table_entry_pointer),HL | Set object_table_entry_pointer to position in map_object_table. | ||
CD9C | CALL routine52 | Call routine52 ??? | ||
CD9F | LD HL,(BUFPNT) | Add return value to byte at address in BUFPNT. | ||
CDA2 | ADD A,(HL) | |||
CDA3 | LD (HL),A | |||
CDA4 | POP HL | Restore counter and address and advance to next entry. | ||
CDA5 | INC HL | |||
CDA6 | POP BC | |||
CDA7 | DJNZ routine68_0 | Loop for 158 iterations and return. | ||
CDA9 | RET |
Prev: CD90 | Up: Map | Next: CDAA |