PiSCSI and the ACSI Bus

PiSCSI supports using all SCSI commands with the ACSI bus, because code I contributed makes PiSCSI ICD compatible. This is in particular interesting for the internal host adapter of the MegaSTE, but also for other Ataris with internal or external host adapter.

Benefits (not only) for the MegaSTE

The internal host adapter of the MegaSTE has several limitations: It only supports a single ID and can only access the first gigabyte of a drive because it lacks support for the full SCSI command set.
With PiSCSI these restrictions do not exist, and with HDDRIVER you can add up to 8 devices to the MegaSTE's host adapter. This is possible because HDDRIVER supports 8 LUNs (SCSI sub-units), which can easily be created with PiSCSI. There is no capacity limit.
Except for a Raspberry Pi and the PiSCSI board no special hardware is required. When the board is connected to the internal SCSI connector it has to be terminated.

When launching piscsi LUNs are defined by appending the LUN number to the device ID, separated by a colon, e.g.:

>piscsi -id 0:0 IMAGE_FILE_FOR_LUN_0 -id 0:1 IMAGE_FILE_FOR_LUN_1 -id 0:2 -t schd RAW_DEVICE_FILE_FOR_LUN_2

RAW_DEVICE_FILE can be /dev/sda, for instance. This means that any USB drive connected to the Pi is usable by the Atari. It can be partitioned etc. with the Atari like any SCSI/ACSI drive.

A Raspberry Pi Zero WH or Zero 2 W with PiSCSI board can easily be placed inside the MegaSTE instead of a hard drive. At least the Raspberry Pi Zero WH can be powered by the MegaSTE. For the Zero 2 W this has not been tested.
The time a MegaSTE with TOS 2.06 waits before trying to boot is sufficient to launch the PiSCSI service on an internally mounted Raspberry Pi Zero WH.
Before switching off the MegaSTE the Raspberry Pi can be shut down with the PiSCSI Control app or with the PiSCSI client tools. These tools also allow to use PiSCSI as realtime clock with daylight saving time support. This is useful, for instance, when the battery of the MegaSTE's clock is empty, or just to have daylight saving time support.

The screenshot shows 6 devices emulated by a PiSCSI board, which is directly connected to the internal MegaSTE host adapter.

PiSCSI inside a MegaSTE