Does the zx spectrum have a fill command?

Post Reply
Crayon21
Posts: 357
Joined: Sun Nov 04, 2018 2:33 am

Does the zx spectrum have a fill command?

Post by Crayon21 »

One of the games I uploaded to the CGC required a fill command for one of the shapes (namely a circle). Is there a way to fill in a given shape once drawn? Just the shape, not the screen. I've tried paper and CLS but that doesn't work. Ideas?
In Heck, there are two options for perpetual torment:

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
:twisted:
User avatar
1024MAK
Posts: 5118
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: Does the zx spectrum have a fill command?

Post by 1024MAK »

The ZX Spectrum BASIC does not have a graphics fill command.

Various people have written machine code fill routines over the years.

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
Crayon21
Posts: 357
Joined: Sun Nov 04, 2018 2:33 am

Re: Does the zx spectrum have a fill command?

Post by Crayon21 »

crap. are there basic extensions that have it?
In Heck, there are two options for perpetual torment:

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
:twisted:
dr beep
Posts: 2079
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: Does the zx spectrum have a fill command?

Post by dr beep »

Crayon21 wrote: Wed Feb 28, 2024 9:33 pm crap. are there basic extensions that have it?
By heart betabasic has
User avatar
1024MAK
Posts: 5118
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: Does the zx spectrum have a fill command?

Post by 1024MAK »

Crayon21 wrote: Wed Feb 28, 2024 9:33 pm crap. are there basic extensions that have it?
I think so. But as I have not used any for many, many years, I'm not best placed to try to answer...

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
dr beep
Posts: 2079
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: Does the zx spectrum have a fill command?

Post by dr beep »

Crayon21
Posts: 357
Joined: Sun Nov 04, 2018 2:33 am

Re: Does the zx spectrum have a fill command?

Post by Crayon21 »

dr beep wrote: Wed Feb 28, 2024 9:39 pm
Crayon21 wrote: Wed Feb 28, 2024 9:33 pm crap. are there basic extensions that have it?
By heart betabasic has
thank you
In Heck, there are two options for perpetual torment:

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
:twisted:
Post Reply