Modified code from instructions.
This commit is contained in:
parent
dc09ee1915
commit
3b20167253
BIN
Part2/A4/.DS_Store
vendored
BIN
Part2/A4/.DS_Store
vendored
Binary file not shown.
BIN
Part2/A4/04_scroll/.DS_Store
vendored
Normal file
BIN
Part2/A4/04_scroll/.DS_Store
vendored
Normal file
Binary file not shown.
@ -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);
|
||||
|
BIN
Part2/A4/08_shell/.DS_Store
vendored
Normal file
BIN
Part2/A4/08_shell/.DS_Store
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user