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:
Ivan Poddubny 2005-10-24 17:14:59 +00:00
parent cda72a8906
commit 2a96dafd9f
2 changed files with 14 additions and 3 deletions

View File

@ -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

View File

@ -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