Set up interrupt table at startup directly (less code), not calling setint
This commit is contained in:
parent
94829aed1e
commit
bbfcd42f61
@ -244,14 +244,12 @@ init: cli
|
|||||||
call select
|
call select
|
||||||
|
|
||||||
; Set int 0x20 to 0x2F
|
; Set int 0x20 to 0x2F
|
||||||
mov bx, ivects+0x7C00-$$
|
mov di, (0x20*4)
|
||||||
|
mov si, ivects+0x7C00-$$
|
||||||
mov cx, 0x10
|
mov cx, 0x10
|
||||||
mov al, 0x20
|
.loop: movsw
|
||||||
.loop: mov dx, [bx]
|
mov ax, cs
|
||||||
call setint
|
stosw
|
||||||
inc al
|
|
||||||
inc bx
|
|
||||||
inc bx
|
|
||||||
loop .loop
|
loop .loop
|
||||||
|
|
||||||
mov si, banner
|
mov si, banner
|
||||||
|
Loading…
Reference in New Issue
Block a user