BASIC drawing proggy

Anything Sinclair ZX Basic related; history, development, tips - differences between BASIC on the ZX80 and ZX81
User avatar
zxooner
Posts: 29
Joined: Thu Aug 30, 2018 6:06 pm

Re: BASIC drawing proggy

Post by zxooner » Sat Sep 08, 2018 10:37 am

Paul wrote:
Sat Sep 08, 2018 9:26 am
zxooner wrote:
Fri Sep 07, 2018 1:48 pm
I'm not sure if I can DM yet; will see if I can send my details now.
Did it work?
Yep, DM sent fine. Thank you :-)
low res art for the Public Domain at the ArtBeSassy archive.

User avatar
zxooner
Posts: 29
Joined: Thu Aug 30, 2018 6:06 pm

Re: BASIC drawing proggy

Post by zxooner » Sun Sep 16, 2018 10:33 am

ok, I have simplified things even further... as the ZX81 has such lovely graphics creation built right into the keyboard I have lumped for a mix of ascii/Sinclair art that works nicely.

Now that I have a full 16k (following the incredibly generous repair/replacement help from @LardoBoffin I can doodle away to my hearts content and even fill up an entire screen ;)

Code: Select all

10 INPUT A$
20 LPRINT A$
30 GOTO 10
Once the ZXPand+ is here, I will just add a line to SAVE so that I can recall A$ again if needed.. (though if I am right I may need to tweak as the ZXPand+ takes away printer commands?) ... I can't save to tape or sound file as i think my cassette leads are duff and I haven't bothered replacing as SD card option is coming soon.

Anyways, here's the piccy that I could only do half of before as I bombed out of memory when I only had the basic 1k ;-)
DnM2VwiW0AE1Ww8.jpg
DnM2WdNX4AAE2Ye.jpg
DnM2XJ3WwAALAq2.jpg
will post back when I've got the full proggy for save/recall and so on ;-)
low res art for the Public Domain at the ArtBeSassy archive.

Lardo Boffin
Posts: 800
Joined: Sat Nov 26, 2016 2:42 am

Re: BASIC drawing proggy

Post by Lardo Boffin » Sun Sep 16, 2018 10:51 am

You are welcome! :)

It never ceases to amaze me how visually impressive such low resolution graphics can be when used well.
I remember my O’level art teaching banging on about ‘capturing the impression’ when drawing etc. but my brain works on fine detail so I never really got that. I could do an extremely detailed / accurate drawing or painting of what I could see but had no real abilities beyond that.
That probably doesn’t make sense but anyway - great image.
ZX81 iss 1 (bugged ROM, kludge fix, normal)
Iss 3 with ZXVid, another in nearly perfect box
TS 1000 iss 3, ZXPand AY, ZX8-CCB & ZX-KDLX
TS 1500
TS 2000
Spectrum 16k (iss 1 s/n 1499)
Spectrum 48k
Toastrack + DIVMMC future

User avatar
zxooner
Posts: 29
Joined: Thu Aug 30, 2018 6:06 pm

Re: BASIC drawing proggy

Post by zxooner » Sun Sep 16, 2018 10:55 am

That makes complete sense - I find that if I think too much about a picture I get nowhere at all with it... I have to find that lores zone in my brain and just go with what comes out!
low res art for the Public Domain at the ArtBeSassy archive.

User avatar
zxooner
Posts: 29
Joined: Thu Aug 30, 2018 6:06 pm

Re: BASIC drawing proggy

Post by zxooner » Sun Sep 16, 2018 1:02 pm

OK, here's the final rendition, for 'ascii' art. (I wonder what to call ascii on the zeddy....?)

well, I say 'final' I just need to build in an option for enabling and disabling the printer commands if you are using ZXPand+

Code: Select all

1 REM ASCII ART PROGGY
2 PRINT "IS A$ PRESENT? (Y/N)"
3 IF INKEY$="Y" THEN GOTO 6
4 IF INKEY$="N" THEN GOTO 9
5 GOTO 3
6 CLS
7 PRINT A$
8 GOTO 10
9 CLS
10 PAUSE 40000
18 IF INKEY$="S" THEN GOTO 80
19 IF INKEY$="P" THEN GOTO 90
20 IF INKEY$="Q" THEN GOTO 100
30 INPUT A$
40 PRINT A$
50 GOTO 10
80 SAVE "ASCII"
90 LPRINT A$
91 GOTO 10
100 PRINT "QUITTING"
110 STOP
Start the proggy with GOTO 1
low res art for the Public Domain at the ArtBeSassy archive.

Post Reply