delorie.com/archives/browse.cgi | search |
From: | "Valkir" <jfd50 AT videotron DOT ca> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <8424q2$ocr$1 AT planja DOT arnes DOT si> |
Subject: | Re: writing directly to video card |
Lines: | 31 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2314.1300 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
Message-ID: | <sm594.1267$BY.38046@wagner.videotron.net> |
Date: | Sat, 25 Dec 1999 10:04:02 -0500 |
NNTP-Posting-Host: | 24.200.143.153 |
X-Complaints-To: | abuse AT videotron DOT net |
X-Trace: | wagner.videotron.net 946135576 24.200.143.153 (Sat, 25 Dec 1999 10:26:16 EST) |
NNTP-Posting-Date: | Sat, 25 Dec 1999 10:26:16 EST |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Matej <matej DOT baric AT guest DOT arnes DOT si> wrote in message news:8424q2$ocr$1 AT planja DOT arnes DOT si... > hello, > 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? > Thanks, > Matej > > 0xB800 is the addy so 2 byte per car: 1 is the ascii code, the other is the attribute attribute is bit 7: blink /not 6-5-4 the background 3-2-1-0 the color 80 car/25 line 4000 byte per sheet so uchar *Video = 0xB800; *(Video+x+y*160)='A'; *(Video+x+y*161)=0<<8+1<<4+13; will put an A not blinking of background blue? and color maybe pink?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |