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

This commit is contained in:
aaron
2018-04-05 14:18:49 +00:00
parent 088145f24d
commit 241a156c2c
2 changed files with 82 additions and 6 deletions

View File

@ -70,6 +70,7 @@ var
cEIP : uint32;
temp : uint32;
atmp : puint16;
begin
multibootinfo:= mbinfo;
@ -128,10 +129,10 @@ begin
console.writestringln('DRIVERS: INIT END.');
console.writestring('AHCI TEST');
temp := 424242;
AHCI.write(0, $5, $1, 1, @temp);
temp := 365;
AHCI.read(9, $5, $1, 1, @temp);
atmp^ := 4242;
AHCI.write(0, $5, $1, 1, atmp);
atmp^ := 365;
AHCI.read(9, $5, $1, 1, atmp);
console.writeint(temp);
console.writestringln('');