From: "abacuc" Newsgroups: comp.os.msdos.djgpp Subject: Re: cursor Date: Sat, 11 Nov 2000 01:40:27 +0100 Organization: Tiscali Spa Lines: 25 Message-ID: <8ui4fh$2uc$1@lacerta.tiscalinet.it> References: <8udus7$jmh$1 AT lacerta DOT tiscalinet DOT it> <8ueg6s$qab$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <8011-Thu09Nov2000204050+0200-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: rm2-806.dialup.tiscalinet.it X-Trace: lacerta.tiscalinet.it 973903153 3020 62.11.126.102 (11 Nov 2000 00:39:13 GMT) X-Complaints-To: newsadmin AT tiscali DOT it NNTP-Posting-Date: 11 Nov 2000 00:39:13 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > It basically had a text mode only display, but used a RAM, not a ROM, > for a character generator. You can do something similar with all PC > displays with EGA or greater capability. > > When you move the cursor onto some position of the display, build a > character pixel map consisting of the character with your vertical > line merged in, and set an unused character value (perhaps 255, which > is a blank) to use this bit map. > > Hook the timer and on every fourth timer alternate between the actual > char value and the modified char value (i.e., 255), to get about a 2.5 > Hz blink rate. > > Of course you have to have coordination with your foreground display > routines. They must set a flag to tell the timer routine to stop > working during display updates, and put back the original character, > and so on. Do u know where can i find more information about this? Abacuc