delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/22/19:45:58

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: to del a window ...
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <jh8knsc8l8cug1i6oef1t0fgnrrgm773hi@4ax.com>
References: <8l80r8$10t$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <1gcfns4pgdgaqemjt0299qa1075n3tej81 AT 4ax DOT com> <200007210844 DOT LAA20461 AT mailgw1 DOT netvision DOT net DOT il> <kasgnscvpbd67p2klnpivul26ev826v29i AT 4ax DOT com> <m83jns0b20u8uqu332jlujemcuq35h3qtv AT 4ax DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 49
X-Trace: +rTuht6SrhvYlit7e/vD760ept6nyMQmeIYYrLCkgJQAZ6HW4/utilqZ8OJhiN2JaPdnsRKEq0Bc!LxH76OvcresaHLrGiaFDOZ09RkkQM1qYtOMZ0n7gCP7RyIpFyElNaBRYhLCWEMaJXycLSOhu41Jf!rmU=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Sat, 22 Jul 2000 22:49:04 GMT
Distribution: world
Date: Sat, 22 Jul 2000 22:49:04 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sat, 22 Jul 2000 13:07:29 +0100, Jason Green
<news AT jgreen4 DOT fsnet DOT co DOT uk> wrote:

>void set_video_mode(int mode)
>{
>  __dpmi_regs regs;
>  regs.x.ax = mode & 0xFF;
>  __dpmi_int(0x10, &regs);
>}
>
>If you cycle through possible values of mode and use conio functions
>to get the screen dimensions you will probably find all sorts of weird
>text modes that your card is capable of.  Some modes will cause
>lock-ups, so it's best to log the results to a file and open/close it
>between each mode switch, and be prepared for reboots.

I don't think users will be prepared for reboots.

>However, there is one mode that would be a useful addition to DJGPP,
>if someone could work out how to implement it.  80x60 chars is listed
>in the Linux LILO docs as one of the standard VGA text modes and is
>achieved using a 640x480 pixel variation of the 80x50 char text mode
>(normally 640x400 pixels).

Try 80x50 mode with the 640x480 mode's vertical timing values.
Look up 

>Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p> wrote:
>
>> I know 80x117 can be done with EGA and standard VGA (go to 350
>> scanline text mode and knock the character height down to 3
>> scanlines).
>
>Out of interest, what possible use is a 3 pixel high font?

Splitting each character in half horizontally with character 222 gives
a 160x117 pseudo-graphical mode with square pixels.

>Does the DOS command line behave itself if you switch to this mode?

I switch back to 80x25 or 80x50 on close; it doesn't matter.

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019