Re: SNAP and 1920x1200 resolution...



James J. Weinkam schrieb:
Marty wrote:
James J. Weinkam wrote:
The fact that the windowed session works fine after going through these maneuvers shows that there is nothing fundamentally wrong with the video device or its drivers; rather there must be some sort of configuration problem in the windowed DOS object or a bug in the code that launches windowed DOS and WINOS2 sessions. Once the windowed session is working, the DOS settings that can be examined and changed dynamically are still the same as those of the DOS window object.

My guess would be that the video BIOS starts up the video hardware in a really weird mode. OS/2 will call the BIOS routine and emulate as many functions and modes as it supports in VSVGA.SYS when you start the DOS session. If during this process, an unsupported video mode or video BIOS call is used, OS/2 will halt the DOS session until you switch to full screen mode. When you do, the video BIOS is free to run on real hardware, and probably transitions through this unsupported mode back into the standard 80x25 text mode. Once you reach this standard mode, it's ok to switch back to windowed mode because OS/2 can support it.

I don't see why this should be a problem. As I understand it, there is a component of OS/2 called a virtual DOS machine that emulates a standalone PC running some version of DOS. It is reenterable allowing several DOS sessions to run simultaneously. Each VDM instance can be in either fullscreen or windowed mode. It seems to me that it would be instances running in fullscreen mode that would get into trouble trying to deal directly with the latest hardware, while the windowed sessions would only have problems if other OS/2 VIO sessions also had similar trouble since the emulator displays in the window using the same standard os/2 API calls that other VIO sessions use. Is this true or am I missing something?

A similar thing happens when you play some old DOS games which do some strange programming directly to the video hardware, or some SVGA games. The unusual thing here is that the strange mode is encountered before you even get out of the initial base video handler.

Additional experiments revealed that the time it takes to switch from fullscreen to windowed using Alt-Home varies depending on what else is on the desktop at the time. If there is nothing else on the desktop or only open folders, the switch is virtually instantaneous; however if there are any open sessions, even minimized, then the switch requires about 10 seconds.

Is your CPU pegged during this time? Is the DOS window itself constantly consuming CPU time? It sounds like your DOS priority and idle sensitivity settings may need to be adjusted.

Can't tell because in fullscreen mode the CPU meter doesn't appear. However, investigation revealed that that was the reason for the slow switch from fullscreen to windowed. I forgot to set idle seconds and idle sensitivity after installing RC6a. I hadn't noticed until now since I normally launch the few DOS applications that I still use from ZTree using startd, and idle seconds and idle sensitivity are properly set for those sessions from startd's DOS.INI file. For the current round of experiments I was clicking on the objects in the command prompts folder which I don't normally do.
Sometimes DOS do not work with ACPI cause ACPI uses APIC to enable high IRQs which DOS can not handle. Using ACPI with /PIC solves this problem here.

Andi
.



Relevant Pages

  • Re: DOS windowed session not working
    ... this was another seen thing on this 'new' Depot serviced mainboard I'm dealing with DOS VDM irregularities in an earlier thread here. ... I noticed that although the Scitech video configuration window did have all the screen font change options and color depth selection, the monitor selection panel was blank. ... So in reading the complete installation notes for MCP2 that you can get from the help pane in the troubleshooting, ...
    (comp.os.os2.bugs)
  • Re: CMD/DOS problems
    ... It uses a borland video driver. ... with XP's dos rules is documented, I just know how it handles VESA. ... Can it run in a window. ...
    (microsoft.public.windowsxp.general)
  • Re: Still cant suppress the "Dos window" when executing GUI
    ... I followed exactly the demo shown in this video: ... 'Dos' window still appears. ... you seem to have a serious installation problem... ...
    (comp.soft-sys.matlab)
  • Still cant suppress the "Dos window" when executing GUI
    ... My Matlab version is R2008a. ... I followed exactly the demo shown in this video: ... 'Dos' window still appears. ...
    (comp.soft-sys.matlab)
  • Re: playing video on second display
    ... Option A (assumes player skin present on monitor, just no video showing up): ... Here's one way to get a video fullscreen on one monitor & the WMP window ... Vista has an updated display model which is more reliant on DirectX ... Possibly there would be similar settings supplied by the setup for ...
    (microsoft.public.windowsmedia)