#SCSI HELP!
27-Aug-90 00:25:17
Sb: #117966-#SCSI HELP!
Fm: Don Curtis/SYSOP 76703,4321
To: Harry Manolopoulos 75410,322
Look at your data buffer, and it's declaration. When I was working
on my test program, I declared it to be a UBYTE array, and then had to cast
it to a UWORD array when assigned to scsi_Data. I'm not sure why CBM built
the structure showing the data for the data phase as being 16 bit quanities
for an 8 bit bus (the SCSI bus). I'm guessing they may require word
alignment of the data, but use it in "byte" sized hunks. If the data is
mis-aligned, it could cause some interesting effects…which I believe
you've seen.