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

This commit is contained in:
aaron
2018-04-11 14:59:37 +00:00
parent d492b8a122
commit 2d73017379
2 changed files with 21 additions and 5 deletions

View File

@ -85,7 +85,6 @@ var
i : uint8;
begin
console.writestringln('poop');
if stringEquals(getParam(0, params), 'ls') then begin
for i:=0 to LL_Size(storageDevices) - 1 do begin
@ -99,7 +98,7 @@ begin
ControllerNET : console.writestring('NET, ');
end;
console.writestring('Capacity: ');
console.writeint((( PStorage_Device(LL_Get(storageDevices, i))^.maxSectorCount * PStorage_Device(LL_Get(storageDevices, i))^.sectorSize) DIV 1000) DIV 1000);
console.writeint((( PStorage_Device(LL_Get(storageDevices, i))^.maxSectorCount * PStorage_Device(LL_Get(storageDevices, i))^.sectorSize) DIV 1024) DIV 1024);
console.writestringln('MB');
end;
end;
@ -119,6 +118,7 @@ var
begin
elm:= LL_Add(storageDevices);
PStorage_device(elm)^ := device^;
//check for volumes
end;