Fast PLOT routine

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

Fast PLOT routine

Post by Shaun_B » Thu Jan 04, 2018 8:34 pm

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: 2225
Joined: Sat Sep 17, 2011 6:48 pm

Re: Fast PLOT routine

Post by PokeMon » Thu Jan 04, 2018 11:39 pm

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: 1112
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: Fast PLOT routine

Post by dr beep » Fri Jan 05, 2018 3:14 pm

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: 419
Joined: Wed Apr 22, 2009 10:22 am

Re: Fast PLOT routine

Post by Shaun_B » Fri Jan 05, 2018 3:20 pm

Hi Dr Beep,

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

Regards,

Shaun

User avatar
XavSnap
Posts: 502
Joined: Sat May 10, 2008 4:23 pm

Re: Fast PLOT routine

Post by XavSnap » Fri Jan 05, 2018 7:37 pm

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!)

Shaun_B
Posts: 419
Joined: Wed Apr 22, 2009 10:22 am

Re: Fast PLOT routine

Post by Shaun_B » Fri Jan 05, 2018 10:29 pm

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: 191
Joined: Sat Dec 14, 2013 7:46 pm

Re: Fast PLOT routine

Post by GCHarder » Fri Jan 05, 2018 10:42 pm

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: 275
Joined: Thu Aug 27, 2009 10:49 pm
Location: Derbyshire, UK
Contact:

Re: Fast PLOT routine

Post by bobs » Sun Jan 07, 2018 3:31 pm

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