diff --git a/Part2/A4/.DS_Store b/Part2/A4/.DS_Store index 9cca856..c628423 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 b01709f..050e51c 100755 --- a/Part2/A4/02_driver/kernel/kernel.c +++ b/Part2/A4/02_driver/kernel/kernel.c @@ -9,11 +9,11 @@ void _start() { position = position << 8; /* high byte */ port_byte_out(0x3d4, 15); /* requesting low byte */ - position += port_byte_in(0x3d5) + 10; + position += port_byte_in(0x3d5); /* VGA 'cells' consist of the character and its control data * e.g. 'white on black background', 'red text on white bg', etc */ - int offset_from_vga = position * 2; + int offset_from_vga = position * 2.3; /* Now you can examine both variables using gdb, since we still * don't know how to print strings on screen. Run 'make debug' and @@ -27,6 +27,6 @@ void _start() { /* Let's write on the current cursor position, we already know how * to do that */ char *vga = (char *) 0xb8000; - vga[offset_from_vga] = 'X'; - vga[offset_from_vga+1] = 0x0f; /* White text on black background */ + vga[offset_from_vga+10] = 'X'; + vga[offset_from_vga+11] = 0x0f; /* White text on black background */ } diff --git a/Part2/A4/05_basic_int/.DS_Store b/Part2/A4/05_basic_int/.DS_Store new file mode 100644 index 0000000..0933e7e Binary files /dev/null and b/Part2/A4/05_basic_int/.DS_Store differ diff --git a/Part2/A4/06_irq/.DS_Store b/Part2/A4/06_irq/.DS_Store new file mode 100644 index 0000000..b23acb6 Binary files /dev/null and b/Part2/A4/06_irq/.DS_Store differ diff --git a/Part2/Instructions/~$3502F0432_Project_Part1_2.docx b/Part2/Instructions/~$3502F0432_Project_Part1_2.docx deleted file mode 100644 index 09348d9..0000000 Binary files a/Part2/Instructions/~$3502F0432_Project_Part1_2.docx and /dev/null differ