10

Saving the screen on a Spectrum will typically get part of it obscured with the message “Start tape, then press any key.”: Screen with annoying tape prompt How might one save the screen image from Sinclair BASIC without it being corrupted in this way?

scruss
  • 21,585
  • 1
  • 45
  • 113

1 Answers1

16

One simple answer is to copy the screen to a buffer elsewhere in memory and save it from there.

10 CLEAR 58455
... generate the screen image here ...
900 FOR n=0 TO 6911
910 POKE 58456+n, PEEK (16384+n)
920 NEXT n
930 SAVE "image" CODE 58456,6912

It's also possible to disable the prompt immediately before the SAVE, by changing the input / output functions for the "K" device:

900 POKE 23734,111: REM suppress prompt
910 POKE 23736,20: REM don't wait for keypress
920 SAVE "image" SCREEN$
john_e
  • 7,263
  • 20
  • 44