Page 1 of 1

Does the zx spectrum have a fill command?

Posted: Wed Feb 28, 2024 8:30 pm
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?

Re: Does the zx spectrum have a fill command?

Posted: Wed Feb 28, 2024 9:31 pm
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

Re: Does the zx spectrum have a fill command?

Posted: Wed Feb 28, 2024 9:33 pm
by Crayon21
crap. are there basic extensions that have it?

Re: Does the zx spectrum have a fill command?

Posted: Wed Feb 28, 2024 9:39 pm
by dr beep
Crayon21 wrote: Wed Feb 28, 2024 9:33 pm crap. are there basic extensions that have it?
By heart betabasic has

Re: Does the zx spectrum have a fill command?

Posted: Wed Feb 28, 2024 9:40 pm
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

Re: Does the zx spectrum have a fill command?

Posted: Wed Feb 28, 2024 9:42 pm
by dr beep

Re: Does the zx spectrum have a fill command?

Posted: Thu Feb 29, 2024 4:09 am
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