delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/10/23:46:37

From: Nuno DOT Felicio AT bigfoot DOT com
Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer,comp.programming,comp.arch.embedded
Subject: Printing strings in VGA 13h mode (or other graphical mode)
Date: Sat, 11 Dec 1999 02:57:51 GMT
Organization: Deja.com - Before you buy.
Lines: 23
Message-ID: <82seje$tom$1@nnrp1.deja.com>
NNTP-Posting-Host: 212.18.162.51
X-Article-Creation-Date: Sat Dec 11 02:57:51 1999 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
X-Http-Proxy: 1.0 cowry.isp.pt:8080 (Squid/2.2.STABLE3), 1.0 x38.deja.com:80 (Squid/1.1.22) for client 212.18.172.78, 212.18.162.51
X-MyDeja-Info: XMYDJUIDnfsite
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

 Hi

 Hi. How can I write a string(or a simple char) to the screen when
 I'm in graphical mode (for example, mode 13h)?
 I can't use any bios or Dos function (no interruptions).
 In other words, I've to access directly the video memory.
 I know how to "write" pixels, but how to send a char?

 I know that the card has built in font(??), but how can I use it to
 write a simple string in a certain coordinate in a screen?
 Or do I have to draw each letter I want?
 (I don't need to change the font........)

 I'm programming in C (Msc6.0) but I can use some ASM.

 Many thanks
 Nuno DOT Felicio AT bigfoot DOT com
 Greetings from Portugal.



Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


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