🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5081

Re: Speed up cursor

#5081
From: John B. Miezitis
Date: Mon, 11 Mar 1991 02:02
38 lines
2315 bytes
>In article <1991Mar5.074742.6657@watdragon.waterloo.edu> shikida@lion.uwaterloo.ca
>  (Steve Hikida) writes:
>I was wondering if anyone knows how (preferably source however I wouldn't
>mind an .exe/.com too) to speed up the cursor SAFELY (i.e. read that as
>"so no program will barf out")?  WIN3 seems to do, and actually leaves
>the cursor "FAST" when it returns to DOS.  Any help would be greatly
>appreciated!

The following is an extract from Ralph Brown's Interrupt list:-

INT 16 - KEYBOARD - SET DELAYS (Jr,AT model 339,XT286,PS)
        AH = 03h
        AL = subfunction
            00h reset typematic (PCjr)
            01h increase initial delay (PCjr)
            02h increase continuing delay (PCjr)
            03h increase both delays (PCjr)
            04h turn off typematic (PCjr)
            05h Set typematic rate (AT or PS/2)
        BH = 00h - 03h for delays of 250ms, 500ms, 750ms, or 1s
        BL = 00h - 1Fh for typematic rates of 30cps down to 2cps

If you are using Turbo C then a call to
int86( interrupt_number, reg_struct, reg_struct) would do the trick. If
anyone wants more information I can mail you the source code I used to set
my keyboard typematic rates.

Cheers..
_______________________________________________________________________________
John. B. Miezitis. University of Tasmania Computing Centre
email: johnm@diemen.cc.utas.edu.au | Belgium man Belgium!!!
_______________________________________________________________________________

--
_______________________________________________________________________________
John B Miezitis University of Tasmania Computing Centre.
email: johnm@diemen.cc.utas.edu.au | Belgium man Belgium!!!
_______________________________________________________________________________
Technical Details
Message-ID: <johnm.668656976@bowen>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!diemen!bowen!johnm
References: <1991Mar5.074742.6657@watdragon.waterloo.edu> <1991Mar5.130948.21268@granite.cr.bull.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!diemen!bowen!johnm
From: johnm@bowen.cc.utas.edu.au (John B. Miezitis)
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.misc
Subject: Re: Speed up cursor
Keywords: cursor, DOS
Message-ID: <johnm.668656976@bowen>
Date: 11 Mar 91 02:02:56 GMT
References: <1991Mar5.074742.6657@watdragon.waterloo.edu> <1991Mar5.130948.21268@granite.cr.bull.com>
Sender: news@diemen.utas.edu.au
Followup-To: comp.os.msdos.programmer
Lines: 38