Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.msdos.programmer > #3915
| From | wolfgang kern <nowhere@never.at> |
|---|---|
| Newsgroups | comp.os.msdos.programmer |
| Subject | Re: INT 10h, AH=00h, AL=5Ch crashes XP - why ? |
| Date | 2020-10-13 15:07 +0200 |
| Organization | KESYS-development |
| Message-ID | <rm4907$90e$1@gioia.aioe.org> (permalink) |
| References | <rm3pju$t0h$1@gioia.aioe.org> |
On 13.10.2020 10:47, R.Wieser wrote:
> 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
1) it's VENDOR specific:
INT_10_00__
5Ch = T 100x37 8x16 NEL Electronics BIOS
= G 640x400 256 Logix, ATI Prism Elite
= G 640x400 256 Maxxon, SEFCO TVGA, Imtec
= G 80x25 8x16 640x400 256/256K A000 Zymos Poach, Hi Res 512
= G 80x25 8x16 640x400 256/256K A000 Trident TVGA 8800/8900
= G 80x30 8x16 640x480 256 Genoa 6400
= G 80x30 8x16 640x480 32K A000 Oak OTI-077 chipset [8]
= G 100x75 8x8 800x600 256 A000 NCR 77C22 [9]
= G 100x75 8x8 800x600 256/256K A000 WD90C
= G 100x75 8x8 800x600 256/256K A000 Diamond Speedstar 24X
= G 100x37 8x16 800x600 256/256K A000 Cirrus CL-GD5420/5422/5426
and perhaps your graphic chip doesn't have it.
2) VESA is your friend here, it can list all available modes and also if
asked it reports in deep detail what a certain mode is able to do.
look at INT 10_4F_00...
__
wolfgang
Back to comp.os.msdos.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
INT 10h, AH=00h, AL=5Ch crashes XP - why ? "R.Wieser" <address@not.available> - 2020-10-13 10:47 +0200
Re: INT 10h, AH=00h, AL=5Ch crashes XP - why ? wolfgang kern <nowhere@never.at> - 2020-10-13 15:07 +0200
Re: INT 10h, AH=00h, AL=5Ch crashes XP - why ? "R.Wieser" <address@not.available> - 2020-10-13 18:38 +0200
Re: INT 10h, AH=00h, AL=5Ch crashes XP - why ? JJ <jj4public@gmail.com> - 2020-10-14 08:32 +0700
Re: INT 10h, AH=00h, AL=5Ch crashes XP - why ? "R.Wieser" <address@not.available> - 2020-10-14 10:50 +0200
Re: INT 10h, AH=00h, AL=5Ch crashes XP - why ? JJ <jj4public@gmail.com> - 2020-10-15 11:53 +0700
Re: INT 10h, AH=00h, AL=5Ch crashes XP - why ? "R.Wieser" <address@not.available> - 2020-10-15 11:24 +0200
csiph-web