Thread View: alt.msdos.programmer
3 messages
3 total messages
Started by NEASE
Sun, 12 Aug 1990 19:03
Detecting display type (in assembler)
Author: NEASE
Date: Sun, 12 Aug 1990 19:03
Date: Sun, 12 Aug 1990 19:03
11 lines
859 bytes
859 bytes
I'm looking for a clean, safe way to determine what kind of display is being
used on a PC or PS/2 type machine. ie: I want to know if there is either no
display adapter, or monochrome, or cga, ega, vga colour, vga paperwhite, mcga,
pga. I don't care which brand of card it is... I'm not worrying about whether
the Vga chip set is Tseng or CHIPS, or ... I'm trying to do this in
assembler. Any ideas out there?
thanks in advance
Reid M. Pinchback
Re: Detecting display type (in assembler)
Author: Frotz
Date: Mon, 13 Aug 1990 17:39
Date: Mon, 13 Aug 1990 17:39
15 lines
1157 bytes
1157 bytes
NEASE@MAINE.BITNET writes: ]I'm looking for a clean, safe way to determine what kind of display is being ]used on a PC or PS/2 type machine. ie: I want to know if there is either no ]display adapter, or monochrome, or cga, ega, vga colour, vga paperwhite, mcga, ]pga. I don't care which brand of card it is... I'm not worrying about whether ]the Vga chip set is Tseng or CHIPS, or ... I'm trying to do this in ]assembler. Any ideas out there? Pick up the latest interrupt list on simtel20. INTER490.ZIP is the filename you are looking for. It is what I detailed the current PCcurses 1.5 beta release hardware detection (all in C) on. -- Frotz
Re: Detecting display type (in assembler)
Author: Jeff A Anderson
Date: Thu, 16 Aug 1990 02:04
Date: Thu, 16 Aug 1990 02:04
2 lines
622 bytes
622 bytes
If you want to discover what the display mode is, check memory location 0040h:0049h. It is a byte that defines the current display mode.
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