Well, that makes sense. But the lack of randomness is very strange when RAM tests can't find any faults (except for one occasion, see first ram test picture in this thread).Smonson wrote: 28 Sep 2018 10:39 I think that the fact that the corruption is only visible in part of the screen and not across the entirety of it actually implicates the ram more. As the screen is being moved 16 bits at a time between the RAM and the shifter, the only thing that changes as it gets to the "bad" bit of the screen is which location in RAM is being accessed. If the problem was somewhere in the transportation of the data, I would expect it to either be random (totally different for each frame) or covering the screen completely at all times.
In support of the "bad ram" hypothesis, you said that sometimes the problem goes away when the problematic part of the screen is redrawn. Possibly this is because the problem has a 50% chance of not affecting a pixel (if it's a single stuck bit in the word), so 8 palette colours would look fine, and 8 would look wrong. So when the colour of a bad pixel is written over, every second time it'll make the problem go away.
1040 STF showing occasional rogue pixels
-
sandord
- Posts: 764
- Joined: 13 Aug 2018 22:08
- Location: The Netherlands
Re: 1040 STF showing occasional rogue pixels
-
sandord
- Posts: 764
- Joined: 13 Aug 2018 22:08
- Location: The Netherlands
Re: 1040 STF showing occasional rogue pixels
Thanks! It's been running for 10 minutes now, back in 1mb configuration. No errors yet.exxos wrote: 28 Sep 2018 20:06 I found this program, never used it, but looks like it does some bit tests on screen...
MEMTEST.zip
Blank_00027.png
-
troed
- Posts: 936
- Joined: 21 Aug 2017 22:27
Re: 1040 STF showing occasional rogue pixels
So, there's a good chance this isn't about when the CPU reads RAM, but when the Shifter reads RAM, then.
-
sandord
- Posts: 764
- Joined: 13 Aug 2018 22:08
- Location: The Netherlands
Re: 1040 STF showing occasional rogue pixels
I've made a GIF of Metrocross, which still exhibits the most interesting artifacts. By the way, I've verified that this game runs fine on other STs.
The picture is a little bit shabby because I captured it using my phone, which doesn't sync to the 50Hz flicker too well, causing the GIF to shimmer.
Don't pay attention to the variations in the horizontal bar as shown here, it's just a video capturing artifcat, IRL you just see the bottom version all the time:
Here's a single screen shot:
There are pretty much two things going on here:
(1) Some bad pixels in the status area of the screen (bottom of the screen).
The amount of pixels slowly increases over time, as the ST heats up I presume:
(2) Some bad pixels in some of the game background sprites:
Now these guys are interesting because they scroll to the left, along with the level. I don't think Metrocross does its scrolling by shifting the video RAM to the left but rather redraw the background every frame. Otherwise, the artifact wouldn't be animating like it does. I think Metrocross keeps pre-shifted versions of its tiles in memory and some of them have become corrupted. As you can see in the GIF, the pixels are jumping vertically and this pattern keeps repeating consistently while I play the game. It's just that they appear only in certain areas of the levels.
The strange thing is though that the tiles are only corrupted on a specific range of display lines, so its just like a certain combination of source and destination adresses (during copy operations) is causing artifacts.
Any other artifacts that might attract your attention, are caused by the video capturing. On the real monitor, there's just the two mentioned artifacts, (1) and (2).
The picture is a little bit shabby because I captured it using my phone, which doesn't sync to the 50Hz flicker too well, causing the GIF to shimmer.
Don't pay attention to the variations in the horizontal bar as shown here, it's just a video capturing artifcat, IRL you just see the bottom version all the time:
Here's a single screen shot:
There are pretty much two things going on here:
(1) Some bad pixels in the status area of the screen (bottom of the screen).
The amount of pixels slowly increases over time, as the ST heats up I presume:
(2) Some bad pixels in some of the game background sprites:
Now these guys are interesting because they scroll to the left, along with the level. I don't think Metrocross does its scrolling by shifting the video RAM to the left but rather redraw the background every frame. Otherwise, the artifact wouldn't be animating like it does. I think Metrocross keeps pre-shifted versions of its tiles in memory and some of them have become corrupted. As you can see in the GIF, the pixels are jumping vertically and this pattern keeps repeating consistently while I play the game. It's just that they appear only in certain areas of the levels.
The strange thing is though that the tiles are only corrupted on a specific range of display lines, so its just like a certain combination of source and destination adresses (during copy operations) is causing artifacts.
Any other artifacts that might attract your attention, are caused by the video capturing. On the real monitor, there's just the two mentioned artifacts, (1) and (2).
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28376
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: 1040 STF showing occasional rogue pixels
Maybe its a problem with the bus isolation buffers ?
-
sandord
- Posts: 764
- Joined: 13 Aug 2018 22:08
- Location: The Netherlands
Re: 1040 STF showing occasional rogue pixels
Are those the SN74LS244N chips?
-
exxos
- Site Admin

- Posts: 28376
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: 1040 STF showing occasional rogue pixels
and 373.
Might be worth resoldering the shifter,mmu,244,373...
-
sandord
- Posts: 764
- Joined: 13 Aug 2018 22:08
- Location: The Netherlands
Re: 1040 STF showing occasional rogue pixels
I already had resoldered the MMU. I'll do the shifter and the 4 buffer chips as well, good advice.
What do you think of using freeze spray of each of them, one by one to see if the pixels disappear when restarting Metrocross? Or could that be dangerous to the ST?
-
exxos
- Site Admin

- Posts: 28376
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: 1040 STF showing occasional rogue pixels
Should be fine :)
-
sandord
- Posts: 764
- Joined: 13 Aug 2018 22:08
- Location: The Netherlands
Re: 1040 STF showing occasional rogue pixels
I don't believe my eyes :roll:
I've just reflowed the shifter, buffers and the cpu while I was at it. I started Metrocross.
It's running in 2 frames instead of one. All juddery now. :shock:
How can this even be possible??
I've just reflowed the shifter, buffers and the cpu while I was at it. I started Metrocross.
It's running in 2 frames instead of one. All juddery now. :shock:
How can this even be possible??
Who is online
Users browsing this forum: ClaudeBot, don_apple, Google [Bot] and 4 guests