Prev: C753 Up: Map Next: C7B6
C77F: Initialise: Moscow
Moscow_Initialise C77F LD HL,$7AC4 HL=7AC4.
C782 LD A,$00 Write 00 to *99AA.
C784 LD ($99AA),A
C787 LD BC,$0408 BC=0408.
Moscow_Initialise_Loop C78A LD IX,($99E3) IX=*99E3.
C78E LD (IX+$04),L Write L to *IX+04.
C791 LD (IX+$05),H Write H to *IX+05.
C794 LD (IX+$06),C Write C to *IX+06.
C797 LD (IX+$07),B Write B to *IX+07.
C79A PUSH HL Stash HL and BC on the stack.
C79B PUSH BC
C79C LD HL,($99E3) HL=*99E3.
C79F CALL $9439 Call 9439.
C7A2 CALL $9929 Call 9929.
C7A5 LD HL,($99E3) HL=*99E3.
C7A8 LD DE,$0038 HL+=0038.
C7AB ADD HL,DE
C7AC LD ($99E3),HL Write HL to *99E3.
C7AF POP BC Restore BC and HL from the stack.
C7B0 POP HL
C7B1 INC HL Increment HL by two.
C7B2 INC HL
C7B3 DJNZ Moscow_Initialise_Loop Decrease counter by one and loop back to Moscow_Initialise_Loop until counter is zero.
C7B5 RET Return.
Prev: C753 Up: Map Next: C7B6