ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/08/03/15:38:15

From: Martin Str|mberg <ams AT speedy DOT ludd DOT luth DOT se>
Subject: Re: Writing text to screen
Newsgroups: comp.os.msdos.djgpp
References: <lwV29.271637$WJf1 DOT 95757 AT news01 DOT bloor DOT is DOT net DOT cable DOT rogers DOT com>
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha))
Message-ID: <1028401071.374940@queeg.ludd.luth.se>
Cache-Post-Path: queeg.ludd.luth.se!unknown AT speedy DOT ludd DOT luth DOT se
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)
Date: 03 Aug 2002 18:57:51 GMT
Lines: 18
NNTP-Posting-Date: 03 Aug 2002 18:57:51 GMT
NNTP-Posting-Host: queeg.ludd.luth.se
X-Trace: 1028401071 news.luth.se 439 130.240.16.109
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Brent Ritchie <britchieb212 AT rogers DOT com> wrote:
:     I just wanted to know how do I write text to the screen without using
: "cout". I am writing a Command line for my new OS and I don't want to
: re-write the C++ standard library just yet. My OS runs in protected mode so

printf()? Then you just have to rewrite the C library. Actually you
could pick some of the best parts from libc (if you ever intend to
distribute your OS then you must distibute it under the GPL if you do
this).

: I'll have to use the video memory directly. Any help appreciated.

Otherwise check out _farpokew()?


Right,

						MartinS

- Raw text -


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