Subversion Repositories Kolibri OS

Rev

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

Rev 3797 Rev 3964
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: 3797 $
14
$Revision: 3964 $
15
 
15
 
16
 
16
 
Line 431... Line 431...
431
        mov     ax, 0xB103
431
        mov     ax, 0xB103
432
        mov     ecx, 1*10000h + 1*100h + 0x8A
432
        mov     ecx, 1*10000h + 1*100h + 0x8A
433
        mov     [es:BOOT_IDE_PI_16], cx
433
        mov     [es:BOOT_IDE_PI_16], cx
434
        xor     si, si  ; device index = 0
434
        xor     si, si  ; device index = 0
435
        int     0x1A
435
        int     0x1A
436
        jnc     .found_1 ; Parallel IDE Controller
436
        jnc     .found ; Parallel IDE Controller
437
; Controller not found!
437
; Controller not found!
438
        xor     ax, ax
438
        xor     ax, ax
439
        mov     [es:BOOT_IDE_PI_16], ax
439
        mov     [es:BOOT_IDE_PI_16], ax
440
        jmp     .nopci
440
        jmp     .nopci
441
;--------------------------------------
441
;--------------------------------------