• Please review our updated Terms and Rules here

C-128 Garbage screen in 40 column mode

rglenn

Experienced Member
Joined
Feb 16, 2014
Messages
104
Location
PA
I have a C-128 that boots up fine in 80 column mode displaying the correct number of bytes free. In 40 column mode in either 64 or 128 mode, I get borders full of characters.

The VIC chip tests ok. Any ideas?
 

Attachments

  • 20240421_070509.jpg
    20240421_070509.jpg
    1.5 MB · Views: 16
  • 20240421_070525.jpg
    20240421_070525.jpg
    570.2 KB · Views: 16
  • 20240421_085018.jpg
    20240421_085018.jpg
    2 MB · Views: 16
I also swapped in another tested working 8564 with the same results.
 
All 3 tested good. I also replaced them with other good chips with the same results.
 
Sure - it does test the SID at the end so it appears to be running the diags, I just can't see them.
 

Attachments

  • 20240423_173435.jpg
    20240423_173435.jpg
    4.3 MB · Views: 5
  • 20240423_173434.jpg
    20240423_173434.jpg
    3.8 MB · Views: 3
  • 20240423_173432.jpg
    20240423_173432.jpg
    3.9 MB · Views: 4
  • 20240423_173430.jpg
    20240423_173430.jpg
    3.8 MB · Views: 4
  • 20240423_173426.jpg
    20240423_173426.jpg
    2.7 MB · Views: 4
  • 20240423_173424.jpg
    20240423_173424.jpg
    4.4 MB · Views: 4
  • 20240423_173423.jpg
    20240423_173423.jpg
    4.5 MB · Views: 4
  • 20240423_173421.jpg
    20240423_173421.jpg
    4.4 MB · Views: 3
  • 20240423_173419.jpg
    20240423_173419.jpg
    4.7 MB · Views: 5
  • 20240423_173418.jpg
    20240423_173418.jpg
    4 MB · Views: 5
It's interesting that the entire screen is covered with the same character (the colour comes from the RAM at $d800). Since you said the CIAs also tested good, if you type blindly at the C64 prompt POKE 56576,6, what do you see? It should be garbage, but it should not be all the same character.
 
It's interesting that the entire screen is covered with the same character (the colour comes from the RAM at $d800). Since you said the CIAs also tested good, if you type blindly at the C64 prompt POKE 56576,6, what do you see? It should be garbage, but it should not be all the same character.
Here is the result of the Poke
 

Attachments

  • 20240424_060726.jpg
    20240424_060726.jpg
    1.8 MB · Views: 10
The sprdef command is just a text mode 40 col program.

Try this program, it will draw a X sprite near the center of the screen and move it horizontally across the screen to the right.

10 print chr$(147)
20 for s=3584 to 3647
30 read t: poke s,t:next
40 sprite 1,1,2,0,0,0,0
50 movspr 1,100,140
60 movspr 1,90 #5
1010 data 128,0,8,64,0,16,32,0,32,16,0,64,8,0,128,4
1020 data 1,0,2,2,0,1,4,0,0,136,0,0,80,0,0,32
1030 data 0,0,80,0,0,136,0,1,4,0,2,2,0,4,1,0
1040 data 8,0,128,16,0,64,32,0,32,64,0,16,128,0,8,1
 
It could be a few things. Without seeing it and the board in person I can only guess. RAM would be my first guess because if something is borked in the RAM it could display corruption. I think the C128 also only tests half the memory so there could be an issue with the other half. Also char ROM but I am not sure if that would equal a normal screen on 80 column.
 
It could be a few things. Without seeing it and the board in person I can only guess. RAM would be my first guess because if something is borked in the RAM it could display corruption. I think the C128 also only tests half the memory so there could be an issue with the other half. Also char ROM but I am not sure if that would equal a normal screen on 80 column.
Char ROM would not display complete characters as seen in the post with all the pictures. I would say something wrong with the RAM or the supporting logic chips, as most of the computer seems to work. Since VIC, PLA and CIA are tested good, my guess is something on the VA14/VA15 line or a RAM chip

You could:
- check/replace U63 (7406 are known to fail from time to time)
- check/replace U26 (LS257)
- piggyback/check/replace RAM, but I would do that last

Anything of those get particularly hot? When in doubt, blame the MOS chip
 
Char ROM would not display complete characters as seen in the post with all the pictures. I would say something wrong with the RAM or the supporting logic chips, as most of the computer seems to work. Since VIC, PLA and CIA are tested good, my guess is something on the VA14/VA15 line or a RAM chip

You could:
- check/replace U63 (7406 are known to fail from time to time)
- check/replace U26 (LS257)
- piggyback/check/replace RAM, but I would do that last

Anything of those get particularly hot? When in doubt, blame the MOS chip
- check/replace U63 - de-soldered, tested chip, test passed, added socket, replaced with another good chip
- check/replace U26 (LS257) - de-soldered, tested chip, test passed, added socket, replaced with another good chip
- piggyback/check/replace RAM, but I would do that last - I got some screen changes when piggybacking but not anything useful

I left the system powered on for 40 minutes. No chips got hot or even very warm. I did notice the screen change when I pressed on the CPU. I also noticed the CPU (6502) was somewhat loose in the socket. I was able to pull it out with my fingers.
I'm not sure if that is an issue or not as it boots up in 80 column mode fine every time I try but I'll likely replace the CPU socket and test.
 
Back
Top