From: Jeff Weeks Newsgroups: comp.os.msdos.djgpp Subject: Re: output of numerals... Date: Thu, 11 Sep 1997 21:42:28 -0400 Organization: Code X Software Lines: 31 Message-ID: <34189E04.675B2306@execulink.com> References: <01bcbe1d$08dd9680$770760c3 AT default> NNTP-Posting-Host: ppp9.mars.execulink.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Olmeca wrote: > > How to put out numerals in the 13h mode in DJGPP??? > In textmode it is printf("%d",numeral), but what is it in the graphic > mode??? > Thanks for tips... Try printf("%d", numeral) :) VGA modes still reflect 0xB8000 (the text mode memory area) so no change is necessary. Although maybe that's the BIOS that does that... which means perhaps DJGPP won't. I don't know... but try it anyway, if might work. Somehow I guess you've already tried that though, or else you wouldn't be typing this message. However, just in case... > chromesNOSPAM AT hotmail DOT com > Remove NOSPAM to mail me. Umm... you may want to actually change you RETURN TO address! :) Spammers can get your email address through the messages headers as well as the message body. The above won't help for the former. Jeff -------------------------------------------- - Code X Software - Programming to a Higher Power email: mailto:pweeks AT execulink DOT com web: http://www.execulink.com/~pweeks/ --------------------------------------------