Memopak : bad RAM chips ?
Memopak : bad RAM chips ?
Hi to all,
During my tests with different RAM packs, I've got strange display with one Memopak 16 Ko.
The switches are in the master position (Off, On, On, Off).
Here is the boot screen : And with some text : I've just made a simple loop program and everything seems to work fine.
Could the display comes from bad RAM chips ?
Is there any short program to test RAM ?
During my tests with different RAM packs, I've got strange display with one Memopak 16 Ko.
The switches are in the master position (Off, On, On, Off).
Here is the boot screen : And with some text : I've just made a simple loop program and everything seems to work fine.
Could the display comes from bad RAM chips ?
Is there any short program to test RAM ?
Antony
Re: Memopak : bad RAM chips ?
The ram test ist already done by the ROM during startup. If PEEK 16389 is 128, then the ROM "thinks" the 16KB are ok.amauget wrote: Could the display comes from bad RAM chips ?
Is there any short program to test RAM ?
The strange display could be a result of something affecting the access to the character generator in ROM during the refresh phase (when the character patterns are read from ROM). So maybe something is wrong with the address decoder in the MEMOPAK, which might disable the ROM too long during refresh????
Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
http://zx81.ddns.net/ZxTeaM
Re: Memopak : bad RAM chips ?
As I understand it, the 'boot-up' memory test works by attempting to load all possible RAM locations with 02 and then reading them to see when it gets to something that isn't 02 and then setting RAMTOP to that address. Maybe a fault could be possible which doesn't show up with an 02 bit pattern but may with certain other combinations.?????? I'm assuming by memopack you mean a Memotech memopack. You could try checking the rampacks internal -5v and +12v lines to see if they are ok...??
- 1024MAK
- Posts: 5118
- Joined: Mon Sep 26, 2011 10:56 am
- Location: Looking forward to summer in Somerset, UK...
Re: Memopak : bad RAM chips ?
Are you using a Sinclair ZX81 power supply unit?
Do you have a multimeter?
The Memotech 16k byte memopack RAM pack further smooths the "9V" from the Sinclair ZX81 PSU and then uses it as the +12V to the RAM chips. This is possible as normally the output from the Sinclair ZX81 PSU is about +11V, and this is within 10% of the specified +12V needed for the RAM chips.
The Memotech RAM pack generates the -5V supply from one of the positive supplies via a switching circuit. This is again needs to be within 10% of -5V.
Mark
Do you have a multimeter?
The Memotech 16k byte memopack RAM pack further smooths the "9V" from the Sinclair ZX81 PSU and then uses it as the +12V to the RAM chips. This is possible as normally the output from the Sinclair ZX81 PSU is about +11V, and this is within 10% of the specified +12V needed for the RAM chips.
The Memotech RAM pack generates the -5V supply from one of the positive supplies via a switching circuit. This is again needs to be within 10% of -5V.
Mark
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.
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.
Re: Memopak : bad RAM chips ?
The ram works good enough that the Zeddy does not crash and shows a normal behaviour. During that the Z80 uses the ram to store the stack, to update the display file and the BASIC system variables. And everything works normally, so it's not a pure ram problem.gozzo wrote:As I understand it, the 'boot-up' memory test works by attempting to load all possible RAM locations with 02 and then reading them to see when it gets to something that isn't 02 and then setting RAMTOP to that address. Maybe a fault could be possible which doesn't show up with an 02 bit pattern but may with certain other combinations.?????? I'm assuming by memopack you mean a Memotech memopack. You could try checking the rampacks internal -5v and +12v lines to see if they are ok...??
The error occurs only, then the character (stored in D-File) are "translated" into bit patterns to be displayed on screen. So something goes wrong during this "translation", which takes place in the refresh phase of the ram, where the character generator in the ROM is addressed to read the bit patterns from it.
Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
http://zx81.ddns.net/ZxTeaM
Re: Memopak : bad RAM chips ?
While I was developing ZXpand I saw exactly these patterns and the solution was to include REFSH in the chip selection logic.
I think Siggi is on to something.
C
I think Siggi is on to something.
C
Re: Memopak : bad RAM chips ?
I think +12V or -5V is used for refresh, so could be a problem with these voltages.
Re: Memopak : bad RAM chips ?
Thanks for all your suggestions.
Yes, it's a Memotech Ram Pack and I'm using a Sinclair PSU (1.2 A).
The 16389 location does hold 128.
I have verified the voltages (yes, I do have a multimeter and an oscilloscope too) on the pins of a RAM chip : -4.96 V, 4.84 V, -8.82V.
I'va also checked the voltages on the zeddy bus : 4.84v and 9.50v (with the Memopak plugged in) / 4.86v and 10.10v w/o the Memopak.
I was concerned by the -12v value so I've tested another PSU (0.7A). At first, the screen was clean but the problem appears a couple of seconds later, slowly, point by point, line by line (something I don't mention in my first message : the pixels on the display are moving. It's not a fixed pattern).
My last test was to shut off the PSU for a couple of minutes. On power up, again, the screen was clean. Then the "dancing pixels" came in...
Yes, it's a Memotech Ram Pack and I'm using a Sinclair PSU (1.2 A).
The 16389 location does hold 128.
I have verified the voltages (yes, I do have a multimeter and an oscilloscope too) on the pins of a RAM chip : -4.96 V, 4.84 V, -8.82V.
I'va also checked the voltages on the zeddy bus : 4.84v and 9.50v (with the Memopak plugged in) / 4.86v and 10.10v w/o the Memopak.
I was concerned by the -12v value so I've tested another PSU (0.7A). At first, the screen was clean but the problem appears a couple of seconds later, slowly, point by point, line by line (something I don't mention in my first message : the pixels on the display are moving. It's not a fixed pattern).
My last test was to shut off the PSU for a couple of minutes. On power up, again, the screen was clean. Then the "dancing pixels" came in...
Antony
Re: Memopak : bad RAM chips ?
"-8.82v" !!! doesn't sound right!! ??? Should be about +11v to +12v, if it uses 4116 RAM chips - positive, not negative!!?? Strange!! Maybe I should get out my Memopack rampacks and see what readings they give!! (have 2 which definitely work and 3 others as yet untested)
- 1024MAK
- Posts: 5118
- Joined: Mon Sep 26, 2011 10:56 am
- Location: Looking forward to summer in Somerset, UK...
Re: Memopak : bad RAM chips ?
Hi amauget
The "+12V" supply should be positive with respect to the 0V (ground/common).
The output from the Sinclair ZX power supply unit (PSU) does appear lower than normal.
What is the nominal AC mains voltage in your area? Is it much lower than the 240V that the Sinclair ZX PSU is rated for?
The RAM chips used need a minimum of +10.8V on the +12V supply pins according to the manufacturers data sheet (12V - 10% = 10.8V).
I'm sure that someone can point you to a good memory test program (that is a more comprehensive one than the Sinclair ROM memory test).
Mark
The "+12V" supply should be positive with respect to the 0V (ground/common).
The output from the Sinclair ZX power supply unit (PSU) does appear lower than normal.
What is the nominal AC mains voltage in your area? Is it much lower than the 240V that the Sinclair ZX PSU is rated for?
The RAM chips used need a minimum of +10.8V on the +12V supply pins according to the manufacturers data sheet (12V - 10% = 10.8V).
I'm sure that someone can point you to a good memory test program (that is a more comprehensive one than the Sinclair ROM memory test).
Mark
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.
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.