Virtual H8/H89 Computer USB Storage Interface

The VDIP1 chip is a special module that will, among other things, provide a simple interface to USB storage devices ("thumb drives"). On the H8, this is part of the "H8USB" device. On the H89, it is part of the "H89USBSERIAL" device.

This implementation supports some core commands and the file operations, only. It also supports the VDFC firmware option with two thumb drives. Recognized properties are:

vdip1device_fw
Specifies the string to be reported at power up/RESET as the firmware version. Use "03.69VDFC" to select the VDFC firmware. The version numbers are ignored, but the "VDFC" or "VDAP" strings are used to select the behavior of the device. Default is "03.69VDAP".
vdip1device_dir
This is the top-level directory to be exposed as a (P2) USB storage device "root" directory. It may be changed by clicking on the "VDIP1" label on the front panel. For the VDFC firmware option, this is the "B:" or destination drive. Default is null, which indicates no USB storage inserted.
vdip1device_dir2
Same as "vdip1device_dir"
vdip1device_dir1
This is the top-level directory to be exposed as P1 USB storage device when VDFC firmware is enabled. This is the "A:" or source drive. Default is null, which indicates no USB storage inserted.

The directory specified is exposed as the root directory of a FAT filesystem USB storage device. Only files/directories that conform to the FAT 8+3 convention are exposed. Filenames are forced to lowercase on the host system.

When VDFC firmware is enabled, clicking on the "VDIP1" label on the front panel pops up a menu for P1 and P2. For VDAP firmware, clicking on the label pops up the dialog for P2 only.