Date: Sat, 25 Dec 1999 23:55:59 +0500 (MVT) From: Prashant TR 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: <99122523492100.00729@yahoo> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > can someone point me to any tutorial (or just tell me here what to do) if I > want to do something similar to functions in conio.h? e.g. I'd like to fill > the last character on the screen (80*25) so that it wouldn't jump into next > line? _farpokeb(_dos_ds, 0xb8000+25*80*2, ascii value of character); _farpokeb(_dos_ds, 0xb8000+25*80*2+1, attribute you want); (untested code) But for mono, the base address would be 0xb0000, rather than 0xb8000. If you plan to write an entire screen at once, you could store these details in a buffer and use dosmemput to write evertything at once onto the video memory. Hope this helps! Prashant