Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #952

MS-DOS direct screen output - native and in a window

From "James Harris" <james.harris.1@gmail.com>
Newsgroups comp.os.msdos.programmer
Subject MS-DOS direct screen output - native and in a window
Date 2013-08-29 10:10 +0100
Organization A noiseless patient Spider
Message-ID <kvn372$vnt$1@dont-email.me> (permalink)

Show all headers | View raw


Basic question: Is there a "good" way for DOS direct screen writes to be 
handled?

From what I have found so far MS-DOS programmers are expected to use BIOS 
services for screen writes. That is surprising but it is OK as it stands. 
However, how should things like the screen size (rows and columns) be 
determined? I know there is a BIOS call int 0x10-0f to get the columns but 
not the rows.

Furthermore, under Windows the display size could even be changed as the 
program runs.

I have seen programs that force a window to a specific mode/size (and kill 
the scrollback buffer at the same time). Possibly they are "real" MS-DOS 
programs...? ;-)

Is there any standard or recommended way for programs to carry out direct 
screen writes (i.e. to arbitrary parts of the screen) that works in pure 
MS-DOS but also works well under Windows?

James

Back to comp.os.msdos.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

MS-DOS direct screen output - native and in a window "James Harris" <james.harris.1@gmail.com> - 2013-08-29 10:10 +0100
  Re: MS-DOS direct screen output - native and in a window "R.Wieser" <address@not.available> - 2013-08-29 12:58 +0200
  Re: MS-DOS direct screen output - native and in a window "Bill Buckels" <bbuckels@mts.net> - 2013-08-29 05:59 -0500
    Re: MS-DOS direct screen output - native and in a window "Bill Buckels" <bbuckels@mts.net> - 2013-08-29 07:23 -0500
      Re: MS-DOS direct screen output - native and in a window "Bill Buckels" <bbuckels@mts.net> - 2013-08-29 08:35 -0500
  Re: MS-DOS direct screen output - native and in a window "Ed" <invalid@invalid.com> - 2013-09-28 20:34 +1000
    Re: MS-DOS direct screen output - native and in a window pete@nospam.demon.co.uk - 2013-09-29 06:45 +0000
      Re: MS-DOS direct screen output - native and in a window "Ed" <invalid@invalid.com> - 2013-09-29 19:33 +1000
        Re: MS-DOS direct screen output - native and in a window "James Harris" <james.harris.1@gmail.com> - 2013-09-29 16:06 +0100
          Re: MS-DOS direct screen output - native and in a window "Ed" <invalid@invalid.com> - 2013-10-01 11:28 +1000

csiph-web