VOGONS

Common searches


First post, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Hello everyone,

This is a little thread dedicated to a modification or "hack" for a Hercules Monochrome Card.

I got inspired by oldCat's "Childhood Embers" - 286 AT with Hercules graphics build thread.
I'm also making this thread as a means of indemnification for all those readers of my other project, the 128KB card in this thread over there.

Now, how can we make a VGA screen display Hercules graqphics ?
The most reasonable answer would be that we can't, because they differ in so many ways:

Hercules: 720x350, 2-Bit data, progressive, TTL-level signaling, 50Hz, 18,42KHz horizontal sync.
VGA/SVGA: various resolutions, RGB, prorgressive/interlaced, analogue level signaling, 50 to ~100Hz, 31.47kHz+ horizontal sync.

So under normal circumstances. a mechanical adapter simply won't do. 🙁

(Except we're cheating, of course, and use an LCD TV set with VGA-Input. 😉
They can do as a low as 15Khz, so maybe they support refresh rates all the way up to 31.47kHz.)

Next, we could try to develop a device with a framebuffer. It would catch the Hercules (MDA) picture,
stores it in its SRAM. The controller of that device would then grab the image and generate an 800x600 picture
with the correct timings required for the (S)VGA monitor..

All these ideas are nice, but still a bit out of reach for the poor amateur.

Another approach is what Peter described on his website.
In essence, it is a hack for Hercules clone cards (MGA or MDPA are more generic terms for the Hercules compatible card).

This modification or "hack" involves changing the onboard crystal by one of higher frequency.
The effect is similar to an overclock, so it has to be taken with care. The older chipsets might not support this at all.
If it works, however, both the v-sync/h-sync frequencies will rise. Eventually, reaching the ~31kHz range required for VGA's H-Syc.

Will it really work ?

Let's see! I'll do these modifications step by step for you.

Just relax. 😀

Best regards,
Jo22

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 1 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update. I finished making the mechanical adapter. 😀
It looks like this:

Attachments

  • mda_vga.gif
    Filename
    mda_vga.gif
    File size
    104.35 KiB
    Views
    3819 views
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 2 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update. The adapter fits. The installed card at the moment is a "Video&Printer-Karte" by Geosoft. I'll have to replace it later.

Attachments

  • adap_fit.gif
    Filename
    adap_fit.gif
    File size
    761.62 KiB
    Views
    3791 views
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 3 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update: Good news!
The mechnaical adapter seems to work. I get an "out of range" message instead of "no signal".
Video available here: https://youtu.be/H5IhQLKz1j0

Attachments

  • out_range.gif
    Filename
    out_range.gif
    File size
    280.9 KiB
    Views
    3791 views
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 4 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update: I've got found a spare Hercules clone card for testing/modifying.. 😀
Edit: The card is still in unaltered condition.

Attachments

  • adap_card.gif
    Filename
    adap_card.gif
    File size
    351.99 KiB
    Views
    3791 views
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 5 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update. Here's a close up view of the 16MHz crystal, next to the TD3088A.

Attachments

  • 16mhz.gif
    Filename
    16mhz.gif
    File size
    538.16 KiB
    Views
    3786 views
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 6 of 42, by keropi

User metadata
Rank l33t++
Rank
l33t++

Interesting but I wouldn't use that for more than just a few tests... I kinda have the feeling something will break 🤣

🎵 🎧 PCMIDI MPU , OrpheusII , Action Rewind , Megacard and 🎶GoldLib soundcard website

Reply 7 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Me, too. If it works, it can be used with an VGA to Composite box maybe.
The monitor at the end of the box would get the proper timings then (I hope so).

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 8 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update: I changed the 16MHz crystal by a ~27Mhz one from a CB radio.
The pins of the new one are slightly thicker, so I had to create an adaptor.

Attachments

  • 27mhz.gif
    Filename
    27mhz.gif
    File size
    594.57 KiB
    Views
    3767 views
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 9 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update. I tested MGA graphics with TD3088A @27MHz and three different monitors.
Results were.. negative. I expected this, however.
The author of that tutorial himself noted that it doesn't work with all clones.

Attachments

  • outrang1.gif
    Filename
    outrang1.gif
    File size
    301.17 KiB
    Views
    3747 views
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 11 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Or real mono TTL CRTs.. 😁

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 12 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update. I'll try to swap the 27MHz crystal over to the Winbond card..
Edit: This card is equipped with a 16MHz oscillator crystal and a W86855AF chip.

Attachments

  • winb_16.gif
    Filename
    winb_16.gif
    File size
    757.35 KiB
    Views
    3742 views
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 13 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update. I changed the crystal on the Winbond card by the 27MHz crystal.

Attachments

  • winb_27.gif
    Filename
    winb_27.gif
    File size
    697.25 KiB
    Views
    3738 views
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 14 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update. Unfortunately, it didn't work the second time. 😕
Perhaps the crystal is bad or the frequency to high ? Who knows ?

Interestingly, however, the CRT reports 10.2KHz/250.0Hz.
- The same frequencies it did with with the first card before..

Attachments

  • outrang2_lcd.gif
    Filename
    outrang2_lcd.gif
    File size
    1.12 MiB
    Views
    3738 views
    File license
    Fair use/fair dealing exception
  • outrang2_crt.gif
    Filename
    outrang2_crt.gif
    File size
    286.55 KiB
    Views
    3738 views
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 15 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update. I checked the crystal (quartz). It's perfectly in resonance at 27,055MHz, as far as I can tell.
I also checked 9,183MHz, as well as 13,527MHz.. No signals there (good).

So I guess I'm lucky and this one likely has its basic resonance at 27.055MHz. :D
There's just one question left - Why doesn't it work then ? Is 27MHz simply too much ?

Questions over questions.. I'm done for now, though. And I think I'll go to bed soon. (ー。ー)

Last, but not least, here's the video link: https://youtu.be/KcbKjAlmw84

This little weekend experiment was fun nevertheless. - I hope you enjoyed it, too! :D

Maybe I'll continue it (as soon as I got new ideas).

If you've got any ideas or comments, please let me know.
- Feel free to post anything straight from the heart! :)

Best regards,
Jo22

Attachments

  • 27055.gif
    Filename
    27055.gif
    File size
    1.01 MiB
    Views
    3724 views
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 16 of 42, by keropi

User metadata
Rank l33t++
Rank
l33t++

I just think that these cheap clones don't like anything else other than a 16mhz xtal....

🎵 🎧 PCMIDI MPU , OrpheusII , Action Rewind , Megacard and 🎶GoldLib soundcard website

Reply 17 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++
keropi wrote:

I just think that these cheap clones don't like anything else other than a 16mhz xtal....

Thanks, I'll keep that in mind during trouble shooting.
Luckily, I've got a card with the same chip as the author, at least. ^^

Attachments

  • winbond_chip.gif
    Filename
    winbond_chip.gif
    File size
    1.66 KiB
    Views
    3683 views
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 18 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update. Just had a close look at the adapter and noticed that the author uses pin 2 for the video.
According to the German Wikipedia that pin is used for Green or a monochrome signal.
Other sources also say that this pin is can be used for Sync on Green, too.
Now I wonder, do all VGA monitors support monochrome mode ?
Or was this only possible on early models made between the mid-80s to early 90s ?
The other pins (for RED and Blue) are set to ground.
Edit. ID bits not set to ground.

Attachments

  • schem_scribble.gif
    Filename
    schem_scribble.gif
    File size
    48.26 KiB
    Views
    3679 views
    File comment
    Schematic/wiring 9pin TTL to 15pin RGBHV (VGA)
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 19 of 42, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update. I ordered 25MHz crystals, just to be on the safe side..

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//