Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!oddjob!gargoyle!ihnp4!homxb!mtuxo!mtune!codas!cpsc6a!cpsc6b!crs From: crs@cpsc6b.cpsc6a.att.com (Chris (The Home of the Killer Smiley) Seaman) Newsgroups: comp.sys.ibm.pc Subject: Re: How to turn off cursor? Message-ID: <428@cpsc6b.cpsc6a.att.com> Date: Thu, 19-Nov-87 14:35:51 EST Article-I.D.: cpsc6b.428 Posted: Thu Nov 19 14:35:51 1987 Date-Received: Sun, 22-Nov-87 10:26:03 EST References: <2065@killer.UUCP> <5060014@hpccc.HP.COM> <3639@uw-june.UUCP> Organization: AT&T (CPSC), Oakland, CA Lines: 36 Summary: Try this one... In article <3639@uw-june.UUCP>, marty@uw-june.UUCP (Marty Sirkin) writes: < In article <5060014@hpccc.HP.COM>, kevino@hpccc.HP.COM (Kevin Owen) writes: < >> I need a little help...how in the world, using BIOS interrupts, do I turn < >> off the cursor? < < Actually you can. Check out pg. 92 (and the related pages) in Norton. You < can do it in both Monochrome and color text. < < Marty Sirkin I don't know what Norton says, but it seems to me that there is an easy way: 1) Set register ah to 1 (The 'set cursor attributes' function) 2) Set register cl to some value (The 'cursor end line' value) Note: it is assumed that you will set it to a logical value. 3) Set register ch to a LARGER value than cl (The 'cursor start line' value) 4) Call int 10h (The video interrupt). This should effectively 'turn off' the cursor. It might be advisable to use the 'get cursor attributes' function (ah = 3) of int 10h before using the above steps. That way you can remember the previous start and end lines of the cursor (they will be returned in ch and cl, respectively). Hope this is of some help. -- Chris Seaman | o\ /o crs@cpsc6a.att.com | || See "Attack of the Killer Smiley"! ..!ihnp4!cpsc6a!crs | \vvvvvv/ Coming Soon to a newsgroup near you! | \____/