git-svn-id: https://spexeah.com:8443/svn/Asuro@467 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c

This commit is contained in:
kieron 2018-04-10 15:04:34 +00:00
parent 83f1dc04b6
commit 904588d072
46 changed files with 19 additions and 4 deletions

BIN
Asuro.iso

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(0)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(0));
end; end;
BSOD('DBZ', 'Divide By Zero Exception.');
console.writestringln('Divide by Zero Exception.'); console.writestringln('Divide by Zero Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(1)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(1));
end; end;
BSOD('DE', 'Debug Exception');
console.writestringln('Debug Exception.'); console.writestringln('Debug Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(10)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(10));
end; end;
BSOD('TSS', 'Bad TSS Exception.');
console.writestringln('Bad TSS Exception.'); console.writestringln('Bad TSS Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(11)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(11));
end; end;
BSOD('SNS', 'Segment Not Present Exception.');
console.writestringln('Segment Not Present Exception.'); console.writestringln('Segment Not Present Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(12)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(12));
end; end;
BSOD('SF', 'Stack Fault Exception.');
console.writestringln('Stack Fault Exception.'); console.writestringln('Stack Fault Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -40,6 +40,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(13)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(13));
end; end;
BSOD('GPF', 'General Protection Fault.');
console.writestringln('General Protection Fault.'); console.writestringln('General Protection Fault.');
console.writestring('Flags: '); console.writestring('Flags: ');
console.writehexln(Regs^.EFlags); console.writehexln(Regs^.EFlags);

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(14)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(14));
end; end;
BSOD('PF', 'Page Fault.');
console.writestringln('Page Fault.'); console.writestringln('Page Fault.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(15)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(15));
end; end;
BSOD('UI', 'Unknown Interrupt Exception.');
console.writestringln('Unknown Interrupt Exception.'); console.writestringln('Unknown Interrupt Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(16)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(16));
end; end;
BSOD('CF', 'Coprocessor Fault Exception.');
console.writestringln('Coprocessor Fault Exception.'); console.writestringln('Coprocessor Fault Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(17)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(17));
end; end;
BSOD('AC', 'Alignment Check Exception.');
console.writestringln('Alignment Check Exception.'); console.writestringln('Alignment Check Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(18)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(18));
end; end;
BSOD('MC', 'Machine Check Exception.');
console.writestringln('Machine Check Exception.'); console.writestringln('Machine Check Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(2)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(2));
end; end;
BSOD('NMI', 'Non-Maskable Interrupt Exception.');
console.writestringln('NMI Exception.'); console.writestringln('NMI Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(3)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(3));
end; end;
BSOD('BE', 'Breakpoint Exception.');
console.writestringln('Breakpoint Exception'); console.writestringln('Breakpoint Exception');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(4)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(4));
end; end;
BSOD('IDO', 'Into Detected Overflow Exception.');
console.writestringln('IDO Exception.'); console.writestringln('IDO Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(5)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(5));
end; end;
BSOD('OOB', 'Out of Bouunds Exception.');
console.writestringln('OOB Exception.'); console.writestringln('OOB Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(6)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(6));
end; end;
BSOD('IO', 'Invalid OPCode Exception.');
console.writestringln('Invalid OPCode Exception.'); console.writestringln('Invalid OPCode Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(7)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(7));
end; end;
BSOD('NC', 'No Coprocessor Exception.');
console.writestringln('No Coprocessor Exception.'); console.writestringln('No Coprocessor Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(8)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(8));
end; end;
BSOD('DF', 'Double Fault.');
console.writestringln('Double Fault.'); console.writestringln('Double Fault.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -35,6 +35,7 @@ begin
for i:=0 to MAX_HOOKS-1 do begin for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then Hooks[i](void(9)); if uint32(Hooks[i]) <> 0 then Hooks[i](void(9));
end; end;
BSOD('CSO', 'Coprocessor Seg Overrun Exception.');
console.writestringln('Coprocessor Seg Overrun Exception.'); console.writestringln('Coprocessor Seg Overrun Exception.');
util.halt_and_catch_fire; util.halt_and_catch_fire;
end; end;

View File

@ -87,10 +87,6 @@ var
atmp : puint32; atmp : puint32;
test : puint8; test : puint8;
LList : PLinkedListBase;
Elem : Void;
Str : PChar;
begin begin
multibootinfo:= mbinfo; multibootinfo:= mbinfo;