diff --git a/Part2/A4/07_timers/boot/bootsect.bin b/Part2/A4/07_timers/boot/bootsect.bin new file mode 100644 index 0000000..3bdf970 Binary files /dev/null and b/Part2/A4/07_timers/boot/bootsect.bin differ diff --git a/Part2/A4/07_timers/boot/kernel_entry.o b/Part2/A4/07_timers/boot/kernel_entry.o new file mode 100644 index 0000000..05e8c66 Binary files /dev/null and b/Part2/A4/07_timers/boot/kernel_entry.o differ diff --git a/Part2/A4/07_timers/cpu/idt.o b/Part2/A4/07_timers/cpu/idt.o new file mode 100644 index 0000000..cbc1a9b Binary files /dev/null and b/Part2/A4/07_timers/cpu/idt.o differ diff --git a/Part2/A4/07_timers/cpu/interrupt.o b/Part2/A4/07_timers/cpu/interrupt.o new file mode 100644 index 0000000..9569f56 Binary files /dev/null and b/Part2/A4/07_timers/cpu/interrupt.o differ diff --git a/Part2/A4/07_timers/cpu/isr.o b/Part2/A4/07_timers/cpu/isr.o new file mode 100644 index 0000000..02fa030 Binary files /dev/null and b/Part2/A4/07_timers/cpu/isr.o differ diff --git a/Part2/A4/07_timers/cpu/timer.o b/Part2/A4/07_timers/cpu/timer.o new file mode 100644 index 0000000..0a7a49e Binary files /dev/null and b/Part2/A4/07_timers/cpu/timer.o differ diff --git a/Part2/A4/07_timers/drivers/keyboard.o b/Part2/A4/07_timers/drivers/keyboard.o new file mode 100644 index 0000000..095bf31 Binary files /dev/null and b/Part2/A4/07_timers/drivers/keyboard.o differ diff --git a/Part2/A4/07_timers/drivers/ports.o b/Part2/A4/07_timers/drivers/ports.o new file mode 100644 index 0000000..fcd6826 Binary files /dev/null and b/Part2/A4/07_timers/drivers/ports.o differ diff --git a/Part2/A4/07_timers/drivers/screen.o b/Part2/A4/07_timers/drivers/screen.o new file mode 100644 index 0000000..be5044f Binary files /dev/null and b/Part2/A4/07_timers/drivers/screen.o differ diff --git a/Part2/A4/07_timers/kernel.bin b/Part2/A4/07_timers/kernel.bin new file mode 100755 index 0000000..e74ef9e Binary files /dev/null and b/Part2/A4/07_timers/kernel.bin differ diff --git a/Part2/A4/07_timers/kernel/kernel.c b/Part2/A4/07_timers/kernel/kernel.c index a555696..e0f4ad5 100755 --- a/Part2/A4/07_timers/kernel/kernel.c +++ b/Part2/A4/07_timers/kernel/kernel.c @@ -6,7 +6,9 @@ void _start() { isr_install(); asm volatile("sti"); - init_timer(50); + /* init_timer(50); */ + /* init_timer(1000); */ + init_timer(10); /* Comment out the timer IRQ handler to read * the keyboard IRQs easier */ init_keyboard(); diff --git a/Part2/A4/07_timers/kernel/kernel.o b/Part2/A4/07_timers/kernel/kernel.o new file mode 100644 index 0000000..5de7b3f Binary files /dev/null and b/Part2/A4/07_timers/kernel/kernel.o differ diff --git a/Part2/A4/07_timers/kernel/util.o b/Part2/A4/07_timers/kernel/util.o new file mode 100644 index 0000000..9cceac1 Binary files /dev/null and b/Part2/A4/07_timers/kernel/util.o differ diff --git a/Part2/A4/07_timers/os-image.bin b/Part2/A4/07_timers/os-image.bin new file mode 100644 index 0000000..cadeaab Binary files /dev/null and b/Part2/A4/07_timers/os-image.bin differ