Remove PIC initialization

This commit is contained in:
Jeremy Soller
2017-02-11 20:50:41 -07:00
parent 7639aef32e
commit eb3de2861b
2 changed files with 0 additions and 27 deletions
-23
View File
@@ -53,26 +53,3 @@ initialize:
;or al, 0x40
;out 0x71, al
ret
.pic: ;sets up IRQs at int 20-2F
mov al, 0x11
out 0x20, al
out 0xA0, al
mov al, 0x20 ;IRQ0 vector
out 0x21, al
mov al, 0x28 ;IRQ8 vector
out 0xA1, al
mov al, 4
out 0x21, al
mov al, 2
out 0xA1, al
mov al, 1
out 0x21, al
out 0xA1, al
xor al, al ;no IRQ masks
out 0x21, al
out 0xA1, al
mov al, 0x20 ;reset PIC's
out 0xA0, al
out 0x20, al
ret
-4
View File
@@ -86,10 +86,6 @@ finished_loading:
call printrm
call initialize.pit
mov si, init_pic_msg
call printrm
call initialize.pic
mov si, startup_arch_msg
call printrm