Tube Time Profile picture
Dec 4, 2021 58 tweets 14 min read Read on X
check this out! it's an accelerator card that turns your 8088 PC or XT into a 286. let's try and get it running... 🧵 Image
hmm, there's some damage to the sockets Image
the card is an Orchid Tiny Turbo 286. Image
looks like a trace got cut. this board was in a pile of other circuit boards, and the component leads from another board scratched it up Image
much better Image
the bodge wire is a piece of wire wrap wire that i bent using needle-nose pliers and then flattened slightly.
i am missing this circuit board. it plugs into the socket on the accelerator, provides a header for the ribbon cable going to the CPU socket on the motherboard, and has a 40 pin socket for the original 8088 (for non-turbo mode). Image
(photo taken from the internets)
it appears to be a single-layer PCB, at least I don't see any traces on the top. so maybe the header is just a pass-through and the CPU is wired in parallel. but how would the 8088 get disabled? 🤔 Image
looks like it drives the reset pin. 🤔 Image
so pin 34 is not connected on the motherboard, but pin 21 (reset) goes to the output of the 8284A. i think the daughterboard uses pin 34 to sneak a special reset signal into its 8088. when in turbo mode, pin 34 must go high to put the 8088 into reset. Image
the reason this is important is that the daughterboard's 40-pin header passes through the board and plugs directly into the socket on the accelerator card.
it can't directly drive the reset signal because that's already being driven from the motherboard.
so i think the daughterboard wires the 8088 socket to all the header pins 1:1, with the exception of the 8088's reset line, which goes to pin 34 instead of pin 21.
this also means that the accelerator card should work fine even without the daughtercard, as long as the turbo switch is always on.
thanks to @compu_85 who sent this photo of the bottom of the daughtercard. turns out i was right! pin 21 of the 8088 on the daughtercard indeed goes to pin 34 of the header. Image
crimped up a cable. I should be able to use this without the daughterboard as long as the turbo switch is on. Image
pulling the 8088. this extractor works pretty well. Image
will it work? Image
D E A D. 🤷‍♂️ Image
clock is fine, reset is fine, but something is putting the 286 into a bus hold state.
how do i get suckered into doing these things Image
i've reverse engineered most of the data path, as well as the cache. Image
the cache is 4K x 16 bits (8KB). but how does it work? Image
there are 2 more cache chips, so each 16 bit word has a 7 bit tag associated with it. Image
there's a comparator that checks the 7 bit tag against the 7 uppermost address bits (during a read), and a buffer to copy the address bits into the tag (during a write). ImageImage
if the comparator matches, then you just grab the data value out of the cache and hand it over to the 286 instead of reading it from main memory! simple.
during a write, you just set the data value and the tag into the cache (and presumably to main memory as well, but i haven't reverse engineered that part yet)
there's a bunch of control logic involved to limit the ranges of memory where the cache is active. that's probably all in the PALs.
another detail: i suspect the 8th tag bit is a "dirty" bit used to mark locations that were written to externally by another bus master (such as the DMA controller). the dirty bit forces the cache compare to fail so it has to fetch the value from main memory.
this is how I'm reverse engineering it. pick a pin, then use the brush to figure out what it is wired to. Image
and here it is, fully ohmed out. i just need to redraw it so it is easier to understand, adding buses and so forth. Image
all cleaned up! now back to troubleshooting... Image
thought these grounded pins were odd (and TURBO going to 2 pins) but it's not a short. shining a flashlight through the board shows connections to the ground plane. ImageImage
another look at the "brush" i'm using to reverse engineer the board. just a short piece of 10 gauge battery cable. it's designed to flex so it has a high strand count. quadcopter and RC folks use this stuff so it's easy to find. Image
this morning @bitsavers helped me with the PAL chips. unfortunately they're all locked, so i'll have to figure out another way to reverse engineer them.
the 16L8 devices do not have registers, so (in theory) they can be reverse engineered by brute force--inputting all possible inputs and watching the outputs. the 20R4 devices have output registers and can form state machines, so brute force isn't going to work. Image
16L8 complicating factor: outputs can be fed back into the product terms. this means you can make flip flops out of NAND gates, and a brute force approach won't find them. Image
the Ad Lib MCA sound card that i reverse engineered used a PAL with such a flip flop in it.
on to troubleshooting. Image
the 286 isn't running code...because it's getting held in reset, looks like. the logic high voltage is...not great. (2.7V) Image
sus Image
yeah this chip doesn't seem to be 100% ok Image
the reverse engineered schematic is now on Github!

github.com/schlae/tiny-tu…
I went shopping today! Image
the new chip seems ok Image
will it work, or is something else broken too? Image
it's running code! looks like DMA is having issues though. Image
weird because it boots DOS just fine. granted there are issues with xt-ide but maybe it's the CF card. Image
it runs Commander Keen! (I swapped in a VGA card) Image
TOPBENCH results. Image
here's the culprit. bad chip. Image
almost forgot what these boards were for haha Image
replacement CPU daughterboard since my card didn't come with one. Image
the solder tails on the header don't look quite long enough. Image
straightened a right angle header. Image
there we go! I just need to install the 8088 and this can go back into the computer. Image
it works great! i tried it with and without the turbo switch.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Tube Time

Tube Time Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @TubeTimeUS

Jun 13, 2023
here's a weird object! it's some kind of foot pedal with an IBM logo. is it for a sewing machine? electronic synthesizer? what do you think? 🧵 Image
it's got a cursed connector! what IS that? Image
amazingly enough, I found something with the mating connector on it! but what is it? Image
Read 24 tweets
Jan 11, 2023
hey so remember the world's cutest oscilloscope i picked up last year? i think it's time to fix the probe socket issue.
i printed a new panel insert that has two BNC sockets on it (the original probes would have had captive cables)
the tricky part is that this oscilloscope has a 333K ohm input impedance instead of 1M like umm every other scope on the planet. fortunately someone designed a little conversion circuit...
Read 11 tweets
Jan 5, 2023
in honor of Sim Wong Hoo, here's a quick historical review of the Sound Blaster! 🧵
but first we have to go back to their first sound card, the Creative Music System from 1987. (image credit: Bratgoul on Wikipedia)
this card has some special "CMS-301" chips. if you peel back the sticker, they have had their top marks removed. they're actually SAA1099 synthesizer chips made by Philips. Creative wrote music composition software for musicians on the PC.
Read 23 tweets
Dec 31, 2022
Tube Time: a 2022 retrospective 🧵
(and stuff you might have missed!) Image
starting things off in january, i found a tube of super old 555 timer chips! i also decapped one of them.
i also started fixing up an old HP 150 computer. it's not PC compatible but it runs MS-DOS--how odd!
Read 65 tweets
Dec 29, 2022
today's mini project: fixing this Radius Thunder IV GX daughtercard. it looks fine, but... 🧵 Image
one of the chips has some broken pins! Image
looks like two of the pins got mashed and broke right at the plastic package. Image
Read 11 tweets
Dec 8, 2022
on the bench of healing tonight: my coffee grinder which decided to bite the dust. Image
symptoms: i push the start button and the motor just bumps a little bit and stops.
how to take it apart? hmm, i bet there are screws under the rubber feet. Image
Read 23 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(