R.Wieser
2020-10-13 08:47:45 UTC
Hello all,
I've made a simple 16-bit DOS program cycling thru all video-modi from 00h
upto 7Fh and output (redirected to file) the effective video modus and what
the width and height of each is (looking in the 0040:xxxx memory segment).
Which seems to work alright (I get a full list). (remark: I've already
excluded the "special" and "reserved" video modi)
But switching back to the desktop (from a full-screen DOS window) goes
wrong: All I see is a black screen with the mousepointer (which I can move),
and after a few seconds the 'puter reboots. :-(
I think I've isolated the offending video-modus to 5Ch. The problem with
it is that RBIL doesn't show that mode as being special or reserved. Also,
the output shows it being a valid modus (0040:0049) and the resolution seems
to be alright too (1920x1440)
Remark: video modus 4Dh (with the same, highest resolution) doesn't cause a
problem (though RBIL doesn't mention the returned resolution ...).
My questions:
1) Does anyone know how/why video-mode 5Ch causes XP to malfunction
2) Is there a DOS, INT10h way to check if a video-modus is acceptable other
than to try it and see the 'puter crash ?
I just realised: it could have something to do with the ammount of colors
(read: ammount of needed video memory), but a quick look doesn't show any
such info being stored in the 0040:xxxx memory segment.
Regards,
Rudy Wieser
I've made a simple 16-bit DOS program cycling thru all video-modi from 00h
upto 7Fh and output (redirected to file) the effective video modus and what
the width and height of each is (looking in the 0040:xxxx memory segment).
Which seems to work alright (I get a full list). (remark: I've already
excluded the "special" and "reserved" video modi)
But switching back to the desktop (from a full-screen DOS window) goes
wrong: All I see is a black screen with the mousepointer (which I can move),
and after a few seconds the 'puter reboots. :-(
I think I've isolated the offending video-modus to 5Ch. The problem with
it is that RBIL doesn't show that mode as being special or reserved. Also,
the output shows it being a valid modus (0040:0049) and the resolution seems
to be alright too (1920x1440)
Remark: video modus 4Dh (with the same, highest resolution) doesn't cause a
problem (though RBIL doesn't mention the returned resolution ...).
My questions:
1) Does anyone know how/why video-mode 5Ch causes XP to malfunction
2) Is there a DOS, INT10h way to check if a video-modus is acceptable other
than to try it and see the 'puter crash ?
I just realised: it could have something to do with the ammount of colors
(read: ammount of needed video memory), but a quick look doesn't show any
such info being stored in the 0040:xxxx memory segment.
Regards,
Rudy Wieser