• Please review our updated Terms and Rules here

Discrete AT clone ATX mainboard project

rodney

Experienced Member
Joined
Jul 14, 2022
Messages
261
Hello everyone,

After completing my third revision Turbo XT clone ATX mainboard I feel I would like to move on to an AT mainboard design.
The main reason is that the Turbo XT while a really great and reliable and extremely versatile PC,,
and though I really love it, it does still have its limitations in use regarding software that is compatible with the 8088 and V20 CPU.
Anyone who is interested can visit my web page about my XT mainboard design in my hobby page:

I am not sure what route I will go next but I have bought a NCR PC-8 MODEL 3279-0XXX mainboard which is a relatively close clone of the IBM 5170.
Unfortunately the mainboard arrived in stripped condition without a CPU, ROMs, CMOS clock and keyboard controller, and with only 256kb of DRAM.
However at least no leakage.

In my Ebay buy were also included two NCR Decision Mate V mainboards but without the video module. I am not sure what I will do with these.
This Decision Mate V is a strange Z80 computer because it can also be turned into an XT PC using some modules.
So a kind of CP/M / DOS hybrid it seems. I love the case design though.

The original PCB assembly quality of the NCR PC-8 AT mainboard which was done in Europe at the time is terrible.
The 4 layer PCB has been soldered onto the slot connectors in warped state because of the solder bath heat.
It's simply not straight anymore, but so be it, I am not going to desolder and straighten it using heat because I feel it's too risky to possibly develop broken traces.
I may do that later on after I get satisfactory results and don't need it for reference anymore.

Anyway, I don't have NCR's schematics for this discrete chipset AT mainboard, it's a relatively close clone of the IBM 5170 also using discrete logic and some PROMS and PAL chips.
I want to go the discrete route because I feel using a chipset is not really a challenge to do design-wise and it is not what I am currently looking for to do.

What I want to do is modernize the design, integrate parts of the PC design onto the mainboard such as LPT, COM port, Floppy, IDE, SCSI, LAN, and switch to SRAM for memory and use a modern ATX case and power supply.
Basically what I did before with the XT but now with an AT system.
I am just going for the best computing experience that can be done with a 5170-similar PC.

So I have replaced the old PLCC CPU socket and inserted a Harris CS80286-16 CPU, I left the clock circuits alone to run the CPU on 8 Mhz as is the normal speed for this NCR PC-8.
Then I added a VT82C42 keyboard controller and a MC146818 RTC and tested several BIOS images. I got the best results with the NCR BIOS 4.2 and a Quadtel IBM 5170 compatible BIOS.
I expanded the DRAM to 640k.
I can set the clock, configure DRAM size and do all the settings of the BIOS without problems or errors, I made an external battery for testing.
I also replaced the terrible reset logic by a crude reset circuit using a resistor, capacitor and switch, which allows me to reset and not only have the option to power cycle.

I am able to complete NDIAGS comprehensive memory tests successfully and I can run Windows 3.0 fine, I played patience for a few minutes without problems.
So this tells me that the CPU, DRAM and ISA bus transceivers seem to be working fine.

Where the problems start is when I do any kind of DMA.
For example reading a floppy disk, or playing the game WOLF3D as soon as sound samples are trying to play in the game when you start playing it and open a door.
What happens is that the 74ALS74 which signals parity errors to the NMI input is preset by the BIOS or DOS via one bit of "port B", which is now a 74ALS175 in the IBM AT clone.
By triggering an NMI, the BIOS clears the screen and writes a "Parity Check 1 8FC0" or sometimes only "Parity Check 1" and then halts the system.
In the WOLF3D game, I am simply seeing the PC freeze and make weird noises.

So I am seeing that DMA is having a problem. I think it's probably timing related, so far I didn't find any faulty chips.
I tested the DMA controllers already on my XT system, they work though the timing is a bit marginal.
I have also tested with two DMA controllers of better timing but no improvement.

I would like to know, does anyone here have more experience with this kind of DMA problems where the timing seems to be an issue on the IBM 5170 or NCR PC-8 rev 0?
Would things work better with an older and slower 80286 CPU which was in these PCs originally?
Does anyone have the schematics of this NCR PC8 model 3279-0XXX mainboard?
I have included a photo of this mainboard.

I hope I can find someone here who has more experience with this mainboard or a similar one.

Kind regards,

Rodney
 

Attachments

  • IMG_1567.JPG
    IMG_1567.JPG
    2.9 MB · Views: 40
Hi Rodney, attached are the original BIOS and keyboard ROMs for your motherboard.
Give me a shout if you need a graphics board for your DMV.

All the best
Robert
 

Attachments

  • ncrpc8.zip
    34.5 KB · Views: 5
Hi Robert,

Thanks for your reply, I also found this NCR BIOS 4.2, indeed it works well and also has the option for a HD 3,5" floppy drive.
I am relatively sure that my DMA problem is not related to the BIOS.
Right now I believe it is related to timing differences in the CPU which is from a newer system.
I think this throws off the handshaking between the DMA controller and the CPU which is very timing sensitive in these discrete chipset systems.
Of course, if anyone has had similar experiences and believes I am wrong, I would appreciate a message here.

Thanks for your offer about the graphics board for the DMV Robert, if I decide to work on this system, I will probably redesign the whole thing including the 8088 etc. on one PCB.
Especially because I don't have that beautiful case and CRT anyway which would have been a reason to keep things original.
I think I will probably be able to make a new graphics board thanks to the schematics which I found, I also found the character ROM data.
But if I ever do it and run into trouble on the graphics I will let you know, thanks!
I read out the EPROM on the mainboard and I found that the software in my EPROM is an earlier version and contains less code than the archived one I found.

If anyone can provide original schematics for the PC-8 model 3279-0XXX (first model) I would appreciate it.
Even if it's a paper version, I would be happy to scan them and post it here.
I know it's mostly a copy of the IBM 5170 however it's not 100% the same and almost all components are differently numbered so it's hard to trace the connections using the IBM schematic.

All I have are the PCBs so I am only going to be using the technology for a reference for a new design.
I do love those NCR case designs both for the Decision Mate V and the PC-8, really great!

Kind regards,

Rodney
 
Hi Rodney,
can I ask you to share the earlier ROM version for inclusion in the MAME project?

Robert
 
Hi Robert,

Of course, please find it here.

Kind regards,

Rodney
 

Attachments

  • Decision Mate V ROM D14 dump (D2764).zip
    8.2 KB · Views: 6
Hi Rodney,

I just got one of these boards running also, i noticed that my board has a blank socket with a jumper wire in where the math co-processor goes but may be a revision difference.

Your also missing the chip in U31 im not sure what this chip is as its got a factory sticker on it - may be some sort of programable ic.

FIY The hand written labels on some of the other ic's in the picture are the equivalent of the IBM 5170 i traced some of them - Its almost identical except for the speed switch but i would love a copy of the NCR schematic of this board also.

IMG_20230807_224830~2.jpg
 
Hi Benman,

Thanks for your reply and the information on your mainboard, and for the photo you provided.
I saved it for reference.
Hopefully yours is not such a badly warped PCB as mine is. The board warped due to solder bath heat and is soldered in curved shape onto the slot connectors.
The curve is several millimeters across a distance of ca 10cm.

On the coprocessor socket, pin 24 is the processor extension request input of the 286 CPU.
It's wired to GND on the socket plugged in your coprocessor socket.
Perhaps in certain conditions this input could cause the mainboard to hang.
Though IBM didn't do anything about this input on the 5170.
A positive logic signal input may possibly be sensitive in certain cases, for example due to crosstalk between traces, though the trace is not a long one.
On my mainboard this pin is not connected to anything, I checked it.
I could try to wire it to GND and test this.

I checked the U31 socket, it's indeed possibly some programmable IC which is missing on my mainboard.
The connections provide power on pin 8 and 16.
I traced the pins 1-7 and 9 to the XD0-XD7 bus and U31 also connects to XA0-XA4 on pins 10-14.
Pin 15 of U31 goes to output pin 8 of U42. Apparently some glue logic controls U31 on pin 15 and possibly causes it to produce some result on the X-databus depending also on the state of address lines XA0-XA4.
It's also possible that U31 is programmable to latch a certain value through the XD0-7 databus and provide it on the XA0-XA4 lines of the system.
It depends on the logic inside U31 and what triggers the glue logic.
I am not sure about the purpose of this, though there is no such IC on the IBM 5170 for sure, I checked the IBM schematics to see if there is any clue, bot nothing.

My PC-8 mainboard came with all socketed chips stripped out, even the CPU, EPROMs, keyboard controller etc.
I suppose I should count myself lucky that NCR Germany soldered the other programmable ICs onto the mainboard, otherwise the previous owner would have stripped those out too.
Though in that case I would never have bothered to buy this mainboard of course if even the PALs and PROMs were missing.

I can't be sure of the purpose of U31. and even if I do find out, probably I won't be able to fix the problem of this component being missing since it's likely a programmable IC.

I have searched on the internet to find out if anyone documented the IBM PALs and PROMs, but so far no luck.

I find it quite unfortunate and a little strange that there are so many fans of classic IBM PCs but so far there doesn't seem to be any documentation created of the PALs and PROMs on the 5170.
Apparently PALs can fail over a certain time period, at least, the datasheets promise a 20 year retention of the programmed values, and if no one can document them, it means those mainboards may finally be unrepairable.
Probably I will need to buy a working IBM 5170 mainboard and document the programmable ICs myself.
If I ever do own one, I will make sure to do this.

Thanks for your information Benman, and I hope your mainboard can prove reliable.

Kind regards,

Rodney
 
Hi Benman,

I forgot to mention, I am not sure if you saw my other more recent thread where I also mentioned the ARC mainboard I have bought and tested.

I thought I had a solid one, but after a power failure this mainboard suddenly became highly unstable. Just one power failure was enough to cause this. Possibly there is a problem with one of the GALs or PROMs, or a broken trace. This mainboard has been damaged in transport, totally the fault of the postal service which caused a hole to be punched into the box, bending and slightly tearing one area of the mainboard. I am not sure about the cause and replaced several IC's however unable to find the problem. Maybe these types of mainboards are quite vulnerable somehow, possibly due to the PALs which are used. Everything can be replaced somehow, but not the PALs without their content being documented first.

So far, my project has been delayed by not being able to find a good reference mainboard. I will try to find and buy another one, but the biggest problem is that most sellers don't test the mainboards, and I don't want to pay hundreds of euros for a board that is maybe stable, maybe not. The prices are mostly ridiculous for boards which are untested, especially in view of my previous experiences.

Kind regards,

Rodney
 
Hi Rodney

What a interesting project! I hope your luck changes with a board to clone I would love to see where this goes.

I had a look under the sticker of U31 as we feared Its a DM74S288AN 256 bit PROM. I took the chip out and it seemed to make no difference, I still have floppy disk access and it passes the pc8daig tests. I will try wolf3d when i get a hard disk setup.

Looking around at my other old boards i see a lot of PROM's and that makes me feel a little uneasy :)

I did have to swap out a few things on this board to get it going but at least the pcb was in good condition. It sounds like your board had a hard life, impressive you got it to do anything. I guess it would be a hard road to keep chasing your board with out circuit diagrams, PROM data and that warping.

If you did need any info from a working PC8 I would be happy to help but i am still learning.

Best of luck

Ben
 
Hi Ben,

Thanks a lot for your reply and for checking U31. It's pretty weird that this PROM is directly connected to the X-address and X-databus of the computer.
I would almost start to think that they wanted to insert some small bit of code into a certain area in memory space.
It's very interesting to know that your mainboard runs without it.
So it's of no consequence to DMA apparently since the floppy drive can function.
I will do some more testing with my PC-8 mainboard, however I don't expect much success.
I already desoldered several ICs from the PCB to use on my ARC mainboard but I can put them back in as I already put in some sockets.

If only the PCB was not so warped, I could trust it more to do deeper troubleshooting.
I remember when first powering it up, several tantalums blew off.
Perhaps it's a good idea to replace your tantalums with elco's if you are able to do so.
Those pieces of tantalum caps that blew off were so hot that they burnt on several areas into my desk.

Another tip if you didn't know, this PC-8 should function with the generic 286 MR-BIOS for example "STD_202.BIN".
Which is usually a much better BIOS than other manufacturers.
I should mention that I have not tested this on the PC-8 yet, only on the ARC mainboard. There are differences in the turbo circuits between different discrete chipset boards.
There were several versions of the Generic 286 MR-BIOS made. I will be doing some tests with the STD_202.BIN first. (and the processor extension request signal we talked about wired to ground)

Kind regards,

Rodney
 
I have done some more testing with my PC-8 mainboard. I noticed no improvement from connecting the processor extension input to ground.
Additionally, I have tested with the MR-BIOS, unfortunately the mainboard is in a very bad state where it's hard to get any posting to happen.
The best I have seen is that XT-IDE BIOS detected the harddisk but it was unable to boot.
So far, the original PC-8 BIOS seems to work best.
I have tried both to wire the processor extension input to ground, and also inserting a coprocessor.
Nothing I tried had any positive effect on the PC-8.

I am sure most people know this, I just want to repeat it to make sure. If there is no post image on a VGA card, especially on very simple BIOS software on early ATs, it may be useful to test with a MDA or CGA card which has a composite video output. On the composite output there may be some BIOS message displayed for example about CMOS errors or failure to detect the RTC IC and CMOS RAM memory. During my first tests on the PC-8 I discovered with a ATI Small Wonder card that there was an issue with the RTC chip. This can block posting screens from progressing and result in no messages and even no image on a VGA adapter.

I really need to find myself a stable reference mainboard for my project. Maybe this time an IBM one, I have seen some for sale, however always untested and unknown to be working or not. I really don't feel like paying 200 euro and additional shipping on a gamble if it's functional, especially after two mainboards already being marginal or partially failing.

I may look into getting the logic results from the PAL chips on my mainboards, just to see if there is anything that makes sense that can be read from these chips.

Kind regards,

Rodney
 
Hi Rodney

Have been away for a while but back playing with the PC8

Thank you for all the valuable information, Those Green tantalum capacitors on the board are the worst i have seen, sending red hot pieces all over the place.

I have also found that the NCR Bios seems to be the best, i updated to 4.6 and gained 1.44 support and using type 47 hard disk i now have a IDE drive pretending to be a 40MB drive

I noticed the mod for the reset on your board, i will be copying that!

Thanks to rfka01 i have a copy of the diag disks and i think we may have solved the mysterious U31! See attached poorly taken photo talking about a security PROM and the number on my U31 matched the tracker number.

I am always impressed by the willingness of people like yourself and rfka01 to share the valuable knowledge they have, without it the restoration these pieces of history would be impossible.

Best of luck with you search for a better board.

Regards


Ben

IMG_20240213_143401_HDR.jpg
 
Hi Ben,

Thanks for your reply. Well this is a totally strange application of a prom, thanks for sharing this interesting information.
Nice to see you are using a CRT! (y)

I have progressed quite a lot in my project, if you are interested you can see it here.

I am basing my design on the a IBM 5170 mainboard which I bought and repaired a while ago and has proven to be far more reliable than all the others I have tested since then. After finishing my project I may revisit repairing the other mainboards.

Kind regards,

Rodney
 
Back
Top