delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/26/14:53:23

Date: Mon, 27 Dec 1999 00:08:44 +0500 (MVT)
From: Prashant TR <prashant_tr AT yahoo DOT com>
To: matej DOT baric AT guest DOT arnes DOT si
cc: djgpp AT delorie DOT com
Subject: Re: writing directly to video card
In-Reply-To: <99122700022100.01070@yahoo>
Message-ID: <Pine.LNX.4.10.9912270004050.1189-100000@yahoo.com>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Matej wrote:

> 
> > _farpokeb(_dos_ds, 0xb8000+25*80*2, ascii value of character);
> > _farpokeb(_dos_ds, 0xb8000+25*80*2+1, attribute you want);
> 
> humm... it doesn't recognize that _dos_ds, it tells me that it is
> undeclared... I have included the <sys/farptr.h> . what should I do?
> thanks,
> Matej
> 

Include go32.h. I should be
_farpokeb(_dos_ds, 0xb8000+25*80*2-2, ascii)...

Prashant

- Raw text -


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