flat assembler
Message board for the users of flat assembler.

flat assembler > Examples and Tutorials > Adjust keyboard speed, Amazing!

Author
Thread Post new topic Reply to topic
mbr_tsr



Joined: 03 Apr 2011
Posts: 4902
Code:
; fastkey.asm - speeds up (or slows down) the keyboard rate and delay
;   this will not work on PCjr's and on ROM BIOS's date before 11/15/85

Org 100h

mov     ax,0305h        ; int 16h, function 03h (05h is for non PCjr)
mov     bx,0            ; clear bx for fastest rate and least delay
int     16h

mov ax,04c00h
int 021h
    
Post 14 May 2013, 20:44
View user's profile Send private message Reply with quote
mbr_tsr



Joined: 03 Apr 2011
Posts: 4902
See an interrupt list for BH and BL values here, at first i thought BX was a delay, yet BH and BL have advanced setup configurations, so please, look into int 16h function 3 there are a lot of options, i got my keyboard to go slow.
Post 15 May 2013, 04:21
View user's profile Send private message Reply with quote
mbr_tsr



Joined: 03 Apr 2011
Posts: 4902
; SlowPoke.Prg - Slows down the keyboard rate and delay
; this will not work on PCjr's and on ROM BIOS's date before 11/15/85
; This Slows the Keyboard so Every Letter you Type Takes Ages

saddr 8000 100

mov ax 03 05
mov bx 03 1F
int 16
mov ax 4C 00
int 21

write *p SlowPoke.Com
end
Post 16 May 2013, 23:40
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 16733
Location: In your JS exploiting you and your system
Moved to Examples section.
Post 17 May 2013, 04:09
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.