Skip to content

Commit

Permalink
[msddrvce] remove cache sync command
Browse files Browse the repository at this point in the history
some drives just don't like it
  • Loading branch information
mateoconlechuga committed Oct 6, 2024
1 parent af2fdbb commit 4696111
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/msddrvce/msddrvce.asm
Original file line number Diff line number Diff line change
Expand Up @@ -429,12 +429,6 @@ msd_Close:
pop hl
ex (sp),iy
push hl
ld hl,scsi.synchronizecache
call scsi_sync_command
jq z,.done
ld hl,scsi.requestsense
call scsi_sync_command
.done:
push iy
ld hl,(ymsd.dev)
push hl
Expand Down Expand Up @@ -1428,7 +1422,6 @@ scsi.modesense scsipkt 1,$c0, $1a,$00,$3f,$00,$c0,$00
scsi.requestsense scsipkt 1,$12, $03,$00,$00,$00,$12,$00
scsi.testunitready scsipkt 0,$00, $00,$00,$00,$00,$00,$00
scsi.readcapacity scsipkt 1,$08, $25,$00,$00,$00,$00,$00,$00,$00,$00,$00
scsi.synchronizecache scsipkt 0,$00, $35,$00,$00,$00,$00,$00,$00,$00,$00,$00

scsi.read10 scsipktrw 1,$28
scsi.write10 scsipktrw 0,$2a

0 comments on commit 4696111

Please sign in to comment.