Subversion Repositories Kolibri OS

Rev

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

Rev 1018 Rev 1025
Line 53... Line 53...
53
;;
53
;;
54
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
54
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 55... Line 55...
55
 
55
 
Line 56... Line 56...
56
include 'macros.inc'
56
include 'macros.inc'
Line 57... Line 57...
57
 
57
 
Line 58... Line 58...
58
$Revision: 1018 $
58
$Revision: 1025 $
Line 567... Line 567...
567
	mov   al,0x2e		   ; msb
567
	mov   al,0x2e		   ; msb
568
	out   0x40,al
568
	out   0x40,al
Line 569... Line 569...
569
 
569
 
570
; Enable timer IRQ (IRQ0) and hard drives IRQs (IRQ14, IRQ15)
570
; Enable timer IRQ (IRQ0) and hard drives IRQs (IRQ14, IRQ15)
-
 
571
; they are used: when partitions are scanned, hd_read relies on timer
-
 
572
; Also enable IRQ2, because in some configurations
571
; they are used: when partitions are scanned, hd_read relies on timer
573
; IRQs from slave controller are not delivered until IRQ2 on master is enabled
572
	mov	al, 0xFE
574
	mov	al, 0xFA
573
	out	0x21, al
575
	out	0x21, al
574
	mov	al, 0x3F
576
	mov	al, 0x3F
Line 575... Line 577...
575
	out	0xA1, al
577
	out	0xA1, al