From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: to del a window ... Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: 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> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 62 X-Trace: +Li/tQqh2MRKhVU3WRitIY2sda5kUoDTF0wMmA3hQNyusLORg5TclcvN1iGMHLTBYzUXExV/ftHq!2zHxhyx/Sw8JymrQ4o+UKNCKgNYgqDmYPb7zr6mAyRf/HlXyjbVQ7P0UkvS+T4G6jB7P9Qsig66y!Aa0= 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: Sun, 23 Jul 2000 04:46:50 GMT Distribution: world Date: Sun, 23 Jul 2000 04:46:50 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sun, 23 Jul 2000 00:46:36 +0100, Jason Green wrote: >Damian Yerrick wrote: > >> >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. > >I wasn't suggesting you could do this in production code. So how do I locate high-resolution text modes in production code, e.g. for a 132 column capable terminal emulator or a Turbo Vision on steroids? >> >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. > >Yes, but how? Set to mode 0x12 and read the vertical timing values (see a VGA reference for location). Then poke those vertical timing values into the same registers in an 80x50 text mode. >> >> 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). > >> >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. > >Ahem, it matters very much if you want to work in DOS with more than >50 lines. I'm not suggesting that 3-pixel chars would be of any use; >just curious as to how the command line behaves. I haven't tried. I put a "reset text mode" call into the atexit() queue, similar to what Allegro does. After all, I treat it as a graphics mode. >The Linux console can be switched to 80x60 with standard VGA. So I am >suggesting that we could do this too, assuming command.com doesn't get >upset by more than 50 lines. I assume it doesn't, as long as BIOS doesn't. -- 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/