1
0
Fork 0

Add new dma ransferend event

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1823
This commit is contained in:
Sjoerd van der Berg 2004-06-10 20:21:05 +00:00
parent 0cfdcda3b1
commit c6b9969e8a
2 changed files with 7 additions and 4 deletions

View file

@ -189,7 +189,7 @@ again:
buffer+=left << DMA16;
want-=left;
done+=left;
ReachedTC();
// ReachedTC(); //No module uses it so disable
if (autoinit) {
currcnt=basecnt;
curraddr=baseaddr;
@ -197,7 +197,8 @@ again:
} else {
curraddr+=left;
currcnt=0xffff;
SetMask(true);
masked=true;
DoCallBack(DMA_TRANSFEREND);
}
}
return done;
@ -224,7 +225,8 @@ again:
} else {
curraddr+=left;
currcnt=0xffff;
SetMask(true);
masked=true;
DoCallBack(DMA_TRANSFEREND);
}
}
return done;