Subversion Repositories Kolibri OS

Rev

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

Rev 2049 Rev 2050
Line 66... Line 66...
66
;;
66
;;
67
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
67
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 68... Line 68...
68
 
68
 
Line 69... Line 69...
69
include 'macros.inc'
69
include 'macros.inc'
Line 70... Line 70...
70
 
70
 
Line 71... Line 71...
71
$Revision: 2049 $
71
$Revision: 2050 $
Line 990... Line 990...
990
.bll1:  in      al, 0x60        ; wait for ESC key press
990
.bll1:  in      al, 0x60        ; wait for ESC key press
991
        cmp     al, 129
991
        cmp     al, 129
992
        jne     .bll1
992
        jne     .bll1
993
end if
993
end if
Line 994... Line -...
994
 
-
 
995
 
-
 
996
; UNMASK ALL IRQ'S
-
 
997
 
-
 
998
;        mov   esi,boot_allirqs
-
 
999
;        call  boot_log
-
 
1000
;
-
 
1001
;        cli                          ;guarantee forbidance of interrupts.
-
 
1002
;        mov   al,0                   ; unmask all irq's
-
 
1003
;        out   0xA1,al
-
 
1004
;        out   0x21,al
-
 
1005
;
-
 
1006
;        mov   ecx,32
-
 
1007
;
-
 
1008
;     ready_for_irqs:
-
 
1009
;
-
 
1010
;        mov   al,0x20                ; ready for irqs
-
 
1011
;        out   0x20,al
-
 
1012
;        out   0xa0,al
-
 
1013
;
-
 
1014
;        loop  ready_for_irqs         ; flush the queue
994
 
1015
         cli                          ;guarantee forbidance of interrupts.
995
        cli                                     ;guarantee forbidance of interrupts.
1016
	stdcall enable_irq, 2		; @#$%! PIC
996
        stdcall enable_irq, 2                   ; @#$%! PIC
1017
   	     stdcall enable_irq, 6		; FDD
997
        stdcall enable_irq, 6                   ; FDD
1018
	     stdcall enable_irq, 13		; co-processor
-
 
1019
 
998
        stdcall enable_irq, 13                  ; co-processor
1020
        stdcall attach_int_handler_ex, 1, irq1, 0
-
 
1021
;        mov    [dma_hdd],1
999
        stdcall attach_int_handler_ex, 1, irq1, 0
1022
        cmp     [IDEContrRegsBaseAddr], 0
1000
        cmp     [IDEContrRegsBaseAddr], 0
1023
        setnz   [dma_hdd]
1001
        setnz   [dma_hdd]
Line 1024... Line 1002...
1024
        mov [timer_ticks_enable],1              ; for cd driver
1002
        mov [timer_ticks_enable],1              ; for cd driver
Line 3787... Line 3765...
3787
     cmp   dword [ecx], 0
3765
     cmp   dword [ecx], 0
3788
     jne   ril1
3766
     jne   ril1
Line 3789... Line 3767...
3789
 
3767
 
Line 3790... Line 3768...
3790
     mov   ebx, [f_irqs + 4 * eax]
3768
     mov   ebx, [f_irqs + 4 * eax]
Line 3791... Line 3769...
3791
 
3769
 
Line 3792... Line 3770...
3792
     stdcall attach_int_handler, eax, ebx, dword 0
3770
     stdcall attach_int_handler_ex, eax, ebx, dword 0
3793
 
3771