Video Bringup: Part 1
After an eternity of procrastination and wire-wrapping, I finally finished BMOW’s video subsystem. Well, not quite finished really: the character generator is still missing, but the all the hardware is there to support the pure graphics modes. It’s about time!
With anticipation I flipped the power switch and was greeted with: nothing. The monitor turned on, which was promising, but all I saw on the screen was some faint gray noise on a black background. I spent about an hour troubleshooting, trying different video modes and palette settings, with no change. At last I realized a very stupid mistake: I’d forgotten to place all of the discrete components! The current reference, diode, and assorted resistors were still sitting neatly in a box. I put them into their places on the board, turned on power again, I saw this.
I was expecting either blackness, or some kind of static noise pattern, given that the contents of video memory were uninitialized. I wasn’t expecting this, though. Seen live, it’s even stranger than it looks in the photo. The image is flickering and dancing like crazy. It even looks as though the vertical refresh is starting at random locations within the frame, and sometimes it never gets all the way to painting the bottom of the image before it starts again at the top. Ugh. At that point I was tired and discouraged, and went to bed. Hopefully it won’t prove too difficult to resolve.
Read 3 comments and join the conversation3 Comments so far
Leave a reply. For customer support issues, please use the Customer Support link instead of writing comments.
Update: I traced the problem to an error in my HSYNC signal generation. I still have total garbage on the screen, but now it’s rock-solid garbage, rather than bizarrely shimmering garbage. I’m on my way!
Awesome! What was the problem?
Just a bug in the equation that generates HSYNC. Instead of asserting HYSNC once per line, it was doing it twice, at a weird interval.
It’s still pretty busted. The monitor thinks it’s 1152 x 864 resolution when it’s really 512×480, and the whole image seems to be offset horizontally as well. I really haven’t had time yet to dig into it much, though.