diff options
| author | Harley Travis <harleytravis123@outlook.com> | 2026-06-10 19:30:28 -0500 |
|---|---|---|
| committer | Harley Travis <harleytravis123@outlook.com> | 2026-06-10 19:30:28 -0500 |
| commit | 3cbc8ac1688ed5c67a61a758d2f80d19e04c3259 (patch) | |
| tree | 5115ca87acd32f07446b3aea7d705a6767864236 | |
| parent | 6590b4942c0727903b42f9a34f7a076e034fda09 (diff) | |
| download | templeos-floppy-driver-3cbc8ac1688ed5c67a61a758d2f80d19e04c3259.tar.gz | |
Update DskFDC.HC
The Bt call was modified to test for the corrrect bit of SRA.
| -rw-r--r-- | Kernel/BlkDev/DskFDC.HC | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/BlkDev/DskFDC.HC b/Kernel/BlkDev/DskFDC.HC index ba4c007..80856b5 100644 --- a/Kernel/BlkDev/DskFDC.HC +++ b/Kernel/BlkDev/DskFDC.HC @@ -352,7 +352,7 @@ U0 FDCWriteBlks(CBlkDev *bd,U8 *buf,I64 blk,I64 cnt) U8 c,h,s,st0; Bool unlock=BlkDevLock(bd); - if (Bt(InU8(bd->base0+FDC_STAT_A),2)) + if (Bt(InU8(bd->base0+FDC_STAT_A),1)) throw('BlkDev'); retry: |
