![]() |
Routines |
Prev: 26702 | Up: Map | Next: 26768 |
Used by the routine at 31154.
|
|||||
|
|||||
26707 | LD HL,24718 | HL=Graphics_Eggsplosion_Right. | |||
This entry point is used by the routine at 26702.
|
|||||
26710 | LD IX,512 | IX=0512. | |||
This entry point is used by the routine at 26693.
|
|||||
26714 | PUSH DE | Stash DE on the stack. | |||
26715 | EX DE,HL | Exchange the DE and HL registers. | |||
26716 | LD B,2 | B=2. | |||
26718 | PUSH BC | Stash BC and HL on the stack. | |||
26719 | PUSH HL | ||||
26720 | LD B,2 | B=2. | |||
26722 | PUSH BC | Stash BC on the stack. | |||
26723 | LD A,(HL) | A=*HL. | |||
26724 | CP IXl | Compare A with the low byte of IX. | |||
26726 | PUSH HL | Stash HL on the stack. | |||
26727 | JR NZ,26745 | Jump to 26745 if ?? is not equal to 0. | |||
26729 | LD A,IXh | A=the high byte of IX. | |||
26731 | LD (HL),A | Write A to *HL. | |||
26732 | CALL ConvertAttributeToScreenBufferAddress | Call ConvertAttributeToScreenBufferAddress. | |||
26735 | LD B,8 | B=8. | |||
26737 | LD A,(DE) | A=*DE. | |||
26738 | LD (HL),A | Write A to *HL. | |||
26739 | INC H | Increment H by one. | |||
26740 | INC DE | Increment DE by one. | |||
26741 | DJNZ 26737 | Decrease counter by one and loop back to 26737 until counter is zero. | |||
26743 | JR 26752 | Jump to 26752. | |||
26745 | LD HL,8 | HL=0008. | |||
26748 | AND A | Set flags. | |||
26749 | ADC HL,DE | HL+=DE (with carry). | |||
26751 | EX DE,HL | Exchange the DE and HL registers. | |||
26752 | POP HL | Restore HL from the stack. | |||
26753 | INC HL | Increment HL by one. | |||
26754 | POP BC | Restore BC from the stack. | |||
26755 | DJNZ 26722 | Decrease counter by one and loop back to 26722 until counter is zero. | |||
26757 | POP HL | Restore HL from the stack. | |||
26758 | LD C,32 | C=32. | |||
26760 | AND A | Set flags. | |||
26761 | ADC HL,BC | HL+=BC (with carry). | |||
26763 | POP BC | Restore BC from the stack. | |||
26764 | DJNZ 26718 | Decrease counter by one and loop back to 26718 until counter is zero. | |||
26766 | POP DE | Restore DE from the stack. | |||
26767 | RET | Return. |
Prev: 26702 | Up: Map | Next: 26768 |