forked from KolibriOS/kolibrios
Bugfixes
1) Bug in task switching (0xffff = 1 without task switch) 2) Bug with IRQ6 (floppy) - "call fdc_irq" was deleted earlier git-svn-id: svn://kolibrios.org@11 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
cda72a8906
commit
2a96dafd9f
@ -83,7 +83,7 @@ irq0:
|
||||
cmp [0xffff],byte 0
|
||||
je .switch
|
||||
dec byte [0xffff]
|
||||
jmp @f
|
||||
jz @f
|
||||
.switch:
|
||||
jmp pword [0xB000]
|
||||
inc [context_counter] ;noname & halyavin
|
||||
|
@ -319,7 +319,7 @@ macro irqh [num]
|
||||
jmp irq_c
|
||||
}
|
||||
|
||||
irqh 2,3,4,5,6,7,8,9,10,11,12,14,15
|
||||
irqh 2,3,4,5,7,8,9,10,11,12,14,15
|
||||
|
||||
irq_c:
|
||||
push ds es
|
||||
@ -330,7 +330,18 @@ irqh 2,3,4,5,6,7,8,9,10,11,12,14,15
|
||||
pop es ds
|
||||
popad
|
||||
iret
|
||||
|
||||
|
||||
p_irq6:
|
||||
pushad
|
||||
push ds es
|
||||
mov ax, os_data
|
||||
mov ds, ax
|
||||
mov es, ax
|
||||
call fdc_irq
|
||||
pop es ds
|
||||
popad
|
||||
iret
|
||||
|
||||
irqD:
|
||||
pushad
|
||||
push ds es
|
||||
|
Loading…
Reference in New Issue
Block a user