diff --git a/kernel/intr.asm b/kernel/intr.asm index 9b47b31..fbe2403 100644 --- a/kernel/intr.asm +++ b/kernel/intr.asm @@ -32,14 +32,14 @@ intr_init: mov es, ax ; write to IVT mov si, ax ; read from start of IVT table mov di, 0x0100 ; write to offset of int 0x40 address - mov cx, 0x0020 ; 0x10 interrupts, segment:offset each + mov cx, 0x0020 ; 0x10 vectors, segment:offset each repe movsw ; now setup our own handlers mov ax, cs mov ds, ax ; read from local segment mov si, intr_table ; read from intr_table mov di, 0x0000 ; write to start of IVT table - mov cx, 0x0010 ; 0x10 interupts, one offset each + mov cx, 0x0010 ; 0x10 vectors, one offset each .loop: movsw ; read offset, write offset mov ax,cs