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
|
cmp [0xffff],byte 0
|
||||||
je .switch
|
je .switch
|
||||||
dec byte [0xffff]
|
dec byte [0xffff]
|
||||||
jmp @f
|
jz @f
|
||||||
.switch:
|
.switch:
|
||||||
jmp pword [0xB000]
|
jmp pword [0xB000]
|
||||||
inc [context_counter] ;noname & halyavin
|
inc [context_counter] ;noname & halyavin
|
||||||
|
@ -319,7 +319,7 @@ macro irqh [num]
|
|||||||
jmp irq_c
|
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:
|
irq_c:
|
||||||
push ds es
|
push ds es
|
||||||
@ -330,7 +330,18 @@ irqh 2,3,4,5,6,7,8,9,10,11,12,14,15
|
|||||||
pop es ds
|
pop es ds
|
||||||
popad
|
popad
|
||||||
iret
|
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:
|
irqD:
|
||||||
pushad
|
pushad
|
||||||
push ds es
|
push ds es
|
||||||
|
Loading…
Reference in New Issue
Block a user