Jump to content

Commodore 64 ROM Replacement

From RetroTechCollection
Commodore 64 250407 board ROMs U3 U4 U5
The three ROMs on a 250407 board: U3, the BASIC ROM (MOS 901226-01), U4, the KERNAL ROM (here a 901227-02), and U5, the character ROM.

The Commodore 64 long boards (assemblies 326298, 250407 and 250425) hold the machine's built-in software in three MOS mask ROMs: the BASIC ROM at U3 (a 2364, part 901226-01), the KERNAL ROM at U4 (a 2364, part 901227-03) and the character generator ROM at U5 (a 2332, part 901225-01).[1] Ray Carlsen notes that early machines carry the 901227-02 KERNAL.[2] The PLA at U17 selects each ROM: BASIC from $A000 to $BFFF through pin 17, KERNAL from $E000 to $FFFF through pin 16, and the character ROM at $D000 to $DFFF through pin 15.[3] Retro Repairs and Refurbs describes the KERNAL ROM as particularly unreliable, because of its manufacturing process and because it runs hot.[4]

Symptoms

[edit | edit source]
Symptoms of a failed ROM
ROM Ray Carlsen[2] Retroleum[5] Commodore's troubleshooting table[6]
U3 BASIC Blank screen with a border; a cartridge works Constant SYNTAX ERROR; blank screen at power-up; the cursor returns home when RETURN is pressed; POKE does not work Cursor goes home when RETURN is pressed after RUN; POKE does not work; no character lettering (U3 or U2); SYNTAX ERROR after warm-up (RAM or U3); resets when warm and long programs do not load (U7 or U3); keyboard fails when warm (U1 or U3)
U4 KERNAL Blank screen with no border; most cartridges do not work, but a few that bypass the KERNAL, such as Commodore's Kickman and Jupiter Lander, run normally Cursor jumps back home; RESTORE does not work; keyboard fails when warm; blank screen at power-up; game cartridges do not work Blank screen at power-up (U4 among several chips); FILE NOT FOUND when loading from disk (U4 or U2); start-up message but no cursor (U1, U15, U7 or U4)
U5 character Normal border, but garbage where the start-up text should be; a cartridge works Scrambled graphics in place of characters; glitchy characters, especially when warm Not listed separately

A ROM can also stop a machine that otherwise looks like a RAM fault. Retro Repairs and Refurbs notes that a ROM with a stuck output driver can hold a data line, so that the Dead Test cartridge reports a stuck data bit; on one 250407 board the Dead Test failed until the KERNAL ROM was removed, and then passed every test.[4]

Safety

[edit | edit source]
  • Switch off, unplug the power supply and remove all cables and anything in the cartridge, cassette and user ports before opening the case.[7]
  • Check the power supply before fitting good chips; Carlsen lists a bad supply among the causes of a blank screen.[8] See Commodore 64 Power Supply Testing and Repair.
  • The chips are static sensitive.[8]
  • Creative Micro Designs advises anyone without desoldering experience not to unsolder the KERNAL ROM themselves.[7]

Tools and parts

[edit | edit source]
  • A cartridge, and if possible a Dead Test cartridge.[8][9]
  • Known-good ROMs for substitution. Retroleum sells tested used 901226-01, 901227-02 and 901225-01 chips, some pulled from sockets and some desoldered.[5] A JiffyDOS ROM also replaces the KERNAL.[7]
  • 24-pin sockets for any soldered ROM. Creative Micro Designs specifies a low-profile 24-pin socket at the KERNAL position on every C64 board.[7]
  • An IC extractor, or a small flat-bladed screwdriver with tape over the tip.[7]
  • For soldered chips: a soldering iron, a large solder sucker, desoldering braid, tweezers and a magnifier.[10] See Recommended Tools.
  • An oscilloscope and Commodore's diagnostic cartridge, for the select-signal checks.[11]

Procedure

[edit | edit source]

Narrow the fault down

[edit | edit source]
  1. Try a game cartridge. Carlsen's rule: if a cartridge works, check the ROMs. The screen can show a normal border with a bad BASIC or character ROM; a bad KERNAL gives no border.[8]
  2. If a cartridge such as Kickman or Jupiter Lander runs but the machine will not start without it, suspect the KERNAL ROM.[8][2]
  3. Fit the Dead Test cartridge. It tests RAM only and does no ROM testing.[9] It runs without the system ROMs fitted.[4] Commodore's manual says that if the Dead Test passes every test and the machine will not run the standard diagnostic, a bad ROM or PLA is normally indicated.[12]
  4. If the Dead Test reports a stuck data bit, consider the ROMs before replacing more RAM. On the 250407 board above, removing the KERNAL ROM cleared the fault.[4]

Check the select signals

[edit | edit source]

With an oscilloscope and Commodore's diagnostic cartridge fitted, check the PLA's ROM select outputs. A missing pulse points to the PLA or to the ROM that loads the line.[11] The rest of Commodore's U17 checks are in Commodore 64 PLA Replacement.

ROM select checks at U17 (diagnostic cartridge fitted)[11]
U17 pin Signal Expected If wrong, Commodore suspects
15 Character ROM select +5 V with negative pulses U17, U5
16 KERNAL ROM select +5 V with negative pulses U17, U4
17 BASIC ROM select +5 V with a negative pulse on reset U17, U3

Open the case

[edit | edit source]
  1. Turn the computer over and remove the three screws along the front edge of the underside. Some machines have Torx screws, which need a T10 driver.[7]
  2. Lift the front of the top case. Unplug the keyboard connector, rocking it gently and pulling straight up, and the power LED connector.[13]
  3. Lift the top case away; the rear fasteners can be tight.[13]
  4. Remove the cardboard-and-foil or metal shield if one is fitted. It is held by self-tapping screws.[7]
  5. Find U3, U4 and U5, side by side in a row of 24-pin chips; on the 250407 they sit between the CIAs and the 6510.[14] The service manual's board layouts show the position on each assembly.[15]

Remove a socketed ROM

[edit | edit source]
  1. Note which way the notch faces.
  2. Lift the chip a little at a time, prying alternately at the front and back with the extractor or taped screwdriver. Take care not to damage the board.[7]

Remove a soldered ROM

[edit | edit source]
  1. Remove the seven screws holding the board to the lower case and lift the board out.[16]
  2. Heat each pin for about two seconds, until the solder is molten on both sides of the board. Ease the pin towards the centre of the hole with the iron tip, then draw the solder out with the sucker.[10]
  3. Check that each pin moves freely. If one is still stuck to the wall of the hole, add fresh solder and desolder it again.[10]
  4. Do not hold the iron on a pad for more than a few seconds or press hard: too much heat or force lifts pads and traces.[10]
  5. When every pin is free, pry up one end of the chip gently, then the other.[10]
  6. Inspect both sides of the board for torn through-hole plating, and repair it with a single strand of wire through the hole, soldered on both sides.[10]
  7. Fit a 24-pin socket. Never solder a socket with a chip in it.[10][7]

Retro Repairs and Refurbs removed the ROMs from several 250407 boards this way, tested each one in a C64 test board, and fitted sockets on every position.[4]

Fit the replacement

[edit | edit source]
  1. Fit a known-good ROM with its notch the same way round as the original. Creative Micro Designs shows the KERNAL notch facing the rear of the computer.[7]
  2. Check that every pin is in its hole and none has folded under, then press the chip down evenly.[7]
  3. Carlsen recommends a heat sink on the KERNAL ROM, and found that the early cardboard-and-foil shield blocks the airflow over the chips.[17]
  4. Refit the board with its seven screws, then the shield, the keyboard and LED plugs, the top case and the three case screws.[16][7]

Testing

[edit | edit source]
  1. Power up. The start-up screen should appear with 38911 BASIC bytes free.[18]
  2. Type a short BASIC program and run it, and try a POKE; Commodore links both to U3.[6]
  3. Load a program from disk; FILE NOT FOUND on a known-good disk points back to U4 or U2.[6]
  4. Leave the machine running to warm up, and repeat. Commodore and Retroleum both list faults that appear only when warm.[6][5]
[edit | edit source]

References

[edit | edit source]
  1. ↑ Commodore Business Machines, Service Manual C64/C64C, March 1992, PN-314001-03, hosted at Commodore 64 / 64C Service Manual. Parts lists for assembly 326298 (p. 19), 250407-04 (p. 24) and 250425-01 (p. 29): U3 "2364 Basic ROM" 901226-01, U4 "2364 Kernal ROM" 901227-03, U5 "2332 Char ROM" 901225-01.
  2. ↑ 2.0 2.1 2.2 Ray Carlsen, "C64 chips and common symptoms", updated 7 January 2020, entries for U3, U4 and U5. Repair notes.
  3. ↑ Service Manual C64/C64C (1992), Circuit Theory, "ROM Address Decoding", p. 7.
  4. ↑ 4.0 4.1 4.2 4.3 4.4 themightymadman, "Commodore 64 (ASSY 250407) Board Repairs", Retro Repairs and Refurbs, 23 July 2021. Repair log of fourteen 250407 boards, including failed KERNAL and character ROMs.
  5. ↑ 5.0 5.1 5.2 Retroleum, "C64 chips", product notes for the 901226-01, 901227-02 and 901225-01 ROMs, with typical faults. Parts seller. Retrieved 2026-10-25.
  6. ↑ 6.0 6.1 6.2 6.3 Service Manual C64/C64C (1992), "64 Troubleshooting Guide", pp. 14-16.
  7. ↑ 7.00 7.01 7.02 7.03 7.04 7.05 7.06 7.07 7.08 7.09 7.10 7.11 Creative Micro Designs, JiffyDOS C-64 Installation Guide, pp. 1-6: opening the C-64, removing the shield, removing a socketed or soldered KERNAL ROM, the 24-pin socket, notch orientation and the checkout after fitting. PDF.
  8. ↑ 8.0 8.1 8.2 8.3 8.4 Ray Carlsen, "C64 blank screen", updated 27 November 2021. Repair notes: the cartridge test and what a bad ROM does to the border.
  9. ↑ 9.0 9.1 Commodore Business Machines, Diagnostic Manual, C-64 Dead Test, PN-314139-02, January 1988, overview, p. 1-1: the cartridge is almost entirely dedicated to RAM testing and does no ROM or port testing. Hosted as File:C64 Dead Test Diagnostic Manual (314139-02, 1988 Jan).pdf.
  10. ↑ 10.0 10.1 10.2 10.3 10.4 10.5 10.6 Ray Carlsen, "Replacing IC chips in Commodore equipment", updated 19 December 2012. Repair notes.
  11. ↑ 11.0 11.1 11.2 Commodore Business Machines, C64 Diagnostic Instruction and Troubleshooting Manual, Assembly #326070-01, Section 2, "6. System ROM and I/O", p. 2-9, hosted at Commodore 64 Diagnostic Instruction and Troubleshooting Manual (326070-01).
  12. ↑ Diagnostic Manual, C-64 Dead Test (1988), p. 2-7: if the Dead Test passes all tests and the system will not run the standard diagnostic, a bad ROM or PLA is normally indicated.
  13. ↑ 13.0 13.1 Ray Carlsen, "Commodore keyboards", updated 17 November 2015, section "Disassembly / reassembly... C64 computer". Repair notes.
  14. ↑ Photograph of a 250407 Rev. B board by Sven Petersen, Wikimedia Commons, File:0430 - C64 Mainboard ASSY250407 RevB.jpg, read at full size.
  15. ↑ Service Manual C64/C64C (1992), board layouts for assemblies 326298 (p. 18), 250407-04 (p. 23) and 250425-01 (p. 28).
  16. ↑ 16.0 16.1 Retroleum, "Commodore 64 fixings", product note: seven screws hold the breadbin motherboard to the lower case. Parts seller. Retrieved 2026-10-25.
  17. ↑ Ray Carlsen, "Heat sinking ICs in the C-64", updated 10 May 2014. Repair notes.
  18. ↑ Ray Carlsen, "RAM (Random Access Memory) problems in the C64/128 computer", updated 9 June 2011: the normal 38911 bytes free.