delorie.com/archives/browse.cgi | search |
Message-ID: | <39C518D4.C9981D42@operamail.com> |
From: | Sahab Yazdani <sahaby AT operamail DOT com> |
Organization: | PheonixSoft Inc. |
X-Mailer: | Mozilla 4.7 [en] (Win98; I) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Text Mode C80 |
References: | <8q2o5f$hru$1 AT info DOT cyf-kr DOT edu DOT pl> <200009171721 DOT WAA01342 AT midpec DOT com> |
Lines: | 31 |
Date: | Sun, 17 Sep 2000 15:17:40 -0400 |
NNTP-Posting-Host: | 149.99.20.115 |
X-Complaints-To: | abuse AT sprint DOT ca |
X-Trace: | newscontent-01.sprint.ca 969218783 149.99.20.115 (Sun, 17 Sep 2000 15:26:23 EDT) |
NNTP-Posting-Date: | Sun, 17 Sep 2000 15:26:23 EDT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Prashant TR wrote: [snip] > | Does somebody know, how to set text mode C80 80x25 color ? > > You can do this: > > __dpmi_regs regs; > regs.x.ax = 0x13; > __dpmi_int (0x10, ®s); wont this go into 320X200X256 colour graphics mode?? I believe if you want to set the text mode then you must do this: __dpmi_regs regs; regs.x.ax = 0x03; __dpmi_int (0x10, ®s); > > Make sure you include <dpmi.h> > > -- > Prashant TR <tr AT midpec DOT com> > Web: http://www.midpec.com/ -- *********************************************************** * Sahab Yazdani * "Remember, I'm the monkey and you're the* * Thornhill S.S * cheese grater. So no messing around." * *********************************************************** * http://pheonixsoft.virtualave.net/ * ***********************************************************
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |