Compaq Portable

Resources

Wiki
Operations Guide
ROMs and ROM guide
old-computers.com

Service manual, including schematics, is not available for free, it can be purchased from SAMS Technical Publishing.

Internals

Motherboard

The motherboard and ISA cards contain tantalum capacitors, which are prone to failure and shorting the power lines to ground. It is a good idea to replace all polarised tantalum capacitors, for example with modern electrolytic capacitors.

Jumper Settings

SW1MeaningValuesResult
1reservedOFFalways
2coprocessorONnot installed (default)
OFFinstalled
3reservedOFFalways
4reservedOFFalways
5,6display modeON,OFF1: internal 80×25
2: external monochrome (default)
OFF,ON1: internal 40×25
2: external monochrome
ON,ON1: external EGA over RGBI
2: external monochrome
OFF,OFF1: external monochrome
2: external RGBI
7,8FDD setupON,ON1 FDD installed
OFF,ON2 FDDs installed
ON,OFF3 FDDs installed
OFF,OFF4 FDDs installed
SW2-1SW2-2SW2-3SW2-4Installed memory
Switches 5 to 8 always OFF
ONOFFONON128 KB
ONONOFFON192 KB
ONOFFOFFON256 KB
ONONONOFF320 KB
ONOFFONOFF384 KB
ONONOFFOFF448 KB
ONOFFOFFOFF512 KB
OFFOFFOFFOFF544 KB

Video Display Adapter (VDU)

Jumper Settings

JumperValueResult
J31-2 ONExternal composite and RGBI sync disabled
Can be enabled with CTRL+ALT+<
2-3 ONExternal composite and RGBI sync enabled
J51-2 ONExternal RGBI video disabled
Can be enabled with CTRL+ALT+<
2-3 ONExternal RGBI video enabled

Printer and Floppy Adapter

Power Supply

Instructions on replacing the original power supply with a modern one are towards the end of this post.

Analog Board

Flyback Transformer

CRT Board

CRT

Floppy Disk Drive

Mitsubishi MF501A-352U

Keyboard

Reassembly

Display Complex

Chassis

Diagnosing boot issues

When booting, a set of diagnostics is executed and in case of failure, a status is reported on the screen. To read it use either the internal display, or connect an external monitor over 9-pin RGBI or monochrome composite cable. Don’t forget to set the appropriate display mode on the motherboard’s SW1 and check the two jumpers on the VDU (Video Display Unit) card.

The error code is 3 or 4 digit number, which first digits indicate the source of failure and last digits will be non-zero if the device tested bad.

Error CodeSource of failure
1**System board
20*Memory
30*Keyboard
4**Printer / Disk Drive Adapter
5**VDU Adapter
6**Disk Drive
11**COM1
12**COM2
17**HDD

In case of memory failure (code 201), the code will be preceded by the exact location of the erroneous chip. The location consists of 4 digits in the following format:

DigitValueMeaning
1st0-3bank number
2nd0always zero
3rd, 4th01row 0
02row 1
04row 2
08row 3
10row 4
20row 5
40row 6
80row 7
00parity row

For example error code 1008 201 means memory error, bank 1, row 3. If the row location does not match, all chips and memory chip select circuits (CAS, RAS) should be checked.

In case of severe errors, after displaying the error code, the booting will stop and CPU will go into halt (no activity on address/data lines). Otherwise the booting can continue. A correct boot will be signalled with a single beep. Continuous beep or repeated short beeps indicate power supply errors. One long and two short beeps will indicate failure of the VDU adapter.

Replacing Compaq Portable Power Supply

My original PSU came faulty. I tried to fix it but failed. There was something non-obvious wrong that cause the switching transistor to blow. I ran out of transistors diagnosing it and decided to replace the whole power supply with a modern unit.

The replacement unit I found is Meanwell MPQ-200B. It has all the correct voltages at sufficient ratings: 5V, 12V, -5V, -12V. It has a power good signal. Finally, it is smaller than the original PSU, so it should fit the space.

The connectors have different pinout than Compaq PSU. Meanwell has two connectors: one (split into two parts) for providing the power and a smaller one for control signals. I did not want to destroy the original cable, so I decided to build an adapter. Because the board size of the new PSU is smaller, it is possible to build an adapter board of the original side, place the PSU on top of it and use the remaining space for transplanting the original connectors.

The input AC connector has compatible size, but different shape of the pins. It can be replaced directly on the new PSU board, so the AC cable can be plugged into the PSU. The ground cable connector is different, but the new plug can be easily clamped on the cable and also plugged to the PSU. The output DC connectors can be removed from the original PSU and placed on the adapter board.

The pinout of the Compaq PSU is marked on the PSU board. Meanwell PSU has pins marked too, but I learned the markings were incorrect. This could have fatal consequences. Please measure the voltages at each pin and use the empirical values when making connections.

Here is a first version of the adapter board. It is not correct with handling the power good signals, but it demonstrates the idea. The voltages are linked one to one between the PSU and the old connector. For some of the signals (ground, +5V) multiple pins/cables are used and I retained this concept because of the current levels that will travel through these cables.

The old-school process of etching the board.

The cables connected to the PSU plug – please note the cable at pin 4 is incorrect and should be moved to pin 3 – this is because of wrong markings on the PSU. The connector on the right is used for power good signal and ground.

The adapter board with the PSU mounted and connected.

PSU has an output signal called Power Good – it goes active (+5V) when all the other voltages are ready to be used. Compaq Portable has two inputs used to indicate the power readiness by the PSU:

  • +5VR (pin 1) – this is a +5V regulated power source used to drive the power good logic on the motherboard
  • PC (pin 2) – called Power Good / Reset. It is used to drive the chips out of reset and to enable clock generation

Here are parts of the schematics that show how the signals are generated by the PSU and consumed by the motherboard:

When I initially tested the new PSU with the motherboard, I connected both PC and +5VR pins to the PSU power good signal directly. It seemed to work fine at first, but with ISA cards installed, there seemed to be load significant enough to drive the power good voltage down to 2V which caused the board to reset.

I separated the PC and +5VR signals and connected the +5VR to the +5V on the PSU. This improved the situation, but the problem returned with the CRT and FDDs connected.

I added a buffer between the PSU power good signal and PC input on the motherboard – a TTL chip (7409 AND gate) with open collector output, which input was connected to the PSU power good signal and the output driven by the +5V from the power supply. (It can be any other chip with open collector output that can just buffer the signal)

This caused the computer to be powered on correctly on all attempts. The PSU was ready to be mounted.

The new PSU does not fit the chassis in the exactly same place as the old one. The original PSU is thinner on one side close to the front and the new PSU is of even height and must be positioned closer to the rear of the chassis. But there is enough space to fit it – the new mounting holes must be drilled in the chassis.

With the new PSU, the old fan will not fit the original space and must be positioned on the other side of the mounting bracket. My fan was rated for +110V, so I replace it with a new +12V which I connected directly to the PSU.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s