UK Vintage Radio Repair and Restoration Powered By Google Custom Search Vintage Radio and TV Service Data

Go Back   UK Vintage Radio Repair and Restoration Discussion Forum > Specific Vintage Equipment > Vintage Computers

Notices

Vintage Computers Any vintage computer systems, calculators, video games etc., but with an emphasis on 1980s and earlier equipment.

Closed Thread
 
Thread Tools
Old 3rd Nov 2020, 12:01 am   #761
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,294
Default Re: Mk14 vdu

#759 and #760 make more sense.

#759 shows a delay from NENIN to the spike from the 74ls27, which would be expected due to internal delay of the SCMP releasing the bus.

#760 shows one chip enable stays low, but the other switches from high to low at about the same point as NWDS switches from low to high, and timing between them appears to cause the spike.

Pullup on NWDS might make it rise a bit faster, but I think you already tried that.

Another possible fix is to slow down the chip enable, maybe a small capacitor on the chip enable. Something in the 47 to 150 pf range, which shouldn’t impact normal access time.
Mark1960 is online now  
Old 3rd Nov 2020, 12:11 am   #762
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Mk14 vdu

About that: The VDU is read-only, so it has no connection to NWDS, only to NRDS.

The spike indicates, or is supposed to indicate, when _CE1 and _CE2 and _NWDS are all low.

If _NWDS is low during NENIN, why is that? The SC/MP is (supposedly) off the bus when NENIN is high, and the VDU doesn't have any way to drive NWDS.
SiriusHardware is offline  
Old 3rd Nov 2020, 12:32 am   #763
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,294
Default Re: Mk14 vdu

Quote:
Originally Posted by SiriusHardware View Post
About that: The VDU is read-only, so it has no connection to NWDS, only to NRDS.

The spike indicates, or is supposed to indicate, when _CE1 and _CE2 and _NWDS are all low.

If _NWDS is low during NENIN, why is that? The SC/MP is (supposedly) off the bus when NENIN is high, and the VDU doesn't have any way to drive NWDS.
I think what’s happening is that the SCMP is performing a write cycle and is kicked off the bus with NENIN, and during the kicking off the NWDS stays low a little longer, while the address lines change faster and address the other ram chip.
Mark1960 is online now  
Old 4th Nov 2020, 8:36 pm   #764
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Mk14 vdu

I finally recovered my power supply, so taking another look again. The first thing I tried was three schottky diodes pointing away from _NWDS and 0Fxx _CE1 and _CE2 with the diodes all joined at the 'away' end and taken to 0V via a 27K resistor.

The output from that is unusable, I'll leave it at that.

So then, poking around with just the MK14 and the bridge PCB and the OrtonView (with 'optimised' firmware FW523/FW532) chained together I observed, as Tim often has, that if I just leave that combination running, the third 7-segment digit in from the RHS eventually changes to a reverse 'C'. Unless we have two different problems going on, this is more than likely another symptom arising from the same problem which causes stray characters to be written to the RAM.

So maybe this is the reliable 'trigger event' we can use, the moment when one or all of segments a-d of the third display cell light up. Trigger from that, and examine what is happening at the same instant on A8-A11, NWDS and NENIN in turn. Repeat the observations on each line several times so we can see if each line is always doing the exact same thing at the moment when the extra display cell lights up.

Of course this is complicated by the fact that the display is multiplexed so we need to look for at least one of the segment drive outputs to the third display cell being high at the same time as the corresponding LED common cathode goes low. I invite suggestions as to the simplest way to detect that and derive some sort of output which can trigger one channel of the scope.
SiriusHardware is offline  
Old 4th Nov 2020, 8:57 pm   #765
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,294
Default Re: Mk14 vdu

I think the way the MK14 display works is that the display is driven from data stored in RAM, so this is probably another example of RAM corruption.

I don’t think triggering from the display driver could help to isolate the problem in this case.

I’ll take a look through scios to confirm.
Mark1960 is online now  
Old 4th Nov 2020, 9:34 pm   #766
Timbucus
Octode
 
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,363
Default Re: Mk14 vdu

Well you know I said I ordered some clips... they may have come with a new toy...

Click image for larger version

Name:	IMG_4259.jpg
Views:	51
Size:	60.0 KB
ID:	219659

Click image for larger version

Name:	Trace1.jpg
Views:	44
Size:	31.4 KB
ID:	219660

I have been experimenting with what things are worth looking at and may contribute to pinning down the issues. OD on F00 and B00 are the same and also the same as NRDS it seems - looking at the Circuit diagram and some samples that is correct so no need to capture them separately.

Any suggestions welcome...
Timbucus is offline  
Old 4th Nov 2020, 9:38 pm   #767
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Mk14 vdu

I think you're probably right, SCIOS must render the display from a RAM buffer, because once it starts to display the reverse 'C' it continues to display the reverse 'C', implying therefore that it is the display RAM buffer which has been written to.

Maybe then something like a 74LS154 with A8-A11 taken to its a, b, c, d inputs and enable G1 (active low) taken to _NRDS - this will generate an output pulse (low) on output 15 whenever there is a write to 0Fxx. If G2 (also active low) were taken to NENIN via an inverter, that would produce an output pulse only when there was a write to 0Fxx when NENIN was high.

Looking for writes to other address blocks would just be matter of monitoring one of the other 15 outputs from the IC.
SiriusHardware is offline  
Old 4th Nov 2020, 9:43 pm   #768
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Mk14 vdu

Quote:
I think the way the MK14 display works is that the display is driven from data stored in RAM
I think you're probably right, SCIOS must render the display from a RAM buffer, because once it starts to display the reverse 'C' it continues to display the reverse 'C', implying therefore that it is the display RAM buffer which has been written to.

Maybe then something like a 74154 with A8-A11 taken to its a, b, c, d inputs and enable G1 (active low) taken to _NRDS - this will generate an output pulse (low) on output 15 whenever there is a write to 0Fxx. If G2 (also active low) were taken to NENIN via an inverter, that would produce an output pulse only when there was a write to 0Fxx when NENIN was high.

Looking for writes to other address blocks would just be matter of monitoring one of the other 15 outputs from the IC.
SiriusHardware is offline  
Old 4th Nov 2020, 9:46 pm   #769
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Mk14 vdu

Nice toy Tim, how sophisticated can the setup be? Can you set complex trigger circumstances, ie, trigger when NENIN high and _NWDS low, that kind of thing?
SiriusHardware is offline  
Old 4th Nov 2020, 9:51 pm   #770
Timbucus
Octode
 
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,363
Default Re: Mk14 vdu

Quote:
Originally Posted by SiriusHardware View Post
Nice toy Tim, how sophisticated can the setup be? Can you set complex trigger circumstances, ie, trigger when NENIN high and _NWDS low, that kind of thing?
Not that I have found with the supplied software as yet - but, once I get it working with PulseView yes you can I think.
Timbucus is offline  
Old 4th Nov 2020, 9:54 pm   #771
Slothie
Octode
 
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
Default Re: Mk14 vdu

Quote:
Originally Posted by Timbucus View Post
Quote:
Originally Posted by SiriusHardware View Post
Nice toy Tim, how sophisticated can the setup be? Can you set complex trigger circumstances, ie, trigger when NENIN high and _NWDS low, that kind of thing?
Not that I have found with the supplied software as yet - but, once I get it working with PulseView yes you can I think.
Is that the logic viewer in the Sigrok project? I used that a while back and it was pretty good.
Slothie is offline  
Old 4th Nov 2020, 10:01 pm   #772
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,294
Default Re: Mk14 vdu

SCIOS is using F00 to F08 to store the segment settings for the display, which is then output to the display during keyboard scanning. F00 is the rightmost digit 1 and F08 is the leftmost digit 9.

Yes that is nine digits. If you have a nine digit display on your MK14 and connect the left most digit common to the 7445 then you can use all nine digits. I think the later version SCIOS does not initialise F08 so my MK14 displays rubbish in that digit on power up. Looking at the code for the first version SCIOS it does seem to initialise the leftmost digit to zero, all segments off, so it seems that at some point the intro kit and keyboard kit from nat semi might of been expected to use a nine digit display.
Mark1960 is online now  
Old 4th Nov 2020, 10:03 pm   #773
Timbucus
Octode
 
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,363
Default Re: Mk14 vdu

Quote:
Originally Posted by Slothie View Post
Quote:
Originally Posted by Timbucus View Post
Quote:
Originally Posted by SiriusHardware View Post
Nice toy Tim, how sophisticated can the setup be? Can you set complex trigger circumstances, ie, trigger when NENIN high and _NWDS low, that kind of thing?
Not that I have found with the supplied software as yet - but, once I get it working with PulseView yes you can I think.
Is that the logic viewer in the Sigrok project? I used that a while back and it was pretty good.
Yes it is part of Sigrok but, it does not recognize my device at the moment... for £24 it is a bargain - the clips are the largest cost at £16 so I am sure I can get it working...
Timbucus is offline  
Old 4th Nov 2020, 10:05 pm   #774
Timbucus
Octode
 
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,363
Default Re: Mk14 vdu

Quote:
Originally Posted by Mark1960 View Post
SCIOS is using F00 to F08 to store the segment settings for the display, which is then output to the display during keyboard scanning. F00 is the rightmost digit 1 and F08 is the leftmost digit 9.

Yes that is nine digits. If you have a nine digit display on your MK14 and connect the left most digit common to the 7445 then you can use all nine digits. I think the later version SCIOS does not initialise F08 so my MK14 displays rubbish in that digit on power up. Looking at the code for the first version SCIOS it does seem to initialise the leftmost digit to zero, all segments off, so it seems that at some point the intro kit and keyboard kit from nat semi might of been expected to use a nine digit display.
That would tie in with random write to a portion of F00 in this case F03 gets the reverse C
Timbucus is offline  
Old 4th Nov 2020, 10:14 pm   #775
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Mk14 vdu

F02, probably.

0F00, 0F01, 0F02... third digit in from the right. How many inputs does that gizmo have, just the eight? Are they available with more channels?
SiriusHardware is offline  
Old 4th Nov 2020, 10:17 pm   #776
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,294
Default Re: Mk14 vdu

Quote:
Originally Posted by Timbucus View Post
Any suggestions welcome...
Remember those logic analysers only show high or low, so depending on the switching threshold they can show different logic level than that detected by the inputs of your circuit under test. Also a chance they could miss some of those runt glitches.

I thought you meant one of those DIL test clips that can clip on the top of a chip and make it easier to connect a scope. I have a 24 pin and 16 pin in my toolbox from many many years ago, still gets occasional use.
Mark1960 is online now  
Old 4th Nov 2020, 10:23 pm   #777
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Mk14 vdu

Incidentally the Pickit 2 (with very late versions of the standalone support software) can be used as a three channel logic capture device but I think two of the inputs have fairly strong pullups, internal to the Pickit. I found it useful in the past for capturing the output stream from remote controls, that kind of thing.

Also, again with another feature of very late versions of the support software for the Pickit 2, two of the inputs of the unit can be used to 'watch' RS232 data in both directions by connecting them to the RX and TX lines at TTL level.
SiriusHardware is offline  
Old 4th Nov 2020, 10:25 pm   #778
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Mk14 vdu

Quote:
Originally Posted by Mark1960 View Post
I thought you meant one of those DIL test clips that can clip on the top of a chip and make it easier to connect a scope.
That was what I had in mind. You can still get them but they are pretty expensive and I couldn't find one in 18-pin DIP (I think there was a 20-pin one).
SiriusHardware is offline  
Old 4th Nov 2020, 10:34 pm   #779
Timbucus
Octode
 
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,363
Default Re: Mk14 vdu

Quote:
Originally Posted by Mark1960 View Post
Quote:
Originally Posted by Timbucus View Post
Any suggestions welcome...
Remember those logic analysers only show high or low, so depending on the switching threshold they can show different logic level than that detected by the inputs of your circuit under test. Also a chance they could miss some of those runt glitches.

I thought you meant one of those DIL test clips that can clip on the top of a chip and make it easier to connect a scope. I have a 24 pin and 16 pin in my toolbox from many many years ago, still gets occasional use.
Indeed that lack of subtle was the reason I did not buy one in the first place when I went for the scope. I did indeed go looking for the DIL clips but, even Farnell has them on back order and they are just not available but, I found the little clip set in the photo - I have been using them with the scope as well and they are great at clinging to the individual pins.

Of course the Amazon 'frequently bought together' got me and led me the the £8 AZ-Delivery device... and I thought what the hell...

It may help anyway - with it fully hooked up though I do not get the corrupt character on CHARSET in F27 under the M of TIMBUCUS - the extra capacitance and effect of the measurement tool means no effect to see...

Reassuringly if I switch in the 10K the two corrupt chars come back and a third one appears a bit further down the B block - I will hazard a guess that is a moved version of the F27 corruption and the lengthening of the NWDS pullup is still long enough (despite the extra connection) to give rise the the phantom write into both chips.
Timbucus is offline  
Old 4th Nov 2020, 10:55 pm   #780
Timbucus
Octode
 
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,363
Default Re: Mk14 vdu

Also got to Level 7 on MINEFIELD so it takes away the crash on that as well.

I do still see the Reverse C in F02 as Sirius correctly pointed out - not long after resetting the machine
Timbucus is offline  
Closed Thread

Thread Tools



All times are GMT +1. The time now is 1:53 am.


All information and advice on this forum is subject to the WARNING AND DISCLAIMER located at https://www.vintage-radio.net/rules.html.
Failure to heed this warning may result in death or serious injury to yourself and/or others.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright ©2002 - 2023, Paul Stenning.