GDT Works?!

git-svn-id: https://spexeah.com:8443/svn/Asuro@30 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron committed 2017-05-16 18:18:59 +00:00
1 parent 372c5ef010
commit 7da445635c
8 files changed
+9

No files matched your search

BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+9
View File
@@ -34,6 +34,15 @@ begin
util.halt_and_catch_fire;
end;
console.clear();
console.writestring('If this reads "0x8" then we have a GDT: ');
asm
MOV dds, CS
end;
console.setdefaultattribute(console.combinecolors(Red, Black));
if dds = $08 then console.setdefaultattribute(console.combinecolors(Green, Black));
console.writehexln(dds);
util.halt_and_catch_fire;
console.setdefaultattribute(console.combinecolors(Green, Black));
console.writestringln('Asuro Booted Correctly!');
console.writestringln('');