Fix the long dreaded Wide bug and enable WIDEODD for reads.

This commit is contained in:
Justin T. Gibbs 1995-11-07 05:31:28 +00:00
parent 5e527f652f
commit 157b011439

View File

@ -41,7 +41,7 @@
#
##-M#########################################################################
VERSION AIC7XXX_SEQ_VER "$Id: aic7xxx.seq,v 1.22 1995/10/26 23:54:13 gibbs Exp $"
VERSION AIC7XXX_SEQ_VER "$Id: aic7xxx.seq,v 1.23 1995/10/29 05:56:31 gibbs Exp $"
SCBMASK = 0xff
@ -485,7 +485,7 @@ data_phase_reinit:
# Reads should not use WIDEODD since it may make the last byte for a SG segment
# go to the next segment.
p_datain:
mvi DMAPARAMS,0x39 # SCSIEN|SDMAEN|HDMAEN|
mvi DMAPARAMS,0x79 # WIDEODD|SCSIEN|SDMAEN|HDMAEN|
# !DIRECTION|FIFORESET
data_phase_init:
call assert
@ -1024,7 +1024,8 @@ dma4:
# actually off first lest we get an ILLSADDR.
#
dma5:
clr DFCNTRL # disable DMA
and DFCNTRL, 0x40, SINDEX # disable DMA, but maintain
# WIDEODD
dma6:
test DFCNTRL,0x38 jnz dma6 # SCSIENACK|SDMAENACK|HDMAENACK