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
|
||||
|
||||
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]
|
||||
call disk_load
|
||||
ret
|
||||
|
@ -79,8 +79,8 @@ void isr_install() {
|
||||
char *exception_messages[] = {
|
||||
"Division By Zero",
|
||||
"Debug",
|
||||
"Non Maskable Interrupt",
|
||||
"Breakpoint",
|
||||
"Non Maskable Interrupt | C",
|
||||
"Breakpoint | S",
|
||||
"Into Detected Overflow",
|
||||
"Out of Bounds",
|
||||
"Invalid Opcode",
|
||||
|
Reference in New Issue
Block a user