VOGONS


First post, by anthim

User metadata
Rank Newbie
Rank
Newbie

Today I was reading Wikipedia article about Leading Edge Model D and I find the following quote quite peculiar

The Model D computers support a special extended graphics mode (EGA): 640x200

As far as I understand it is 640x200 in 16 colors which is unusual given that Model D uses MC6845. I searched archive.org and there are a few docs about Model D but nothing explaining 640x200x16 mode. Do have any clues how this is possible? Does it mean that MC6845 has undocumented functionality?

Reply 2 of 11, by mkarcher

User metadata
Rank l33t
Rank
l33t
anthim wrote on 2023-01-27, 17:52:

As far as I understand it is 640x200 in 16 colors which is unusual given that Model D uses MC6845. I searched archive.org and there are a few docs about Model D but nothing explaining 640x200x16 mode. Do have any clues how this is possible? Does it mean that MC6845 has undocumented functionality?

The MC6845 ist not everything that makes a graphics card. Look at the IBM MDA or CGA: Those cards are full-sized cards, with the MC6845 on it. The kind of modes available depends on the electronics around the MC6845 much more than on the MC6845 itself. For example, the MC6845 doesn't know anything about colors at all. The job of the MC6845 is to provide the general sequence flow for displaying text screen. While the MC6845 was not made for graphic modes, building a graphic card based on the MC6845 is not that difficult, as the CGA card shows.

The MC6845 performs the following duties per "character" on the screen:

  • it outputs the address of the current character, so that external logic can retrieve the character from video memory. The first address is freely programmable.
  • it outputs the number of the scanline inside the current character, so external logic can retrieve the shape of the current scanline of the current character from a character generator ROM.
  • it outputs a signal, whether the text cursor is to be displayed at the current position, so external logic can generate a cursor.
  • it outputs a signal whether characters should be displayed or the electron beam is currently outside of the display area. External logic uses this signal to disable generating character signals, and possibly generating a fixed "overscan color" instead.
  • it outputs horizontal and vertical sync signals that can be directly forwarded to the monitor. If external logic generates a non-black overscan color, typically the overscan is inhibited while any sync signal (horizontal or vertical) is active, to suppress "retrace lines" on the screen when the electron beam passes the visible area during beam retrace.

In the case of the CGA card a "character" is worth two bytes of video memory: In text mode, those bytes contain one character byte and one attribute byte. In 320x200 graphics mode, those bytes contain 8 pixels of 2 bits each, and in 640x200 mode, those bytes contain 16 pixels of 1 bit each. This allows the CRTC to run in a similar configuration in graphics modes (at least for the horizontal timing) as it uses in 40x25 text mode. This also explains why the "snow" issue of the CGA is limited to the 80x25 text mode: In that mode, the CRTC runs twice as fast than in all other modes (which is no issue fpr the CRTC at all), but in consequence, video memory is accessed (by the external logic) twice as often. In the CGA design, this means 100% of the video memory bandwidth is required for the CRTC to refresh the screen during the active display period. As the CGA card provides a horizontal sync period of around 64 microseconds (with an active display period of around 40µs), but the ISA bus may not be stalled longer than 16 microseconds, blocking video memory access until the display period is over was not possible, so the CGA designers decided that if there is a processor cycle pending, this cycle is performed instead of the cycle required for correct screen refresh. The result is that the screen refresh logic receives data from the location accessed by the processor, not data from the location required for correct screen refresh. This inappropriate data causes incorrect display, which is perceived as snow.

The Leading Edge Model D obviously contains more powerful, and likely higher integrated logic around the MC6845, which enables it to generate more advanced video modes.

EDIT: improved wording

Last edited by mkarcher on 2023-07-30, 19:51. Edited 1 time in total.

Reply 5 of 11, by rmay635703

User metadata
Rank Oldbie
Rank
Oldbie
copper wrote on 2023-07-30, 19:28:

Did anyone ever get this to work? In particular, can you run actual lowres EGA games with the integrated graphics and a CGA monitor?

It’s not EGA so it won’t work.

If the 8 bit guy decided to support the proprietary 16 color CGA mode you might have one or two modern games that work

Reply 7 of 11, by Jo22

User metadata
Rank l33t++
Rank
l33t++

The Model D computers support a special extended graphics mode (EGA): 640x200

The Schneider/Amstrad PC1512 has such a special 640x200 16c mode, too.
PCem/86Box support that machine model.

http://dosdays.co.uk/computers/Amstrad%20PC10 … trad_pc1000.php

"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 11, by Benedikt

User metadata
Rank Oldbie
Rank
Oldbie
Jo22 wrote on 2023-08-31, 19:44:
The Schneider/Amstrad PC1512 has such a special 640x200 16c mode, too. PCem/86Box support that machine model. […]
Show full quote

The Model D computers support a special extended graphics mode (EGA): 640x200

The Schneider/Amstrad PC1512 has such a special 640x200 16c mode, too.
PCem/86Box support that machine model.

http://dosdays.co.uk/computers/Amstrad%20PC10 … trad_pc1000.php

Wasn't the PC1512's VDU an Amstrad ASIC, though?

Reply 9 of 11, by Jo22

User metadata
Rank l33t++
Rank
l33t++
Benedikt wrote on 2023-08-31, 20:28:
Jo22 wrote on 2023-08-31, 19:44:
The Schneider/Amstrad PC1512 has such a special 640x200 16c mode, too. PCem/86Box support that machine model. […]
Show full quote

The Model D computers support a special extended graphics mode (EGA): 640x200

The Schneider/Amstrad PC1512 has such a special 640x200 16c mode, too.
PCem/86Box support that machine model.

http://dosdays.co.uk/computers/Amstrad%20PC10 … trad_pc1000.php

Wasn't the PC1512's VDU an Amstrad ASIC, though?

Yes, I think so.

My comment wasn't meant to imply that it has any relationship to the Motorola CRTC.
Sorry about not being a bit clearer here, I guess I'm simply thinking in a different way in such cases. 😅

It just game to mind, since the PC1512 is (or was) being considered to have Super CGA capabilities, as well.

So I thought it would be helpful to know. Those few games supporting the PC1512 might be candidates for patching-'in' Leading Edge support.
Their game assets and engines might be 640x200 16c friendly already.

Edit: What also comes to mind - some EGA games like Zeliard or Thexder (?) do use EGA in 640x200 16c, too.
Maybe they could be made to support Leading Edge Model-D graphics, too?
Not exactly sure how their video memory organization works, though.
I'm not even really sure about its EGA mode number (0eh?).

Edit: I've seen this picture at vcfed.org..
It shows that the Leading Edge Model D reports "The Leading Edge Model D with Enhanced Video BIOS".
So maybe there's a video mode for that special mode available, similar to how it is with EGA/VGA BIOS?
Maybe CompuShow 2000 (2Show) has support for it ?

Attachments

  • n8J49yI.png
    Filename
    n8J49yI.png
    File size
    680.37 KiB
    Views
    587 views
    File comment
    picture by Patrick.B (TTR)
    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 11, by Jo22

User metadata
Rank l33t++
Rank
l33t++
rmay635703 wrote on 2023-09-02, 03:59:

Isnt there one leading edge specific graphical program launcher that came with the system and ran in the proprietary 16 color CGA mode?

Could examine it.

Yes, there is. The DIAGNOSE program has a video test for 640x200 16c mode.
That's what the manual says at 3-23.

Edit: Found a disk image, but haven't had a close look at it, yet. Hopefully it's helpful. 🙂🤞

"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//