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

This commit is contained in:
kieron
2018-04-12 14:38:50 +00:00
parent 866362b5b0
commit 3124582151
110 changed files with 2499 additions and 1450 deletions

43
src/fault/DBGE.pas Normal file
View File

@ -0,0 +1,43 @@
{ ************************************************
* Asuro
* Unit: Drivers/ISR1
* Description: Debug Exception
************************************************
* Author: K Morris
* Contributors:
************************************************ }
unit DBGE;
interface
uses
util,
console,
isr_types,
isrmanager,
IDT;
procedure register();
implementation
procedure Main();
var
i : integer;
begin
CLI;
BSOD('DE', 'Debug Exception');
console.writestringln('Debug Exception.');
util.halt_and_catch_fire;
end;
procedure register();
begin
isrmanager.registerISR(1, @Main);
//memset(uint32(@Hooks[0]), 0, sizeof(pp_hook_method)*MAX_HOOKS);
//IDT.set_gate(1, uint32(@Main), $08, ISR_RING_0);
end;
end.