Help with Homemade ZX80-81- HIRES problem

Discussions about Sinclair ZX80 and ZX81 Hardware
Luciano
Posts: 36
Joined: Sat Jan 02, 2016 4:57 am

Re: Help with Homemade ZX80-81- HIRES problem

Post by Luciano »

Hi.

Yes.. you all right.. the image is correct in the white stripe region!

Do you have a suggestion or idea about how to perform this adress decoding test?

It seems that it only happen using the HIRES routine , because "normal" programs runs ok.. even pseudo hires.

All sugestions are welcome..i will try to test all.. (i am trying to fix this issue for weeks.. without sucess .. :roll: )

Thank you!!
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: Help with Homemade ZX80-81- HIRES problem

Post by sirmorris »

Using a pencil and a piece of paper try to work out what address range the correct portion of the image occupies. This will give some clues I think.
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: Help with Homemade ZX80-81- HIRES problem

Post by Andy Rea »

Oh my bad, I'll go and have a rethink
what's that Smell.... smells like fresh flux and solder fumes...
Luciano
Posts: 36
Joined: Sat Jan 02, 2016 4:57 am

Re: Help with Homemade ZX80-81- HIRES problem

Post by Luciano »

Hi Andy.

Maybe is something related to the EPROM..
in this setup i am using 8k ROM 27C64.. and just to test, i placed one 28C64, the image changed completely (not fixed yet.. but much better result)

I will post the pictures soon.

Maybe the enable / disable timings? (CE OE)

Thank you!!
Luciano
Posts: 36
Joined: Sat Jan 02, 2016 4:57 am

Re: Help with Homemade ZX80-81- HIRES problem

Post by Luciano »

Attached, the picture using 28c64 instead of 27c64 EPROM

Now the white stripe has no dada :roll: weird

I will try to change the 74ls165 parallel to serial shift(video) testing with 74LS and 74HC

It only happens with Hires.. very strange.. and difficult to solve

Thank you again

Regards
Attachments
with 28c64.jpg
with 28c64.jpg (200.1 KiB) Viewed 3289 times
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: Help with Homemade ZX80-81- HIRES problem

Post by PokeMon »

Looks like a timing problem with the RAM during refresh.
How did you enable RAM during refresh ?
Maybe just wrong resistor, diodes.
So the picture is shown correctly but missing pixels.
Normally the pixels come from the ROM in text mode but from RAM in HRG mode.
Luciano
Posts: 36
Joined: Sat Jan 02, 2016 4:57 am

Re: Help with Homemade ZX80-81- HIRES problem

Post by Luciano »

Hi Pokemon.

initially i tested using the original schematic of 16k ram expansion.. (attached file name: 5 original)
it worls very well for all software loaded , like 3d maze, manic(pseudo hires) and onder 16k games.
But after loading the some HIRES programs, i notice that the hardware was not capable to display it
I started to implement some modifications using /RFSH signal and disable the /RD ( fine name:4)
So the new problem was the "garbage on screen".. (file 1)
Yesterday i tested the eprom change, using 28c64 eeprom.. it improve the image.. but still not good(file 28c64)
Today i change the 74LS165 , to 74HC165 and place back the 27c64 EPROM.. now same result as with 28c64 and 74LS
The hardware does not have ULA.. is identical to ZX80 schematic , with 16k RAM Expansion and NMI generator (Grant web site)

I tested using 2 different SRAM chips brands, no change.

If you have some suggestion , i can implement here.. maybe trying another NMI circuit configuration?? (fig zx80slow2)

Do you have some program to test the HIRES mode that uses less memory than 16k? because using WRX1K works normally..

If you need additional information, like waveforms , pictures, please let me know, and i sent to you.

I really need some help.. i was trying to solve this for weeks without success.. :roll:

Thank you very much

Luciano
Attachments
zx80slow2.jpg
(58.83 KiB) Downloaded 191 times
with 28c64.jpg
with 28c64.jpg (200.1 KiB) Viewed 3274 times
1.jpg
1.jpg (125.13 KiB) Viewed 3274 times
4.jpg
4.jpg (37.44 KiB) Viewed 3274 times
5 ORIGINAL.jpg
5 ORIGINAL.jpg (42.67 KiB) Viewed 3274 times
Luciano
Posts: 36
Joined: Sat Jan 02, 2016 4:57 am

Re: Help with Homemade ZX80-81- HIRES problem

Post by Luciano »

Another info.. may be useful.. this file attached , pacman.p is a HIRES game.. and works normally..no problems

it seems than only happens with steady pictures?? :roll:
Attachments
pacman.p
(13.18 KiB) Downloaded 157 times
User avatar
siggi
Posts: 988
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: Help with Homemade ZX80-81- HIRES problem

Post by siggi »

Hi Luciano

you should use this logic as given above:
sirmorris wrote: Mon Nov 20, 2017 5:10 pm This is from the ZXpand RAM select logic.

RAM = true when RAM is required.

assign IFRAMOE = !nRD | !nREFSH;
assign IFRAMCE = (!nMREQ | !nREFSH) & RAM
Could you show us a picture of your ZX81? Maybe there are other problems? Not enough deblocking capacitors next to the ram? Thin GND or +5V lines?
This things could result in a lot of misterious problems ....

Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
Luciano
Posts: 36
Joined: Sat Jan 02, 2016 4:57 am

Re: Help with Homemade ZX80-81- HIRES problem

Post by Luciano »

Hi Siggi.

I will try to implement the logic suggested.

Before start soldering ,Could you please confirm if i did the logic convetions correcttly? (attached)

Yes, i can send the pictures of my setup.

Thanks a lot!! ;)
Attachments
GATES.jpg
GATES.jpg (65.63 KiB) Viewed 3237 times
Post Reply