Possible bug in ZX81x2 ROM ?

Anything Sinclair ZX Basic related; history, development, tips - differences between BASIC on the ZX80 and ZX81
User avatar
1024MAK
Posts: 5101
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: Possible bug in ZX81x2 ROM ?

Post by 1024MAK »

Every time I go to get ready to try this new ROM, someone posts another post to this thread. Which now I find I have to check in case there is a new ROM version... So I find myself in a perceptual circle... :ugeek:

Mark

PS I will try the latest version next week.
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.
User avatar
siggi
Posts: 988
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: Possible bug in ZX81x2 ROM ?

Post by siggi »

siggi wrote: Fri Nov 02, 2018 9:39 pm
But I found a slightly different behavior on ZxMore: when running HRDEMO30.P: the program does not crash. But while the blinking eye is moving from left top corner to right lower corner, the screen is inverted on EO, but white on ZxMore. Also in the end some inverted screens are not inverted.
Hmm, when running the ZxMore rom (zx81x2m) on EO, the behavior is correct. So maybe it's an issue of my ZxMore (having the latest CPLD and firmware 2.0B)? Can anyone also having a ZxMore check this?

Siggi


EO_640x428.jpg
ZxMore.JPG
Last edited by siggi on Sat Nov 03, 2018 4:32 pm, edited 1 time in total.
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
User avatar
siggi
Posts: 988
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: Possible bug in ZX81x2 ROM ?

Post by siggi »

@Greg: As far as I remember once Wilf wrote something, that fast screen inversion is done inside the HIRES-display routine, not by inverting the bits inside the hires picture. Maybe that is the reason, why ZxMore does not show an inverted screen as expected????

Siggi

Edit: When running a standard ZX81 rom on ZxMore, the screen also is not inverted. So it's ZxMore, not ZX81x2m, which causes this ...
Last edited by siggi on Sat Nov 03, 2018 10:10 am, edited 1 time in total.
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
olofsen
Posts: 189
Joined: Wed Jan 08, 2014 12:29 pm

Re: Possible bug in ZX81x2 ROM ?

Post by olofsen »

On my ZXmore with ZXmaster 1.7 (but both when switched on and off), and an early CPLD, I do get the inverted screen. Without line 400, it is not inverted. The RAND indeed modifies the dummy display file according to the manual on page 12.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: Possible bug in ZX81x2 ROM ?

Post by dr beep »

siggi wrote: Sat Nov 03, 2018 9:43 am @Greg: As far as I remember once Wilf wrote something, that fast screen inversion is done inside the HIRES-display routine, not by inverting the bits inside the hires picture. Maybe that is the reason, why ZxMore does not show an inverted screen as expected????

Siggi

Edit: When running a standard ZX81 rom on ZxMore, the screen also is not inverted. So it's ZxMore, not ZX81x2m, which causes this ...
You can indeed invert the display by setting bit 7 in the linebufferdisplay for each byte to show.
However, if you load the same code in 2 devices the display should remain the same.
User avatar
zsolt
Posts: 214
Joined: Wed Apr 20, 2011 11:43 am
Location: Fót, Hungary

Re: Possible bug in ZX81x2 ROM ?

Post by zsolt »

Moggy wrote: Fri Nov 02, 2018 8:58 pm Slow down Zsolt I'm running out of EPROMS!! :lol:
Sorry Moggy, here is a newer one. :lol:
Zsolt
ZX81 (8K), ENTERPRISE 128, [ZX SPECTRUM (48K,+,+128K,+2,+2A), TS1000, TS1500, TS2068, Cambridge Z88, PRIMO A64 (red)]
Moggy
Posts: 3231
Joined: Wed Jun 18, 2008 2:00 pm

Re: Possible bug in ZX81x2 ROM ?

Post by Moggy »

zsolt wrote: Thu Nov 08, 2018 5:12 pm
Moggy wrote: Fri Nov 02, 2018 8:58 pm Slow down Zsolt I'm running out of EPROMS!! :lol:
Sorry Moggy, here is a newer one. :lol:
Zsolt
Thanks for this Zsolt.

I have a few maths routines which I will test this with. One example being the Collatz conjecture ,which the new ROM speeds up significantly and although in places it resorts to e-notation it retains accuracy nevertheless.

I shall program an EPROM tomorrow and see how it performs. :D


Regards.

Moggy.
Post Reply