<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Turbo - Log</title>
    <link>https://hahwul.github.io/hwaro-examples/turbo/log/</link>
    <description>A 386 repair bench log kept in sixteen colors: dead CMOS batteries, IRQ fights, and honest POST codes</description>
    <atom:link href="https://hahwul.github.io/hwaro-examples/turbo/log/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>A power supply that still smelled of 1991</title>
      <link>https://hahwul.github.io/hwaro-examples/turbo/log/power-supply/</link>
      <guid>https://hahwul.github.io/hwaro-examples/turbo/log/power-supply/</guid>
      <description>Random resets under load, a five-volt rail at 4.71, and eleven capacitors that had been tired for years.</description>
      <content:encoded><![CDATA[<p>The machine began resetting itself at random, but only with the hard disk seeking and the floppy motor running at once. Faults that need two things to happen together are usually about power.</p>
<!-- more -->
<p>Logic of this generation wants five volts and tolerates about five percent either way, so the floor is 4.75. Measured at a drive connector with the machine idle, the rail read 4.96. With both drives busy it sagged to 4.71 and carried 180 millivolts of ripple, which is the supply telling you its output capacitors have stopped smoothing anything.</p>
<h2 id="inside-the-supply">Inside the supply</h2>
<p>Unplug it and leave it for a day first. The primary capacitors hold enough charge to matter long after the cord is out.</p>
<p>Two of the output capacitors had domed tops. None had leaked, but an electrolytic capacitor can lose most of its value while still looking respectable, and these had spent thirty-five years next to a heatsink.</p>
<p>All eleven electrolytics on the secondary side were replaced with low-impedance parts rated for 105 degrees:</p>
<pre><code class="language-text hljs">QTY   VALUE      RATING   RAIL
  4   2200 uF    10 V     +5
  2   1000 uF    16 V     +12
  2    470 uF    16 V     -12, -5
  3     47 uF    50 V     control
</code></pre>
<p>The fan was replaced at the same time. It was the loudest part of the computer and moved the least air.</p>
<h2 id="result">Result</h2>
<p>Idle, 5.04 volts. Both drives busy, 5.01, with ripple under 30 millivolts. No resets in two weeks, including an afternoon spent copying the whole disk to floppies on purpose.</p>
]]></content:encoded>
      <pubDate>Mon, 18 May 2026 00:00:00 +0000</pubDate>
      <category>repair</category>
      <category>hardware</category>
    </item>
    <item>
      <title>What the Turbo button actually does</title>
      <link>https://hahwul.github.io/hwaro-examples/turbo/log/turbo-switch/</link>
      <guid>https://hahwul.github.io/hwaro-examples/turbo/log/turbo-switch/</guid>
      <description>It makes the computer slower, and the number on the front panel is set with jumpers.</description>
      <content:encoded><![CDATA[<p>Someone had taped the Turbo button down. Peeling the tape off made the machine slower, which is exactly what the button is for.</p>
<!-- more -->
<p>The name is marketing. The machine's full speed is its normal speed. The button exists because early software timed itself by counting loops, and a game written for a processor eight times slower runs eight times too fast on this one. Press the button and the board drops into a compatibility mode: on this one it disables the external cache and stretches the bus timing, which lands somewhere near the pace of a fast 286.</p>
<p>So Turbo on is normal, and Turbo off is the special case. Every case manufacturer wired the light to match the label rather than the logic.</p>
<h2 id="the-display-that-lies">The display that lies</h2>
<p>The two-digit display on the front reads 33 with the button in and 16 with it out. It measures nothing. It is not connected to the clock, the processor, or anything else that knows how fast the machine is running.</p>
<p>Behind the bezel is a small board with a grid of jumpers, one group per segment, per digit, per button state. You set what each digit shows by hand. The previous owner could have made it read 99. A case on another bench reads HI and LO.</p>
<h2 id="what-was-done">What was done</h2>
<p>The tape is gone and the button works. The display stays at 33 and 16, because those happen to be nearly true.</p>
]]></content:encoded>
      <pubDate>Sun, 15 Feb 2026 00:00:00 +0000</pubDate>
      <category>lore</category>
      <category>hardware</category>
    </item>
    <item>
      <title>IRQ 7 belongs to nobody</title>
      <link>https://hahwul.github.io/hwaro-examples/turbo/log/irq-7/</link>
      <guid>https://hahwul.github.io/hwaro-examples/turbo/log/irq-7/</guid>
      <description>A sound card that crackled only while printing, and the jumper block that explained it.</description>
      <content:encoded><![CDATA[<p>The sound card worked. The printer worked. Playing a sound while the printer was busy produced a noise like a zip being undone slowly.</p>
<!-- more -->
<p>An interrupt line is a wire a card pulls when it wants the processor's attention. This bus has a small fixed number of them and no referee. If two cards pull the same wire, the processor cannot tell who called, runs whichever handler was installed last, and the other card waits for an answer that never comes.</p>
<p>Interrupt 7 is the first parallel port's by convention. Sound cards of this period also default to 7, on the theory that most printer drivers never use it. This theory holds until one does.</p>
<h2 id="the-jumper-block">The jumper block</h2>
<p>No setup program was involved. The card's settings are a row of pins and four plastic shunts:</p>
<pre><code class="language-text hljs">JP4   IRQ    2   5   7   10
             .   .  [x]   .      as found
             .  [x]  .    .      as left
</code></pre>
<p>Interrupt 5 belongs to a second parallel port, which this machine does not have.</p>
<h2 id="the-other-half">The other half</h2>
<p>Moving the shunt is half the repair. The software still has to be told, in the startup file:</p>
<pre><code class="language-text hljs">SET SOUND=A220 I5 D1 T3
</code></pre>
<p>Every program that makes sound reads that line and trusts it completely. Leave it at I7 and the card is silent, with no error, because the program is still listening on the old wire.</p>
<p>The settings are on a label inside the case lid, below the drive geometry.</p>
]]></content:encoded>
      <pubDate>Sun, 07 Dec 2025 00:00:00 +0000</pubDate>
      <category>hardware</category>
      <category>dos</category>
    </item>
    <item>
      <title>640K, counted honestly</title>
      <link>https://hahwul.github.io/hwaro-examples/turbo/log/himem/</link>
      <guid>https://hahwul.github.io/hwaro-examples/turbo/log/himem/</guid>
      <description>Four megabytes installed, 540K free. Where the rest went, and how to ask for it back.</description>
      <content:encoded><![CDATA[<p>The memory test counts to 4096K and prints OK. Then the machine boots, and a program that needs 590K of memory refuses to start because only 540K is free.</p>
<!-- more -->
<p>Both numbers are true. The first megabyte is the only memory a real-mode program can see, and the top 384K of that megabyte is reserved for video, option ROMs, and the BIOS itself. What remains is the famous 640K, and every driver you load at boot takes its share before your program gets a turn.</p>
<p>The other three megabytes sit above the line, counted and idle, until a memory manager is told to use them.</p>
<h2 id="the-startup-files-before-and-after">The startup files, before and after</h2>
<p>Before, as found:</p>
<pre><code class="language-text hljs">DEVICE=C:\DOS\ANSI.SYS
DEVICE=C:\MOUSE\MOUSE.SYS
FILES=40
BUFFERS=30
</code></pre>
<p>After:</p>
<pre><code class="language-text hljs">DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE NOEMS
DOS=HIGH,UMB
DEVICEHIGH=C:\DOS\ANSI.SYS
DEVICEHIGH=C:\MOUSE\MOUSE.SYS
FILES=30
BUFFERS=15
</code></pre>
<p>The first two lines open the memory above one megabyte and carve the unused gaps in the reserved area into blocks. The third moves most of DOS itself up there. The <code>DEVICEHIGH</code> lines put each driver into a gap instead of into the 640K.</p>
<h2 id="result">Result</h2>
<p>Free conventional memory went from 540K to 619K without removing a single driver. Order matters: the largest driver should load first, because the gaps are different sizes and a big driver arriving late finds only small ones left.</p>
]]></content:encoded>
      <pubDate>Sun, 14 Sep 2025 00:00:00 +0000</pubDate>
      <category>dos</category>
      <category>bios</category>
    </item>
    <item>
      <title>Type 47 and the lost geometry</title>
      <link>https://hahwul.github.io/hwaro-examples/turbo/log/type-47/</link>
      <guid>https://hahwul.github.io/hwaro-examples/turbo/log/type-47/</guid>
      <description>The drive was fine. The numbers that described it had been forgotten with the battery.</description>
      <content:encoded><![CDATA[<p>With the battery replaced, the machine forgot nothing new. Unfortunately it had already forgotten the hard disk.</p>
<!-- more -->
<p>A drive of this age does not introduce itself. The setup screen wants a type number, and each type is a row in a table burned into the BIOS: so many cylinders, so many heads, so many sectors per track. This BIOS offers forty-six fixed rows and a forty-seventh that you fill in by hand. The drive in the cage, a 120 megabyte unit, matches none of the fixed rows.</p>
<p>Get the numbers wrong and the disk still spins, still seeks, and then reads the wrong sector with total confidence. The partition table appears to be garbage. Nothing is damaged, yet. Writing to it in that state is how damage happens.</p>
<h2 id="finding-the-numbers">Finding the numbers</h2>
<p>The label on the drive had been covered by a mounting rail. Under the rail:</p>
<pre><code class="language-text hljs">CYL   HEADS   SEC/TRK   WPCOMP   LZONE
762       8        39     NONE     762
</code></pre>
<p>Entered as type 47, the directory came back on the first boot, intact, last modified in 1996.</p>
<h2 id="what-was-done-afterwards">What was done afterwards</h2>
<p>The geometry is now written in three places: this file, a paper label inside the case lid, and a strip of masking tape on the drive itself. A battery will fail again one day. The tape will not need one.</p>
]]></content:encoded>
      <pubDate>Sun, 22 Jun 2025 00:00:00 +0000</pubDate>
      <category>bios</category>
      <category>hardware</category>
    </item>
    <item>
      <title>The battery that ate the keyboard controller</title>
      <link>https://hahwul.github.io/hwaro-examples/turbo/log/cmos-battery/</link>
      <guid>https://hahwul.github.io/hwaro-examples/turbo/log/cmos-battery/</guid>
      <description>A leaking barrel battery, three dissolved traces, and a keyboard error that was never about the keyboard.</description>
      <content:encoded><![CDATA[<p>The machine arrived reporting a keyboard error with three different keyboards attached, which is a good sign that the keyboard is innocent.</p>
<!-- more -->
<p>The culprit was the clock battery: a 3.6 volt nickel-cadmium barrel soldered to the board an inch from the keyboard controller. It had been leaking for perhaps a decade. Battery electrolyte is alkaline, it creeps along copper under the solder mask, and it does not stop at the edge of the part that leaked it. The damage here ran in a blue-green fan toward the DIN connector.</p>
<h2 id="what-was-done">What was done</h2>
<ol>
<li>Cut the battery off the board. Do this before anything else, including photographs.</li>
<li>Neutralised the area with white vinegar on cotton buds until it stopped fizzing, then rinsed with isopropyl alcohol.</li>
<li>Scraped back the mask along every discoloured trace until bright copper showed on both sides of the damage.</li>
<li>Found three open traces with a meter: keyboard clock, keyboard data, and one address line that passed underneath.</li>
<li>Bridged each with 30 gauge wire and sealed the repairs with lacquer.</li>
</ol>
<p>The replacement is a coin cell in a holder on fly leads, taped inside the drive cage, with a diode in series so the board's charging circuit cannot reach it.</p>
<h2 id="result">Result</h2>
<p>The keyboard error is gone. The clock holds. The setup screen kept its values through a week unplugged, which it had probably not done since the nineties.</p>
]]></content:encoded>
      <pubDate>Sun, 09 Mar 2025 00:00:00 +0000</pubDate>
      <category>hardware</category>
      <category>repair</category>
    </item>
  </channel>
</rss>
