Fast PLOT routine

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
Post Reply
Shaun_B
Posts: 474
Joined: Wed Apr 22, 2009 10:22 am

Fast PLOT routine

Post by Shaun_B »

Hi,

Is there any way to PLOT to the screen quickly with a nice bit of assembly? Or is this simply not possible on the ZX81?

Regards,

Shaun
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: Fast PLOT routine

Post by PokeMon »

You might use HRG-ms from Matthias Swatosch.
This supports full HRG and a nice driver bib with functions to plot and unplug and more.
Easy to use and compatible with ZXmore as well.

http://www.swatosch.de/zx81/
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: Fast PLOT routine

Post by dr beep »

Define PLOT.

Zx81 pixels (4x4) or 1x1 hires.

It is possible to use scanning for parameters.
Assume fullscreen or not. Fullscreen is faster
Shaun_B
Posts: 474
Joined: Wed Apr 22, 2009 10:22 am

Re: Fast PLOT routine

Post by Shaun_B »

Hi Dr Beep,

I was thinking of ZX81 pixels only for now, not high resolution.

Regards,

Shaun
User avatar
XavSnap
Posts: 1940
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Fast PLOT routine

Post by XavSnap »

Hi,

Yes, Shaun_B ... the internal "PLOT" routine in the ROM is :mrgreen: ...

It slow down all ASM code how using this ROM routine.
:x


Big letters:
http://www.hebdogiciel.free.fr/hd-roms/ ... uslong.zip
http://zx81.ordi5.free.fr/programmes/Big%20Letters.zip

...???
Is there a code to fill a part of the screen? (never seen kind of routine!)
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Shaun_B
Posts: 474
Joined: Wed Apr 22, 2009 10:22 am

Re: Fast PLOT routine

Post by Shaun_B »

Hi,

I just want some examples of somehow doing fast PLOTing to the screen so I can mess about. Fill, point-to-point and other drawing primitives will come later on if I get that far. Just for fun.

Thanks,

Shaun.
User avatar
GCHarder
Posts: 427
Joined: Sat Dec 14, 2013 7:46 pm

Re: Fast PLOT routine

Post by GCHarder »

Did you see my "Rapid Plot" post in the BASIC forum?

http://sinclairzxworld.com/viewtopic.ph ... lot#p15004

It might give you some ideas.

Regards;

Greg
User avatar
bobs
Posts: 325
Joined: Thu Aug 27, 2009 10:49 pm
Location: UK
Contact:

Re: Fast PLOT routine

Post by bobs »

I could write a lot on this subject, as many of my ZX81 games - especially ZXagon - need to do this. I’m pretty sure I could write a faster routine than the one mentioned here, but the real trick is to not do it from BASIC, so you can use a custom back buffer format which suits the kind of graphics you need to display.
Post Reply