Prev: C7C5 Up: Map Next: C7EA
C7D0: Start of main game loop
Used by the routine at C758.
C7D0 DI Disable interrupts
C7D1 CALL $E641 Check scroll status and player inputs such as current spell selection, key controls
C7D4 LD HL,$0000 Reset the address pointer to the ROM, that produces semi-random byte values to play generic sound effects in the routine at E1D7.
C7D7 LD ($EB59),HL
C7DA LD A,$00 Reset speaker bit (and border)
C7DC OUT ($FE),A
C7DE LD ($EAA8),A Set the default graphics colour attribute to 0 (black INK, black PAPER)
C7E1 LD HL,($DAEE) Address pointer to the room data sets at 7C00 that contain scenery, object and creature data for the current room
C7E4 LD ($EABC),HL Copy base pointer to address store for start of next data set
C7E7 LD ($EABE),HL Copy base pointer to address store for start of current data set
Prev: C7C5 Up: Map Next: C7EA