delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/02/13:06:41

From: "Graham Reeds" <grahamr AT dtn DOT ntl DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001129114636 DOT 10519Q-100000 AT is> <xhMV5.3698$0z DOT 50352 AT news2-win DOT server DOT ntlworld DOT com> <2593-Fri01Dec2000170725+0200-eliz AT is DOT elta DOT co DOT il> <uWYV5.5346$0z DOT 87309 AT news2-win DOT server DOT ntlworld DOT com> <9743-Sat02Dec2000104005+0200-eliz AT is DOT elta DOT co DOT il> <t37W5.492$bn DOT 14838 AT news2-win DOT server DOT ntlworld DOT com> <7704-Sat02Dec2000190402+0200-eliz AT is DOT elta DOT co DOT il>
Subject: Re: Buffering text...
Lines: 55
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <xEaW5.919$bn.26876@news2-win.server.ntlworld.com>
Date: Sat, 2 Dec 2000 17:50:42 -0000
NNTP-Posting-Host: 62.254.76.144
X-Complaints-To: abuse AT ntlworld DOT com
X-Trace: news2-win.server.ntlworld.com 975779485 62.254.76.144 (Sat, 02 Dec 2000 17:51:25 GMT)
NNTP-Posting-Date: Sat, 02 Dec 2000 17:51:25 GMT
Organization: ntlworld News Service
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message
news:7704-Sat02Dec2000190402+0200-eliz AT is DOT elta DOT co DOT il...
> > From: "Graham Reeds" <grahamr AT dtn DOT ntl DOT com>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Sat, 2 Dec 2000 13:42:15 -0000
> >
> > No, I'm running Win98SE in a DOSbox.
>
> In full-screen or in windowed mode?
>
> If it's windowed, then it might be an artifact of the way Windows
> redirects a DOS program's output to a window: it only updates the
> window several times a second.

Well I've run it in DOS as well, as well as fullscreen and it does the same
'trick'.

>
> > > What happens if you use `cputc' to output each character, instead of
> > > `cprintf'?
> >
> > Well I can't find cputc() anywhere
>
> Sorry, you are right: there is no cputc.
>
> You could use _farpokeb or dosmemput, though.

Haven't tried that - does that allow for coloring though? Does it matter or
does the hardware do it for me?

>
> > I've tried rebooting and going to DOS from bootup, but that doesn't give
any
> > different results.
>
> Can you throw together a short program that demonstrates how cprintf
> only displays the string after "\r\n"?  If you can, please post it.

Well I've put the source code to it on my site here:

http://homepage.dtn.ntl.com/grahamr/src.zip (very descriptive I know).  All
the files required to make and run the prog are there.  It doesn't quite
work yet (not actually that playable) but don't worry about that as it does
what I've programmed so far.  There is also a readme included giving an
overview of the relevant functions. Also the zip is only 5.6k big. It's just
a snapshot of the code at this present moment in time (17:46 02-12-2000).

--

Stay Lucky, Graham "Mournblade" Reeds.
ICQ No.:  30514803
http://homepage.dtn.ntl.com/grahamr


- Raw text -


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