Date: Fri, 10 Nov 2000 12:20:30 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Jack Klein Message-Id: <2593-Fri10Nov2000122030+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: (message from Jack Klein on Fri, 10 Nov 2000 04:52:43 GMT) Subject: Re: cursor 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> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Jack Klein > Newsgroups: comp.os.msdos.djgpp > Date: Fri, 10 Nov 2000 04:52:43 GMT > > > > You mean, turn off the BIOS cursor and draw a character instead of it? > > That's quite tedious, especially if you want the cursor to blink. > > 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. This is possible on a PC today as well. > 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. This is what I call ``tedious''. > The last few versions of the Norton Utilities for DOS offered text > mode "graphics" including an arrow mouse pointer as an option on > computers with an EGA or higher, which was much more complicated. > Even though the mouse pointer was the size of a text character, they > allowed it to move pixel-by-pixel, which means it could be covering > varying parts of up to four characters at any given time. The mouse pointer is a different beast, we were talking about the text cursor.