delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/07/21/14:02:48

Date: Tue, 21 Jul 92 12:09:26 -0500
From: rcharif AT math DOT utexas DOT edu
Posted-Date: Tue, 21 Jul 92 12:09:26 -0500
To: noam AT cimsim DOT berkeley DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: TANSI followup question
Reply-To: rcharif AT math DOT utexas DOT edu

    I am still wondering though if there is a way to switch back and forth between
    different screen settings (80 vs 128 columns, 44 vs 60 lines) from inside
    Demacs by sending an appropriate escape sequence?

    Any clues?

You need to switch your video card to the appropriate mode. You will
need to issue an int 0x10 request with the registers set up to the
values. You will need to call function AH = 0 : set video modes with
AL = mode number. Look in your card technical reference for the
"exotic" modes supported like 44x132.

For the instructions how to call an interrupt routine using elisp read
the demacs readme and info files.

I haven't tried that, so please let me know if it works.

Regards,
Rami El Charif

- Raw text -


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