Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. ; SET KEYBOARD PARAMETERS
  2.         mov   al, 0xf6         ; reset keyboard, scan enabled
  3.         call  kb_write
  4.  
  5.         ; wait until 8042 is ready
  6.         xor ecx,ecx
  7.       @@:
  8.         in     al,64h
  9.         and    al,00000010b
  10.         loopnz @b
  11.  
  12.        ; mov   al, 0xED       ; svetodiody - only for testing!
  13.        ; call  kb_write
  14.        ; call  kb_read
  15.        ; mov   al, 111b
  16.        ; call  kb_write
  17.        ; call  kb_read
  18.  
  19.         mov   al, 0xF3       ; set repeat rate & delay
  20.         call  kb_write
  21. ;        call  kb_read
  22.         mov   al, 0 ; 30 250 ;00100010b ; 24 500  ;00100100b  ; 20 500
  23.         call  kb_write
  24. ;        call  kb_read
  25.      ;// mike.dld [
  26.         call  set_lights
  27.      ;// mike.dld ]
  28.  
  29.