Prev: 26627 Up: Map Next: 27236
27118: Print "HELLO HACKER" text, animate starfield and reset Spectrum upon key-press
Used by the routine at 26624.
27118 LD SP,24539 Set stack pointer to 24529
27121 XOR A Set A to zero
27122 OUT (254),A Reset speaker state and border to black
27124 LD HL,16384 Fill display file with zeroes (i.e. black out the screen)
27127 LD DE,16385
27130 LD BC,6144
27133 LD (HL),A
27134 LDIR
27136 LD A,71 Store 71 (white INK, black PAPER, BRIGHT) at 23693 and 23695
27138 LD (23693),A
27141 LD (23695),A
27144 LD BC,767 Flood attribute file with value 71 (white INK, black PAPER, BRIGHT)
27147 LD (HL),A
27148 LDIR
27150 LD HL,20480 Set display file address to print text
27153 LD (36488),HL
27156 LD HL,43054 Point HL at "HELLO HACKER" text
27159 CALL 36725 Print text to screen
27162 CALL 38884 Animate starfield until a key is pressed
27165 JP 0 Reset the Spectrum
Prev: 26627 Up: Map Next: 27236