butjer1010 wrote on 2025-07-20, 15:12:
here is the picture i get on EGA screen. Maybe now it is the time to work again on DIP switch?
That's actually great news. Given the symptoms I was not surprised that removing U17 fixed the broken BIOS, but I was afraid that not U17 itself was broken, but the PAL controlling U17. Replacing a PAL with an unknown program in it is way harder than replacing a standard logic chip. So now the interface between the computer and the EGA, including video memory, seems to work perfectly.
butjer1010 wrote on 2025-07-20, 15:57:Definitely the card works now with new 244N in U17!!!!! You are all geniuses, but You already knew that 😉
Now i need DIP switch settings, because i can see the letters, but it is out of frequency!
The horizontal frequency is only slightly off. I wonder whether the HSYNC signal is missing and the monitor is oscillating unsynchronized and nearly hits the standard frequency. Your last photo (with the boot text from DOS) seems to be in CGA-compatible 80-column text mode with 200 scan lines and an 8x8 font. This doesn't really match standard EGA switch settings, though.
butjer1010 wrote on 2025-07-20, 15:57:Definitely the card works now with new 244N in U17!!!!! You are all geniuses, but You already knew that 😉
From first 4 switches, it works most stable with only switch 2 ON, but work with SW1 on, but the pic is more out of freq....Faster the letters are "spinning"
Now i need to guess the combination of other 4 SW, if this is the SW setting on this EGA card (as everybody said here in first messages: 1-4 for graphics mode EGA, CGA, MDA,..., 5-8 for freqs i guess)
I don't think you can separate "frequency" from "mode". You also can't fine-tune the frequencies of that card. The card has just 4 frequencies: 14.318MHz taken straight from the ISA bus, and 16.257, 25.000 and 27.256 MHz from the three crystal oscillators on the card. The BIOS of your card contains code that reads 4 switches just as you would do on a standard EGA card, so 4 of those eight switches are very likely identical to the IBM switches. The IBM switches are not about selecting "graphics modes" like EGA, CGA or MDA, but their primary purpose is to select the monitor type, so the EGA card can output the required frequency. The IBM EGA card does not behave exactly like an CGA or MDA card, so programs that do direct low-level programming to those cards, e.g. to set custom modes, will fail on a standard EGA card. That's where the extra functionality of your card kicks in: You card is supposed to emulate CGA, Hercules and MDA on a register level well enough that most programs that manually set up CGA modes work perfectly with it. As there is no BIOS support for Hercules at all, every Hercules graphics program also manually programs the Hercules registers, which will fail on standard IBM-compatible EGA cards.
If I understand it correctly, your card can emulate MDA and Hercules on a register level, at least with an MDA-type monitor (~18kHz) connected. It also can emulate CGA, and the extended Plantronics CGA variant, at least if a CGA monitor (15.6kHz) or an EGA monitor (15.6kHz / ~21kHz dual frequency) is connected. Furthermore, the key feature of the Paradise AutoSwitch EGA card is that it can switch to CGA register level emulation automatically if a CGA-like mode is selected and switch back to native EGA mode as soon as an EGA 16-color graphics mode is selected. "AutoSwitch" likely is an optional feature, so the extra switches need to set up whether the EGA card should autoswitch, if it should boot in CGA emulation mode (for color monitors) or MDA/Hercules emulation mode (for MDA-type monitors), and possibly also whether it is allowed to leave emulation mode, or if it stays "locked" in emulation mode.
As your monitor worked well with a EGA/VGA card in EGA mode, I assume your monitor is able to synchronize both 21kHz and 15.6kHz. The monitor can deduce whether it should operate in 21kHz (350 line) or 15.6kHz (200 line) mode by looking at the wave form of some sync signal, IIRC the vertical one. Even without a sync input, the monitor will oscillate at around 21kHz or 15.6kHz, so that's why I suppose that the real issue is that this card does not output any horizontal sync signal at all. Vertical sync seems to be fine. You can try to follow the traces from pin 8 of the monitor jack to see where HSYNC is supposed to come from. I suppose it is either U32 or U34 via RP1. HSYNC is supposed to be "active high" in all modes supported by an EGA monitor, which means that the signal is normally low with short high pulses at the end of each line. If you attach a digital voltmeter to that signal, I would expect an average voltage of 0.7V to 1.2V, probably lower while the RESET button is pushed. If the voltage at the HSYNC output is below 0.3V or above 3V, HSYNC likely is broken and needs troubleshooting next.