loading images (SCR) - from tape

edited August 2012 in Sinclair Basic
Hello, i would like to understand how to put an image and loaded from tape.

I was able to use on "Pee Cee" a converter software that did a JPG -> SCR
in 256?192, then with pee cee command line to do a TAP file, then convert
to WAV and finnaly, record it on my old TAPE. In my "real" zx48K just did the Load"" and with play, he loaded the image on screen.

but i would like to understand how it can be done, everything on the ZX.
I know there are some programs to draw, let's imagine "zx paint".
If i load "zx paint" in my zx48k draw my image, then what? Save it to other tape? And then what? How can i put the syntax to load the image and the image itself in the same tape?
I guess the syntax has to be first and the image after, from a sequence point of view. And what is the syntax to load it? is it the screen$?
Thanks
Post edited by tiago on

Comments

  • LCDLCD
    edited August 2012
    Use LOAD "" SCREEN$. It loads the next screen on tape.
    (SCREEN$ is a keyword!)
    LOAD"" works only if there is a BASIC Loader for it included.
    If you save the screens with filenames, you can use LOAD"filename" SCREEN$.
  • edited August 2012
    Ok LCD, so imagine that i want to give a tape to a friend with 2 or 3 images:

    He will do the LOAD""

    So can i do something like:
    10 print "test software"
    20 LOAD "" SCREEN$

    and then do SAVE "software" to record it on tape?
    but i have to put the "software" code before the image right?
    I am confused, because how do i know where to put things in the tape.
    I guess i first need to record the "software" to tape, and only then record the SCR image. but i must take in consideration that there is already code on the tape, so the image must be a little after (some seconds) ?
  • LCDLCD
    edited August 2012
    Exactly. 1-2 second later will be okay.
    SAVE "software" LINE 1 will autostart the "software" from line 1
    If there is already code on the tape, it can be overwritten if it was recorded later on tape.
    Think of it like a music tape. First you record the introm then the main part. It works the same day.
Sign In or Register to comment.