Clarify comment

This commit is contained in:
Nero 2019-04-14 15:30:29 +00:00
parent ac8e07d5ce
commit 4b9d6da85c

View File

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