Subversion Repositories Kolibri OS

Rev

Rev 5012 | Rev 5363 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5012 Rev 5028
Line 9... Line 9...
9
;;  KolibriOS 16-bit loader,                                    ;;
9
;;  KolibriOS 16-bit loader,                                    ;;
10
;;                        based on bootcode for MenuetOS        ;;
10
;;                        based on bootcode for MenuetOS        ;;
11
;;                                                              ;;
11
;;                                                              ;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 13... Line 13...
13
 
13
 
Line 14... Line 14...
14
$Revision: 5012 $
14
$Revision: 5028 $
15
 
15
 
16
 
16
 
Line 411... Line 411...
411
        out     0x60, al
411
        out     0x60, al
412
        xor     cx, cx
412
        xor     cx, cx
413
@@:
413
@@:
414
        in      al, 64h
414
        in      al, 64h
415
        test    al, 1
415
        test    al, 1
416
        loopnz  @b
416
        loopz   @b
417
        in      al, 0x60
417
        in      al, 0x60
Line 418... Line 418...
418
 
418
 
419
;;;/diamond today   5.02.2008
419
;;;/diamond today   5.02.2008
420
; set keyboard typematic rate & delay
420
; set keyboard typematic rate & delay
421
        mov     al, 0xf3
421
        mov     al, 0xf3
422
        out     0x60, al
422
        out     0x60, al
423
        xor     cx, cx
423
        xor     cx, cx
424
@@:
424
@@:
425
        in      al, 64h
425
        in      al, 64h
426
        test    al, 1
426
        test    al, 1
427
        loopnz  @b
427
        loopz   @b
428
        in      al, 0x60
428
        in      al, 0x60
429
        mov     al, 0
429
        mov     al, 0
430
        out     0x60, al
430
        out     0x60, al
431
        xor     cx, cx
431
        xor     cx, cx
432
@@:
432
@@:
433
        in      al, 64h
433
        in      al, 64h
434
        test    al, 1
434
        test    al, 1
435
        loopnz  @b
435
        loopz   @b
436
        in      al, 0x60
436
        in      al, 0x60
437
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
437
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
438
        sti
438
        sti
439
; --------------- APM ---------------------
439
; --------------- APM ---------------------