Mail Archives: djgpp/2000/12/02/13:06:41
"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 -