diff --git a/Source/HBIOS/ch376scsi.asm b/Source/HBIOS/ch376scsi.asm index df82a184..31c71dfc 100644 --- a/Source/HBIOS/ch376scsi.asm +++ b/Source/HBIOS/ch376scsi.asm @@ -97,8 +97,8 @@ CH_SCSI_READ: push iy call _scsi_read ld a, l - pop hl pop iy + pop hl ld bc, 512 add hl, bc ret @@ -128,8 +128,8 @@ CH_SCSI_WRITE: push iy call _scsi_write ld a, l - pop hl pop iy + pop hl ld bc, 512 add hl, bc ret diff --git a/Source/HBIOS/ch376ufi.asm b/Source/HBIOS/ch376ufi.asm index 330db5a3..07a85a6d 100644 --- a/Source/HBIOS/ch376ufi.asm +++ b/Source/HBIOS/ch376ufi.asm @@ -126,8 +126,8 @@ CH_UFI_WRITE: push iy call _chufi_write ld a, l - pop hl pop iy + pop hl ld bc, 512 add hl, bc ret