News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

CPC 6128 - white screen, black border

Started by mmldrm, 22:02, 31 March 24

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

McArti0

Quote from: Bryce on 10:41, 03 May 24no way of knowing if their test is running as expected or not and the results can't be trusted.
Test is Pin 24 z80 WAIT is permanent Lo after Step 3
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

McArti0

Test 74LS373 by spider hardware ;D

CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Bryce

Quote from: McArti0 on 11:01, 03 May 24@Bryce.
Notice that the clock inverter gets a heavy zero at the input - it has no chance of ticking even once. The freeze is sure and strong.On the address lines there is &B100 or &B101. I use rectifier diodes so they have a 60ns propagation time, they may not stop at the first LDIR address.

Hi McArti0,
      you may have misunderstood what I meant (or I explained it badly?).
Yes, the clock will definitely stop as planned with your setup, that's certain. My query was whether it runs properly before that point
and it seems you've just answered that question yourself with the screenshot. If you take a look at the diagram, the clock glitched
a few cycles earlier. So the clock was unstable and it can't be said with certainty that the CPU acted correctly from that point onwards
and the entire system was in an unknown state there after.

Bryce.

McArti0

Quote from: Bryce on 11:54, 04 May 24it can't be said with certainty that the CPU acted correctly from that point onwards
and the entire system was in an unknown state there after.
This diagram is not mine. It is borrowed from Bread80.  8)

https://bread80.com/2021/06/03/understanding-the-amstrad-cpc-video-ram-and-gate-array-subsystem/
Fig.5

I understand what you are talking about, but for now it is not important to us because even if I have disturbed the program code, for now we want GA to stop with READY Lo and RAMRD Hi or Lo. And that's exactly what's happening. even the address is correct. You can statically check whether 373 is open and output responds to input and 373 save state. The next test will be to catch 373 in latch. i.e. the first RAM reading, READY Lo, RAMRD Lo without steps, using an external OR gate made on the 74LS02. the reading should be 00h.
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

McArti0

Quote from: Bryce on 11:54, 04 May 24the clock glitched
a few cycles earlier. So the clock was unstable
I tried this. My tests show that the clock is only wrong when touching the contacts with a bare hand and rubbing the wires against each other when the clock is active. there is no interference from the wires as the antenna MW radio.
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

McArti0

never connect the pins this way.

I pushed the IORQ pin apart and now it doesn't connect to the socket without it.
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Bryce

Any update? Did the RAM ever arrive and get installed?

Bryce.

McArti0

We are wating for 74LS02 and Breadboard for test 373. We have diods to test 244. We are waiting for some time.

mmldrm is reading z80 manual Fig 4-8.
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

McArti0

Quote from: Bryce on 12:06, 14 May 24Did the RAM ever arrive and get installed?
If mmldrm fixes this CPC, he will have to give it back. Would you give away your first CPC in your life?  ;D Besides, here mmldrm learns digital electronics.
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Bryce

By the time it's fixed (when he gets around to replacing the RAM), he'll have spent so much money and time, that he could have bought his own one! :D

Bryce.

McArti0

@Bryce 

He started by buying an oscilloscope, I'm afraid to ask what kind, but I think it was RIGOL, so the CPC costs went first.  ;D
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Bryce

Rigol is a very good mid-range brand. I'd highly recommend them for hobby electronics. I use some of their devices too.
(but I already had my CPC when I bought them :) ).

Bryce.

McArti0

#162
A new memory test occurred to me.

RAMDIS HI, ROMDIS HI (of course after plugin wired version PAL)

and grounded D5,D4,D1.

Z80 always takes the CDh,CDh,CDh,CDh...  i.e. CALL #CDCD (push to stack CDCD+3=CDD0)

Whole of memory fills by CDD0

1 1 0 0  1  1 0 1
1 1 0 1  0 0 0 0
_________________
1 1 0½ ½½0½

Its test other bits than FF (RST 38h)

I'll check if it works  :D
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

McArti0

@mmldrm

Try one think. Cross Pin21 Z80 RD to other RD like RD expansion port.
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

mmldrm

Finally the 74LS02 has arrived!

I will try the above tests too, if I understand them.  :o

My oscilloscope is a Zoyi ZT-702S: https://zoyitools.com/product/zt-702s/

I found it for £43, and figured it's something I can use for years after this. This is true for the breadboard and components I bought for the tests - I like playing with electronics and would like to do more hardware projects in the future.

If these tests from @McArti0 can reduce the number of chips that I desolder and replace, I am less likely to destroy the motherboard in the process. Unorthodox, but I'm happy to proceed with caution on this.

Thanks for staying with me this far on the journey. I know there is a variety of opinions on the path we have taken. :)

McArti0

Ok. Make OR Gate on breadbord. (From 2 NOR gate in 74Ls02). ;)
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

mmldrm

Quote from: McArti0 on Yesterday at 13:26Ok. Make OR Gate on breadbord. (From 2 NOR gate in 74Ls02). ;)
I could do this when I was 18. 😅 I'll go read up on it and get back to you. 🫡 

Bryce

Quote from: mmldrm on Yesterday at 12:23Finally the 74LS02 has arrived!

I will try the above tests too, if I understand them.  :o

My oscilloscope is a Zoyi ZT-702S: https://zoyitools.com/product/zt-702s/

I found it for £43, and figured it's something I can use for years after this. This is true for the breadboard and components I bought for the tests - I like playing with electronics and would like to do more hardware projects in the future.

If these tests from @McArti0 can reduce the number of chips that I desolder and replace, I am less likely to destroy the motherboard in the process. Unorthodox, but I'm happy to proceed with caution on this.

Thanks for staying with me this far on the journey. I know there is a variety of opinions on the path we have taken. :)

The scope is ok for basic "signal present" checking, but only up to about 3MHz for proper diagnosis. That's a bit on the low side even for retro computer repair.

Bryce.

mmldrm

Quote from: Bryce on Yesterday at 14:18Bryce.
Ouch. That would be a bit disappointing. It's the one suggested on page 2 of this thread. 

The spec shows 10MHz. Am I misunderstanding it? (Quite possible.)

McArti0

48Msps :-X
Although zt-703 and ... I dreamed about Rigol
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

McArti0

CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Powered by SMFPacks Menu Editor Mod