diff --git a/Part2/A4/.DS_Store b/Part2/A4/.DS_Store index 88e3de3..3c99228 100644 Binary files a/Part2/A4/.DS_Store and b/Part2/A4/.DS_Store differ diff --git a/Part2/A4/04_scroll/.DS_Store b/Part2/A4/04_scroll/.DS_Store new file mode 100644 index 0000000..3fb9b9f Binary files /dev/null and b/Part2/A4/04_scroll/.DS_Store differ diff --git a/Part2/A4/04_scroll/kernel/kernel.c b/Part2/A4/04_scroll/kernel/kernel.c index 1da8a16..aaa2bc7 100755 --- a/Part2/A4/04_scroll/kernel/kernel.c +++ b/Part2/A4/04_scroll/kernel/kernel.c @@ -6,10 +6,13 @@ void _start() { /* Fill up the screen */ int i = 0; - for (i = 0; i < 24; i++) { + for (i = 0; i < 30; i++) { char str[255]; int_to_ascii(i, str); kprint_at(str, 0, i); + for( int j = 0; j < 100000000; ++j) { + ; + } } kprint_at("This text forces the kernel to scroll. Row 0 will disappear. ", 60, 24); diff --git a/Part2/A4/08_shell/.DS_Store b/Part2/A4/08_shell/.DS_Store new file mode 100644 index 0000000..7012265 Binary files /dev/null and b/Part2/A4/08_shell/.DS_Store differ