diff --git a/Part2/.DS_Store b/Part2/.DS_Store index 9863d6d..54fa1b0 100644 Binary files a/Part2/.DS_Store and b/Part2/.DS_Store differ diff --git a/Part2/A4/.DS_Store b/Part2/A4/.DS_Store index b903815..88e3de3 100644 Binary files a/Part2/A4/.DS_Store and b/Part2/A4/.DS_Store differ diff --git a/Part2/A4/02_driver/kernel/kernel.c b/Part2/A4/02_driver/kernel/kernel.c index fc85bf5..b84dc96 100755 --- a/Part2/A4/02_driver/kernel/kernel.c +++ b/Part2/A4/02_driver/kernel/kernel.c @@ -9,6 +9,14 @@ void _start() { position = position << 8; /* high byte */ port_byte_out(0x3d4, 15); /* requesting low byte */ + + /* + Explaination: + Since the VGA output on the kernal has a set number of + positions per row. That number is 80. So by entering 80, + it goes to the first position on the second row. + Thus putting 250 is 80+80+80 (3rd row) + 10 columns over. + */ position += port_byte_in(0x3d5) + 250; /* VGA 'cells' consist of the character and its control data