how can we load pictures from superbasic

Anything QL Software or Programming Related.
Post Reply
User avatar
nitrofurano
Chuggy Microdrive
Posts: 53
Joined: Sat Nov 16, 2013 10:48 am

how can we load pictures from superbasic

Post 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!


User avatar
Cristian
QL Wafer Drive
Posts: 1024
Joined: Mon Feb 16, 2015 1:40 pm
Location: Veneto

Re: how can we load pictures from superbasic

Post by Cristian »

Let's suppose the picture file is named "Clive" and saved in microdrive 1:

LBYTES mdv1_Clive, 131072


User avatar
nitrofurano
Chuggy Microdrive
Posts: 53
Joined: Sat Nov 16, 2013 10:48 am

Re: how can we load pictures from superbasic

Post by nitrofurano »

thanks! :)

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


Post Reply