Jump to content

IBM PC (5150) Troubleshooting Guide: Difference between revisions

From RetroTechCollection
Create symptom-driven troubleshooting guide: POST beep codes, parity errors, bank-0 RAM failure, keyboard 301, video/MDA/CGA, V20 swap notes, and 8088 interrupt bug.
 
Clean up red links: create supporting pages for relevant items, unlink tangential ones (IBM 5100, Datamaster, NEC V20, Soarer's Converter, DIP switch reference, Memtest86, Model F foam pad replacement)
Line 113: Line 113:
* Reseat the DIN-5 connector.
* Reseat the DIN-5 connector.
* Swap to a known-good Model F. If the suspect keyboard works on another 5150 or XT, the 5150's keyboard interface is at fault — check U36 (8255 PPI) and the 7406 keyboard data buffer.
* Swap to a known-good Model F. If the suspect keyboard works on another 5150 or XT, the 5150's keyboard interface is at fault — check U36 (8255 PPI) and the 7406 keyboard data buffer.
* '''Model F variants''': the 83-key XT-style Model F works on the 5150 and 5160. The 84-key AT-style Model F and the 101-key Model M will '''not''' work without a [[Soarer's Converter|protocol converter]].
* '''Model F variants''': the 83-key XT-style Model F works on the 5150 and 5160. The 84-key AT-style Model F and the 101-key Model M will '''not''' work without a protocol converter.


=== Cassette port silence ===
=== Cassette port silence ===
Line 145: Line 145:


=== V20 CPU issues ===
=== V20 CPU issues ===
Swapping the 8088 for an [[NEC V20]] gives a 20-30% speed boost on most code, but the V20 emulates an 80186-class instruction set that breaks a small number of programs. If a known-good machine suddenly fails to run an old game or compiler after a V20 swap, drop the original 8088 back in to confirm.
Swapping the 8088 for an NEC V20 gives a 20-30% speed boost on most code, but the V20 emulates an 80186-class instruction set that breaks a small number of programs. If a known-good machine suddenly fails to run an old game or compiler after a V20 swap, drop the original 8088 back in to confirm.


=== Interrupt bug in early 8088s ===
=== Interrupt bug in early 8088s ===

Revision as of 10:03, 21 May 2026

This guide provides systematic, component-level troubleshooting for the IBM 5150. It covers POST beep codes, power-up failures, parity errors, video problems, keyboard 301 errors, and floppy faults. The 5150 has no battery-backed CMOS — all hardware configuration is set through DIP switches SW1 and SW2 on the motherboard, so verify those before chasing a hardware fault.

Preliminary & Power-up Checks

The 5150 has no on-board POST code output port — a hardware POST card plugged into ISA slot 1 will not show meaningful codes. Use the audio beep and the on-screen error number instead.

POST sequence summary

On a healthy 5150, power-up produces:

  1. A single short beep (~0.25 s) after about 5 seconds.
  2. The memory count appears in the top-left of the display (e.g. "256 KB OK" or "640 KB OK", depending on RAM fitted).
  3. The machine attempts to boot from the floppy in drive A, then falls back to Cassette BASIC if no boot disk is present.

Beep codes

IBM 5150 POST audio beep codes
Pattern Meaning Action
1 short beep POST OK Normal boot
No beep, no video PSU, CPU, clock, reset, or bank-0 RAM See below
1 long + 1 short System board failure Suspect 8088, 8259, 8253, 8237 or BIOS ROM
1 long + 2 short Video adapter failure or (on 10/27/82 BIOS) corrupted HDD ROM at C800 Reseat MDA/CGA; pull HDD controller and retry
1 long + 3 short EGA/VGA card failure (where supported) Reseat or replace video card
Continuous short beeps PSU fault Recap or replace PSU
Repeating short beep cycles RAM failure See 201 / parity check below
Power-up symptom table
Symptom Probable cause Action
No fan, no LED, no beep Dead PSU; blown fuse; rear-panel switch Test mains; check fuse; measure PSU rails with motherboard disconnected
Fan runs, no beep, no video Bank-0 RAM, BIOS ROM (U33), or CPU Reseat U33 and bank-0 RAM; probe clock at 8088 pin 19; try a known-good 8088
Fan runs, machine produces "131" −5 V rail is missing (cassette I/O test fails) Recap/replace PSU; do not use an ATX PSU without −5 V
Fan runs, repeating reset (counts to "16 KB OK" then resets) PSU droop; bad CPU; bad bank-0 RAM; bad 8253 Measure +5 V under load; piggyback bank-0 RAM
Tantalum cap audibly pops, PSU latches off Short-circuit tantalum (most often near P8/P9 or RAM bank) Remove all cards; if PSU then runs, fault is on a card; otherwise find the dead tantalum on the motherboard

No beep, no video

On a 5150, "dead machine" is most often one of: bank-0 RAM, the BIOS ROM, the CPU, or a missing −5 V rail.

  1. Confirm +5 V, +12 V, −5 V and −12 V at the P8/P9 motherboard connector with the machine running. The −5 V rail is required — a 16KB-64KB board with no −5 V will silently fail the first 16 KB RAM test and halt with no audible or visual indication.
  2. Reseat U33 (BIOS), U29-U32 (Cassette BASIC), the 8088 CPU, and all of bank-0 RAM (the bank closest to the CPU). The act of pulling and reseating wipes oxidised socket contacts and fixes a real percentage of "dead" 5150s.
  3. Probe the 8088 clock (pin 19, ~4.77 MHz square wave) and the reset (pin 21, low at power-on then high after Power Good). If clock is missing, suspect the 8284 clock generator or the 14.31818 MHz crystal. If reset is stuck low, suspect the 8284 or the Power Good signal.
  4. Piggyback a known-good RAM chip on each of the eight (4116) or nine-with-parity (4164) bank-0 RAM positions in turn. A piggyback that makes the machine boot identifies the dead chip.

Display & Video Diagnostics

The 5150 has no on-board video — a faulty video card is the most likely cause of a no-video symptom even when the machine is otherwise alive.

No video, but POST beep is normal

  • Confirm the video adapter card (MDA or CGA) is firmly seated.
  • Check the monitor cable and the monitor itself.
  • If the MDA card has an output for an IBM 5151 monitor and the CGA card has a separate 9-pin output for an IBM 5153 monitor, ensure the cable is on the correct card.
  • If the machine has both MDA and CGA fitted, SW1 video bits select which is the boot adapter:
SW1 bit 5 SW1 bit 6 Boot video adapter
OFF OFF EGA / VGA (BIOS expansion ROM at C0000)
OFF ON CGA, 40-column text
ON OFF CGA, 80-column text
ON ON MDA, 80-column text

Garbled text or random characters

  • Suspect the video adapter's character ROM (on MDA, this is the 2316 character generator).
  • Bad video RAM on the adapter card — not motherboard RAM.
  • Cracked solder joints on the DE-9 (CGA) or DB-9 (MDA) output connector.

One missing colour on CGA

  • Suspect the LM1881-equivalent output buffer or a bad TBP18S030 colour PROM on the CGA card.
  • Check continuity from the CGA card output pin to the 5153 monitor's DE-9 input.

Memory & RAM Faults

Parity error 201

The 5150 displays a numbered error followed by the text "PARITY CHECK 1" or "PARITY CHECK 2":

  • PARITY CHECK 1 — the error is in motherboard RAM.
  • PARITY CHECK 2 — the error is in expansion-card RAM (the card's parity bit fired).

If a four-digit number is shown (e.g. 2004) the format is 2 BBP where BB is the bank (00, 04, 08, 0C for banks 0-3 on the 64KB-256KB board) and P is the failing bit (0-7, or 8 for the parity bit).

  1. Reseat the chip at the indicated bank and bit position.
  2. If reseating does not fix it, replace that single chip with a known-good 4164 (or 4116 on the early board).
  3. If the position moves around between resets, suspect DRAM refresh — the 8237 DMA controller (U35) generates refresh cycles. A bad 8237 produces random RAM errors across all banks.

Bank 0 RAM dead

A failed chip in bank 0 produces a completely silent dead motherboard with no beep, because the POST cannot get far enough to use the speaker. This is one of the most common 5150 faults and easily confused with a CPU or PSU fault.

"Mem size error"

The motherboard SW2 DIP switches must be set to match the total motherboard + expansion-card RAM. On the 10/27/82 BIOS, all four motherboard banks must be populated.

Keyboard & I/O Failures

301 error (keyboard)

  • The keyboard did not return acknowledgement byte AAh within the timeout.
  • Reseat the DIN-5 connector.
  • Swap to a known-good Model F. If the suspect keyboard works on another 5150 or XT, the 5150's keyboard interface is at fault — check U36 (8255 PPI) and the 7406 keyboard data buffer.
  • Model F variants: the 83-key XT-style Model F works on the 5150 and 5160. The 84-key AT-style Model F and the 101-key Model M will not work without a protocol converter.

Cassette port silence

The cassette interface is part of the original spec but vanishingly few users actually use it. A POST 131 error on the 10/27/82 BIOS indicates the cassette I/O test failed, which is most often caused by missing −5 V rail rather than a real cassette problem. Verify −5 V at the PSU before chasing cassette hardware.

Floppy faults

  • Drive light stays on continuously — cable inserted backwards, or termination resistor missing on the last drive.
  • Drive light flickers but no read — head needs cleaning; positioner rail needs lubrication; belt may have failed (TM100-2).
  • Drive seeks, but read errors — head alignment, or the floppy itself is media-failed.
  • POST 6xx errors — the floppy controller card. Reseat the FDD adapter card.

Component-level Tests

Voltage test points

Test point Expected Notes
8088 pin 40 (Vcc) +5 V Main logic rail
8088 pin 19 (CLK) ~4.77 MHz square wave From 8284 clock generator (15.91 MHz / 3)
8088 pin 21 (RESET) Low at power-on, high after Power Good Stuck low = bad 8284 or bad PSU Power Good
DRAM Vcc +5 V All RAM chips
DRAM Vbb (4116 only, pin 1) −5 V Absence kills bank 0 silently on the early board
Power Good (P8/1) +5 V, rises ~100-500 ms after +5 V is stable A stuck-low Power Good keeps the CPU in reset

V20 CPU issues

Swapping the 8088 for an NEC V20 gives a 20-30% speed boost on most code, but the V20 emulates an 80186-class instruction set that breaks a small number of programs. If a known-good machine suddenly fails to run an old game or compiler after a V20 swap, drop the original 8088 back in to confirm.

Interrupt bug in early 8088s

Early-stepping Intel 8088s have a documented interrupt bug that affects certain prefix sequences. If the system fails reproducibly on specific software with no other apparent fault, try a later-stepping 8088 (date code 1982 or later).

Expansion Card Diagnostics

Process of elimination

  1. Strip the machine to motherboard + PSU + RAM + video card + keyboard.
  2. Confirm POST passes. If yes, add cards back one at a time, powering down between each.
  3. The first card that prevents POST is the suspect.

16-bit ISA cards

Some 16-bit ISA cards advertised as "8-bit slot compatible" do not work in the 5150's 8-bit slots. Causes:

  • The card requires the wider 5170 (AT) slot spacing.
  • The card needs to be reconfigured for 8-bit mode by switches, jumpers, or in some cases configuration software.

If the card refuses to POST and the SW1 settings are correct, try the card in a 5160 (XT) first to confirm it works in any 8-bit slot.

Final Notes

  • The original IBM 5150 Technical Reference (1981) contains the full schematics, BIOS listing, and DIP-switch reference. It is the single most useful document for board-level fault finding.
  • The minuszerodegrees.net 5150 documentation set (BIOS revisions, motherboard versions, known problems) is the most thorough community-maintained reference.
  • For systematic recapping, see IBM PC (5150) Capacitor Replacement Guide.
  • For preventive work and cleaning, see IBM PC (5150) Maintenance Guide.