From: "Alexander Russell" Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer,comp.programming,comp.arch.embedded Subject: Re: Printing strings in VGA 13h mode (or other graphical mode) Date: Fri, 10 Dec 1999 21:14:50 -0800 Organization: Uniserve Lines: 39 Message-ID: <944889277.5710@neptune.uniserve.ca> References: <82seje$tom$1 AT nnrp1 DOT deja DOT com> X-Complaints-To: newsabuse AT supernews DOT com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Cache-Post-Path: neptune.uniserve.ca!204.244.158.187 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com If you cannot not use ANY interrupts, you will have to make your own fonts and draw them, pixel by pixel. An easy way to get fonts is boot up dos and copy the fonts in the BIOS roms. Some sample code to read fonts from the bios, under dos from a standdard vga, is in in common.zip at http://users.uniserve.com/~alexad3 The same site has a dos programming course that covers fonts in graphics modes. wrote in message news:82seje$tom$1 AT nnrp1 DOT deja 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.