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

This commit is contained in:
kieron committed 2018-04-05 15:12:53 +00:00
1 parent a85fe8cba4
commit 984f3af4ce
7 files changed
+15 -2

No files matched your search

BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+15 -2
View File
@@ -345,7 +345,7 @@ begin
memset(uint32(cmdTable), 0, sizeof(TCommand_Table) + (cmdheader^.PRDTL-1) * sizeof(TPRD_Entry)); memset(uint32(cmdTable), 0, sizeof(TCommand_Table) + (cmdheader^.PRDTL-1) * sizeof(TPRD_Entry));
console.writestringln('4'); console.writestringln('4');
for i:= 0 to cmdHeader^.PRDTL -1 do begin for i:= 0 to cmdHeader^.PRDTL do begin
cmdTable^.prdt[i].data_base_address := uint32(buf); cmdTable^.prdt[i].data_base_address := uint32(buf);
cmdTable^.prdt[i].data_byte_count := 8*1024-1; cmdTable^.prdt[i].data_byte_count := 8*1024-1;
cmdTable^.prdt[i].interrupt_oc := true; cmdTable^.prdt[i].interrupt_oc := true;
@@ -441,12 +441,25 @@ begin
memset(uint32(cmdTable), 0, sizeof(TCommand_Table) + (cmdheader^.PRDTL-1) * sizeof(TPRD_Entry)); memset(uint32(cmdTable), 0, sizeof(TCommand_Table) + (cmdheader^.PRDTL-1) * sizeof(TPRD_Entry));
console.writestringln('4'); console.writestringln('4');
for i:= 0 to cmdHeader^.PRDTL -1 do begin console.writestring('PRDTL: ');
console.writeintln(cmdHeader^.PRDTL);
//psleep(1000);
for i:= 0 to cmdHeader^.PRDTL do begin
console.writestringln('4.1');
cmdTable^.prdt[i].data_base_address := uint32(buf); cmdTable^.prdt[i].data_base_address := uint32(buf);
console.writestringln('4.2');
cmdTable^.prdt[i].data_byte_count := 8*1024-1; cmdTable^.prdt[i].data_byte_count := 8*1024-1;
console.writestringln('4.3');
cmdTable^.prdt[i].interrupt_oc := true; cmdTable^.prdt[i].interrupt_oc := true;
console.writestringln('4.4');
buf += 4*1024; buf += 4*1024;
console.writestringln('4.5');
count -= 16; count -= 16;
console.writestring('PRDTL: ');
console.writeintln(cmdHeader^.PRDTL);
console.writestring('i: ');
console.writeintln(i);
//psleep(1000);
end; end;
console.writestringln('5'); console.writestringln('5');