Marsport | Routines |
Prev: B577 | Up: Map | Next: B5B0 |
|
||||
LinkList_MoveLinkFrom | B583 | LD A,($BD2E) | Return if list is empty. | |
B586 | AND A | |||
B587 | RET Z | |||
B588 | LD IX,(_bd2d_LinkListPtr) | Remove link from list. | ||
B58C | LD DE,(_bd2d_LinkListPtr) | |||
B590 | LD L,(IX+$00) | |||
B593 | LD H,(IX+$01) | |||
B596 | LD (_bd2d_LinkListPtr),HL | |||
B599 | LD HL,Mem_zeroes | Clear link. | ||
B59C | LD BC,$0011 | |||
B59F | LDIR | |||
B5A1 | OR H | |||
B5A2 | LD HL,(_bd35_LinkList) | Put into other list. | ||
B5A5 | LD (IX+$00),L | |||
B5A8 | LD (IX+$01),H | |||
B5AB | LD (_bd35_LinkList),IX | |||
B5AF | RET |
Prev: B577 | Up: Map | Next: B5B0 |