| delorie.com/archives/browse.cgi | search | 
| From: | "Beat Studer" <beat_studer AT bluewin DOT ch> | 
| Newsgroups: | comp.os.msdos.djgpp | 
| Subject: | Re: dos color ? | 
| Date: | Thu, 15 Jun 2000 19:01:47 +0200 | 
| Organization: | Swisscom AG, the blue window | 
| Lines: | 24 | 
| Message-ID: | <8ib26j$839$1@bw107zhb.bluewin.ch> | 
| References: | <kra15.6974$iy DOT 531598 AT bgtnsc06-news DOT ops DOT worldnet DOT att DOT net> <8i9140$fcp$1 AT bw107zhb DOT bluewin DOT ch> <200006150224 DOT HAA01147 AT midpec DOT com> | 
| NNTP-Posting-Host: | bei179pub182.bluewin.ch | 
| X-Trace: | bw107zhb.bluewin.ch 961088531 8297 195.186.179.182 (15 Jun 2000 17:02:11 GMT) | 
| X-Complaints-To: | newsmaster AT bluewin DOT ch | 
| NNTP-Posting-Date: | 15 Jun 2000 17:02:11 GMT | 
| X-Priority: | 3 | 
| X-MSMail-Priority: | Normal | 
| X-Newsreader: | Microsoft Outlook Express 5.00.2919.6700 | 
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6700 | 
| To: | djgpp AT delorie DOT com | 
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp | 
| Reply-To: | djgpp AT delorie DOT com | 
Hi! for not being mistaken: I used that bit of code for a standalone com-file, clears the screen with the colors you set ( just liked having a DOS-Prompt with my colors...). In C-Progs, the library-functions that come with djgpp are the right choice I think. "Prashant TR" <tr AT midpec DOT com> wrote in message news:200006150224 DOT HAA01147 AT midpec DOT com... ----- (clipped) | > mov ah, 02h ;function to set cursor | > mov bh, 0 ;video page | > mov dx, 0 ;DH=row, DL=column | > int 10h | > ret ----- | IMHO, this is *not* a good idea. This is ideal for real mode | programs. You can never be sure that the "INT 10" will be passed to | real mode. Some extenders support it, some don't. The best way to do | this is to use __dpmi_int. | | Prashant
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |