Prev: C0B4 Up: Map Next: C0D2
C0C3: Get Table Entry
Fetch one address from a table of addresses.
Input
E Index of the entry
IX Base table address
Output
HL Address from the table entry
IX Address of the table entry
GetTableEntry C0C3 LD D,$00 Double the index and add it to the table.
C0C5 SLA E
C0C7 RL D
C0C9 ADD IX,DE
C0CB LD L,(IX+$00) Copy that address out of the table.
C0CE LD H,(IX+$01)
C0D1 RET Return.
Prev: C0B4 Up: Map Next: C0D2