Not a lot to report, but have modified the quartus project file with the new pcb pinout mappings (3 cpld pins have changed / swapped over on the new v2b black pcbs to make it more useful for dropping other designs into)
Hopefully I'll get a new module built up and tested with the code burned into the cpld tomorrow if I have the time.
I also need to send some parts and samples over to Chris Jones to have a play with, as I sent him over a vindicators pcb to test the slags proto parts and it turned out there was a bad custom chip on there, so I have sourced a new custom (2 on a xybots board) and need to get that over to him too.... Hopefully this will get vindicators running and allow testing to progress.
Chris was a great help sorting out the vhdl code for the cpld once I had worked out the full circuit inside the chip and I had to modify the code slightly in a few places to get it working and functional so far.... We had stripes in the graphics initially and then there was a problem with the flip mode. That was very close to working first time if you ask me, so amazing effort. I'm also pleased that my hardware designs have worked too (so far !!) as might have hit a brick wall early on otherwise... chicken and egg....
There is still a small glitch on the Gauntlet pcb, but I put that down to a hardware design issue and the glitch occurs off screen while the hardware sets up for the next line of graphics....
The timing of the gauntlet pcb signals vary during the reset/setup for the next line and it decides to change the graphics eproms address 'just at about the same time' that the slags chip has been told to load the next lot of data in from the same eproms, so it gets some random data due to the eproms address lines changing/settling and the eproms outputs are doing the same trying to work out what data to send out so also changing/settling... That's about the best I can do to explain..... This is not really good design as you get a
race condition but like I say, its off screen, it resets and then the next lot of data gets set up , triggered and loaded before the display line starts again so normal operation resumes.
The data gets loaded in to the slags in a 16 bit parallel fashion and is clocked out serially, and this is also repeated out of phase (halfway through iirc) for a further 16 bits... so all in all 32 bits are clocked in and out per slags cycle... and some of the series of bits clocked out are flipped around depending on other flags and stuff.... this repeats over and over again... By Flipping the Bits around, this saves having twice as much graphics data in theory but not all graphics will get flipped.....
The original chip runs a little slower and seems to miss the data changing, but only by a few nano seconds.... The HP Logic analyzer made it fairly easy to see when I had an original chip and the clone running side by side using my test fixture board that I made up. I'm not sure if there is a work around (and only got a few cells left and not enough to double buffer the data on a different clock edge) but I don't think its required anyway. I have spent many frustrating countless hours looking at this glitch so far !! - Again its chicken and egg..... Is the Origonal Slags Chip right (or wrong) ? or is the Repro wrong (or right) ?
I will build 4 modules and then test them on my Roadblasters board (need to build a test jamma adaptor), while Chris should be able to get Vindicators running and test at his end too.
Basically, this all means that the replacement design of chips/modules will have been tested on at least 2 unique boards, plus a system I variant (The Roadblasters 'cocktail' cockpit board set all in one) so we can be safe knowing that the design will work as Atari intended with the backup that its based on the original circuit design too, so no second guessing.
One this is all sorted, I'll build a final design batch and they will be up for grabs.
Cheers, Col
ColinD2016-01-15 21:57:13