🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
2 messages
2 total messages Started by John Navas Wed, 27 Jan 1993 00:15
WHY OS/2 DOESN'T SUPPORT
#3692
Author: John Navas
Date: Wed, 27 Jan 1993 00:15
50 lines
3269 bytes
johnw@wixer.cactus.org (john winthrop) writes:

 > There are two main reasons that os/2 doesn't support VGA (and SVGA)
 > modes in a window...
 > first, (s)vga modes  take up a lot of memory (up to 1 meg
 > generally, newer cards use even more memory).... To support
 > virtualized vga modes would mean that os/2 would have to have at
 > least that much memory available FOR EACH WINDOW! This would eat up
 > resources faster than godzilla could trample Tokyo.

With all due respect, I'm afraid I don't buy that argument.  The
shadow memory required for a standard VGA 640x480x16 graphics screen
is only 150Kb; for SVGA 800x600x16 it's only 235Kb.  True, it's easier
to shadow the entire video buffer, but it's not strictly necessary.
Even so, 256Kb, which is not a very big deal, is adequate to
virtualize standard VGA 640x480x16 graphics; i.e., 4 virtualized VGA
graphics applications would require a total of only 1Mb of shadow
memory.  ( yawn :)

In fact, OS/2 allocates a full shadow buffer of up to 1Mb for every
full-screen DOS application, so that it can save the display when that
application is switched to the background.  So the amount of shadow
memory is not really an important factor.

 > Second, most vga modes use bit planes.  For those not familiar with
 > bit planes, they are simply a mechanism for accessing more than one
 > byte of video memory at a time, by compromising on whether you want
 > to access one pixel color on the screen, or access a group of
 > pixels quickly.
 > One write to a bit plane could update several bytes of video
 > memory, which would recquire os/2 to modify those bytes in its own
 > bufffer.  The result would be the speed of the original apple ][...
 > Much of the success of vga is due to the fact that it is so quick
 > to do pixel writes and copies.

Again, with all due respect I don't buy that argument.  DESQview
virtualizes standard VGA 640x480x16 "bit plane" graphics in a window
or in the background with acceptable performance.  If DESQview can do
it, there's no reason OS/2 shouldn't be able to do at least as well.
Although 640x480x16 would certainly be enough to satisfy me,
supporting 800x600x16 wouldn't be all that much harder.

Best regards,
John
                                                                                       
----
+------------------------------------------------------------------------+
| The Transfer Station BBS (510) 837-4610 & 837-5591 (V.32bis both lines)|
| Danville, California, USA. 400+ MB Files & FREE public Internet Access |
+------------------------------------------------------------------------+
Re: WHY OS/2 DOESN'T SUPPORT
#3683
Author: James Lawrence Weinkam
Date: Thu, 28 Jan 1993 10:02
33 lines
2051 bytes
john.navas@uttsbbs.uucp (John Navas)  writes:

>With all due respect, I'm afraid I don't buy that argument.  The
>shadow memory required for a standard VGA 640x480x16 graphics screen
>is only 150Kb; for SVGA 800x600x16 it's only 235Kb.  True, it's easier
>to shadow the entire video buffer, but it's not strictly necessary.
>Even so, 256Kb, which is not a very big deal, is adequate to
>virtualize standard VGA 640x480x16 graphics; i.e., 4 virtualized VGA
>graphics applications would require a total of only 1Mb of shadow
>memory.  ( yawn :)

>In fact, OS/2 allocates a full shadow buffer of up to 1Mb for every
>full-screen DOS application, so that it can save the display when that
>application is switched to the background.  So the amount of shadow
>memory is not really an important factor.

Agreed.

>Again, with all due respect I don't buy that argument.  DESQview
>virtualizes standard VGA 640x480x16 "bit plane" graphics in a window
>or in the background with acceptable performance.  If DESQview can do
>it, there's no reason OS/2 shouldn't be able to do at least as well.
>Although 640x480x16 would certainly be enough to satisfy me,
>supporting 800x600x16 wouldn't be all that much harder.

640x480x16 should not be too difficult, but I would say that 800x600x16
would be quite difficult each display card type does this in a different
way.  There is no single standard for 800x600x16.  The highest resolution
that is a VGA standard is 640x480x16.  They should however be able to
create some sort of mechanism to simulate a SVGA mode, but it would
require a lot more work.

James Weinkam
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads