www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/06/21:45:16.1

From: Jerzy Klejnowski <dziabol AT polbox DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: _mono... functions don't work
Date: Sat, 07 Oct 2000 03:35:57 +0200
Organization: samotnik w swoim zamku
Lines: 21
Message-ID: <39DE7DFD.A11117D6@polbox.com>
References: <39DBC1FD DOT F9E5AB44 AT polbox DOT com> <200010051647 DOT MAA12723 AT envy DOT delorie DOT com>
NNTP-Posting-Host: pc12.wroclaw.ppp.tpnet.pl
Mime-Version: 1.0
X-Trace: news.tpi.pl 970882573 11822 212.160.40.12 (7 Oct 2000 01:36:13 GMT)
X-Complaints-To: usenet AT tpi DOT pl
NNTP-Posting-Date: 7 Oct 2000 01:36:13 GMT
X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> It's intentional.  That module was written by me, for me.

Sorry for 'buggy behaviour', then. I simply assumed that _mono
routines work on entire screen area. A little note in library
reference could help to avoid confusion. There is yet another
thing that puzzles me: after printf("\n") cursor moves to 1st
column on the next line, but _mono_printf("\n") moves cursor
down, without changing column. Why?

> Since the _mono routines are intended for debugging, this isn't a big
> problem.  If you want to do full-screen stuff, you'd either write
> directly to memory (that's faster anyway) or switch to mode 7 so that
> stdout goes to the mono screen.

Indeed, I wanted to use them for debugging and wrote few routines
with similar functionality as _mono functions, using _farsetsel and
_farnspokeb. Can I use _farsetsel safely inside irq handler? Should
I restore previous selector after that?



- Raw text -


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