Atari Mega STE ACSI port, internal SCSI adapter

  Atari Mega STE machines were shipped in 2 variants:  with internal 40-46 MB SCSI drive, and without. It was many years ago, and today old drive may be dead or missing. If no drive, usually no ACSI-SCSI adapter board too. Then on J402 must be small plate/connector with some shortcuts. But may happen that it is missing. Then external ACSI connector will not work :
 If no internal adapter and want to use external ACSI connector, need to shortcut data lines on J402
 1-2, 3-4 ... 15-16 ,  for instance with 8 jumpers. Or can do with proper connector, where shortcut odd with even pins :

p/MegaSTE_ACSIjump.jpg

Part of Mega STE schematic - J402 and external ACSI connector :
p/MegaSTE_ACSI.png

If want to connect some ACSI device internally, then need to connect to even data pins 2-4-6...16 in case that no internal adapter + connect all control lines, according to schematic. Of course, then no need to shortcuts. If together with internal adapter, then need to connect data lines to odd pins on J402 1-3-5-....-15. Control lines same as without int. adapter.

  Internal ACSI/SCSI adapter limitations:  max accessible capacity is 1GB .
1GB limit is result of fact that adapter allows sending of 5 bit SCSI commands only. Those are commands with codes 0-$1F .
  My idea was to allow sending of 6-bit commands. With help of schematic of similar adapter, lot of patience and experimenting I did it.
Now, very large drives are accessible - in theory up to 2000GB, but biggest one what I have is 18GB, and it works fine.

p/msteam3.jpg

  2 reconnections on board are required. right in middle is mark A (red) - there need to cut pcb. line between pin 5 of IC and hole.
Down by ACSI PAL need to bend pin 6 of PAL chip so that it will go out of socket, and connect it with pin 3 - mark B.
A expands commands on 6 bits. B ensures that adapter will activate regardless of state of bit 5 by command phase.

  There is 2 problem by this solution: TOS 2.06 locks SCSI drive when it autoboots
not . It will happen only once - before installing autoboot driver (from floppy), but hard drive must became ready to allow driver install. Solution is to connect button (taster) between SCSI reset line (pin 40) and GND. Pressing it will  reset SCSI drive and it will work. Then may install autoboot driver. After it drive lock will not happen, even when disable driver autoload (with ALT key) - I added some code in loader which prevents drive lock.

 It is possible to use some other, external ACSI adapters with this - if they can be set to some other ID than 0. So, Satandisk, UltraSatan. Need to set them to 4-7 .

Parity generator:
 
Most of modern SCSI drives works only with parity on - I saw only IBM drives where parity can be disabled. In praxis it means that such drives will not work with our adapter.
Solution is again simple and cheap:  adding 74HCT280 parity generator chip to board. On pic, chip is half visible near to pins 1-2 of SCSI connector. I put it there, because could solder 6 data lines directly to board.
 
  Connecting of pins goes like this:
74HCT280
SCSI bus
Function
1
14
D6
2
16
D7
3
-
NC
4
GND
GND
5
-
NC
6
18
Odd parity
7
GND
GND
8
2
D0
9
4
D1
10
6
D2
11
8
D3
12
10
D4
13
12
D5
14
-
+5V


So modified adapter will work with existing drivers (Hddriver, ICD, AHDI), but still only up to 1GB.
Special driver is required to get benefit:

Driver for modified adapter

Driver specs:
    
mintf32.png  Accessing 11GB FAT32 partition under Mint with modified adapter and SCSI drive.

p/MegaSTE_TRsp.png
 Testing with new performance test util .


P. Putnik, October 2007 - Okt. 2010.