BASIC drawing proggy

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

BASIC drawing proggy

Post by zxooner » Thu Sep 06, 2018 8:31 pm

hey all,

I've written a very simple drawing proggy to use on my unexpanded zeddy and I'm pretty happy with it.

***edit*** there is now an 'ascii' version with save and print options, too.

You litterally move the pointer around the screen with the four keys, then the T key will raise or lower the pen and allow you to draw or erase. It does everything I need really and I can get a simple picture done before it bombs out of available memory.

One thing I would like, however, is the ability to save the drawing once it has been made on the screen, and I hijacked @mrtinb's thread, to that effect. Got some good suggestions on that thread, so once I have been able to expand the RAM (either with the blank screen ram pack that i cant get to work, or with the ZXpand+ that I have pre-ordered) i will report back.

listing.jpg
the BASIC proggy that I use to draw
plan.jpg
example drawing
Last edited by zxooner on Sun Sep 16, 2018 1:05 pm, edited 1 time in total.
low res art for the Public Domain at the ArtBeSassy archive.

User avatar
Paul
Posts: 973
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: BASIC drawing proggy

Post by Paul » Thu Sep 06, 2018 9:04 pm

Very well done!
Kind regards Paul
In theory, there is no difference between theory and practice. But, in practice, there is.

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

Re: BASIC drawing proggy

Post by zxooner » Thu Sep 06, 2018 10:02 pm

Thank you Paul; I'm loving learning my way around this lil machine! Wish I'd got ones years ago \m/
low res art for the Public Domain at the ArtBeSassy archive.

User avatar
mrtinb
Posts: 794
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: BASIC drawing proggy

Post by mrtinb » Thu Sep 06, 2018 10:22 pm

As you can see in many threads on this forum, the general problem with the 16K RAMpack is bad capacitors.

You could open it up and replace the capacitors, and that might fix your RAMpack.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

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

Re: BASIC drawing proggy

Post by zxooner » Thu Sep 06, 2018 10:28 pm

mrtinb wrote:
Thu Sep 06, 2018 10:22 pm
As you can see in many threads on this forum, the general problem with the 16K RAMpack is bad capacitors.

You could open it up and replace the capacitors, and that might fix your RAMpack.
I got a chance to open it up earlier and as soon as I saw them there I had a similar thought! Hoping to get some time to have a closer look at the weekend so will report back if I have any success on that front.
low res art for the Public Domain at the ArtBeSassy archive.

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

Re: BASIC drawing proggy

Post by Lardo Boffin » Fri Sep 07, 2018 11:09 am

I have a couple of dead Sinclair 16K RAM packs you are welcome to for the price of p&p (from the UK) - there may be enough working components between them to get yours going.
ZX81 iss 1 (bugged ROM, kludge fix, normal, rebuilt)
Iss 3 ZXVid
TS 1000 iss 3, ZXPand AY, ZX8-CCB, ZX-KDLX & ChromaSCART
TS 1500
TS 2000
Spectrum 16k (iss 1 s/n 1499)
Various Spectrum 48ks plus a DIVMMC future and SPECTRA

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

Re: BASIC drawing proggy

Post by zxooner » Fri Sep 07, 2018 1:48 pm

Lardo Boffin wrote:
Fri Sep 07, 2018 11:09 am
I have a couple of dead Sinclair 16K RAM packs you are welcome to for the price of p&p (from the UK) - there may be enough working components between them to get yours going.
Thank you so much! That would be awesome. I'm not sure if I can DM yet; will see if I can send my details now.
low res art for the Public Domain at the ArtBeSassy archive.

User avatar
Dim_75
Posts: 28
Joined: Fri Sep 01, 2017 11:04 pm
Location: Paris, FR

Re: BASIC drawing proggy

Post by Dim_75 » Sat Sep 08, 2018 12:52 am

Pretty good drawing and a simple program !

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

Re: BASIC drawing proggy

Post by zxooner » Sat Sep 08, 2018 6:07 am

Dim_75 wrote:
Sat Sep 08, 2018 12:52 am
Pretty good drawing and a simple program !
Thank you @Dim_75! One day I will create a masterpiece and the wife will have to let me leave the zeddy switched on forever if I can't save by then :lol:
low res art for the Public Domain at the ArtBeSassy archive.

User avatar
Paul
Posts: 973
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: BASIC drawing proggy

Post by Paul » 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?
In theory, there is no difference between theory and practice. But, in practice, there is.

Post Reply