🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1871

Re: Switching between screen modes

#1871
From: Markus Fischer
Date: Tue, 14 Aug 1990 10:34
39 lines
2464 bytes
In article <482@demott.COM>, kdq@demott.COM (Kevin D. Quitt) writes:
>     I am using MSC 6.0, and need to reliably switch between several screen
> modes:  80x25 text, 80x43 text, 40x25 text, and (640x350) graphics mode.
> Getting to 43 line mode is no problem, but getting back out of it is - MSC's
> library dos not accomplish this properly.
> 
>     Does someone have working code that can reliably switch (for example)
> from 80x43 text to 40x25 mode?
> 
> -- 
>  _
> Kevin D. Quitt         demott!kdq   kdq@demott.com
> DeMott Electronics Co. 14707 Keswick St.   Van Nuys, CA 91405-1266
> VOICE (818) 988-4975   FAX (818) 997-1190  MODEM (818) 997-4496 PEP last
> 
>                 96.37% of all statistics are made up.

I'm no assembler wizard, but if you are, you could take a look at nnansi.zoo
(at SIMTEL20, for example).  If nnansi.sys (as a replacement of ansi.sys)
works in your configuration, then you could implement the routines in an
*.asm external, or maybe even translate them to c ?  (By the way, you can, of
course, use nnansi as-is (i.e. load the driver), and use the provided escapes
sequences, but I guess you need something more portable...)

The package includes source files, and is copyrighted:
      (C) 1986 Daniel Kegel, Pasadena, CA
      [later] Modified Tom Almy
but it can be distributed for educational use.  I guess we're allowed to
learn something from it!

I hope somebody posts a more direct solution...

Markus Fischer                -|--|--|--|--|--|--I   Department of Anthropology
                        -|--|--|--|--|--|--|-(#)-I   University of Geneva
      -|--|--|--|--|--|--|--|--|-(#)-|-(#)(#)(_)-I   CH-1227  Carouge (GE)
   -&-(_)-|--|--|-(#)-&--|-(#)(#)(_)(#)-&-(_)(#)-I   Switzerland
            -|--|--|--|--|-(#)(_)-|-(_)(_)(_)(#)-I
black (#) to kill ! --|--|-(#)(_)(_)(_)(#)(#)(_)(_)  fisher@sc2a.unige.ch
=+==+==+==+==+==+==+==+==+==+==+==+==+==+==+=(#)=+   fisher@cgeuge52.bitnet
Technical Details
Message-ID: <223@sc2a.unige.ch>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!usc!cs.utexas.edu!yale!mintaka!bloom-beacon!eru!luth!sunic!mcsun!cernvax!chx400!ugun2b!ugsc2a!fisher
References: <482@demott.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!usc!cs.utexas.edu!yale!mintaka!bloom-beacon!eru!luth!sunic!mcsun!cernvax!chx400!ugun2b!ugsc2a!fisher
From: fisher@sc2a.unige.ch (Markus Fischer)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Switching between screen modes
Message-ID: <223@sc2a.unige.ch>
Date: 14 Aug 90 10:34:45 GMT
References: <482@demott.COM>
Followup-To: alt.msdos.programmer
Organization: University of Geneva, Switzerland
Lines: 39