Page 1 of 1

how can we load pictures from superbasic

Posted: Sat Jan 29, 2022 5:31 pm
by nitrofurano
hi!
from zx-spectrum basic we can enter " load""screen$ " for loading a 6.75k video memory dump picture
how can we do the same on ql for loading a 32k video memory dump picture, in the same way, or as close as possible to this?
thanks in advance!

Re: how can we load pictures from superbasic

Posted: Sat Jan 29, 2022 6:02 pm
by Cristian
Let's suppose the picture file is named "Clive" and saved in microdrive 1:

LBYTES mdv1_Clive, 131072

Re: how can we load pictures from superbasic

Posted: Sat Jan 29, 2022 6:33 pm
by nitrofurano
thanks! :)

edit:
seems to work fine: https://postimg.cc/rzDnD0xt
the converter i used (runs on sdlbasic): https://pastebin.com/raw/Yhpj0yBm