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

This commit is contained in:
kieron 2018-04-08 14:00:12 +00:00
parent 2601ec1516
commit 2686b393dc
8 changed files with 6 additions and 3 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.

View File

@ -380,10 +380,11 @@ procedure fire(); interrupt;
var var
status : uint32; status : uint32;
begin begin
CLI;
status:= readCommand($0C); status:= readCommand($0C);
console.outputln('E1000 Driver', 'Interrupt Fired.'); //console.outputln('E1000 Driver', 'Interrupt Fired.');
console.output('E1000 Driver', 'Int Status: '); //console.output('E1000 Driver', 'Int Status: ');
console.writehexln(status); //console.writehexln(status);
if (status AND $04) > 0 then begin if (status AND $04) > 0 then begin
startLink(); startLink();
end else if (Status AND $10) > 0 then begin end else if (Status AND $10) > 0 then begin
@ -391,6 +392,8 @@ begin
end else if (Status AND $80) > 0 then begin end else if (Status AND $80) > 0 then begin
handleReceive(); handleReceive();
end; end;
outb($20, $20);
outb($A0, $20);
end; end;
procedure console_command_mac(params : PParamList); procedure console_command_mac(params : PParamList);