Modified code from instructions.

This commit is contained in:
Jonathan Turner 2023-09-14 17:57:36 -04:00
parent dc09ee1915
commit 3b20167253
4 changed files with 4 additions and 1 deletions

BIN
Part2/A4/.DS_Store vendored

Binary file not shown.

BIN
Part2/A4/04_scroll/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -6,10 +6,13 @@ void _start() {
/* Fill up the screen */ /* Fill up the screen */
int i = 0; int i = 0;
for (i = 0; i < 24; i++) { for (i = 0; i < 30; i++) {
char str[255]; char str[255];
int_to_ascii(i, str); int_to_ascii(i, str);
kprint_at(str, 0, i); 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); kprint_at("This text forces the kernel to scroll. Row 0 will disappear. ", 60, 24);

BIN
Part2/A4/08_shell/.DS_Store vendored Normal file

Binary file not shown.