Completed Part2: 06_irq.
This commit is contained in:
parent
213ccdc08b
commit
64f416f456
BIN
Part2/A4/06_irq/.DS_Store
vendored
BIN
Part2/A4/06_irq/.DS_Store
vendored
Binary file not shown.
BIN
Part2/A4/06_irq/boot/.DS_Store
vendored
Normal file
BIN
Part2/A4/06_irq/boot/.DS_Store
vendored
Normal file
Binary file not shown.
@ -28,7 +28,7 @@ load_kernel:
|
|||||||
call print_nl
|
call print_nl
|
||||||
|
|
||||||
mov bx, KERNEL_OFFSET ; Read from disk and store in 0x1000
|
mov bx, KERNEL_OFFSET ; Read from disk and store in 0x1000
|
||||||
mov dh, 16 ; Our future kernel will be larger, make this big
|
mov dh, 48 ; Our future kernel will be larger, make this big
|
||||||
mov dl, [BOOT_DRIVE]
|
mov dl, [BOOT_DRIVE]
|
||||||
call disk_load
|
call disk_load
|
||||||
ret
|
ret
|
||||||
|
@ -79,8 +79,8 @@ void isr_install() {
|
|||||||
char *exception_messages[] = {
|
char *exception_messages[] = {
|
||||||
"Division By Zero",
|
"Division By Zero",
|
||||||
"Debug",
|
"Debug",
|
||||||
"Non Maskable Interrupt",
|
"Non Maskable Interrupt | C",
|
||||||
"Breakpoint",
|
"Breakpoint | S",
|
||||||
"Into Detected Overflow",
|
"Into Detected Overflow",
|
||||||
"Out of Bounds",
|
"Out of Bounds",
|
||||||
"Invalid Opcode",
|
"Invalid Opcode",
|
||||||
|
Reference in New Issue
Block a user