Three major changes in this release.
- Moved a lot of the wrapper logic for talking to files on Windows and POSIX machines to a separate file (statwrap.c).
- ASIC4 can now be detected! SSDs can now detect SSDs with ASIC4 (which is almost all of them) including some extra information that isn't possible to detect in ASIC5 mode. It's also possible to dump images in ASIC4 mode, which is great... but there's a strange bug that stops data being dumped from address 0x8000 onwards. For now, everything still works in ASIC5 mode by default.
- It's a lot faster. Some routines in Dump.io have been tidied. Also, the pauses in Karl's original code have been removed. Psion's SIBO Serial Protocol (SIBO-SP) specifies that data is read on clock-up and written on clock-down. So as long as traffic is detected or sent at the right point of the clock tick there won't be any issues. Also, I have set all idle bits to READ to comply with the SIBO-SP spec. I've also increased the baud rate to 115200, although that doesn't make much difference as my Arduino Uno is now the bottleneck in my setup.
Next minor step is to fix ASIC4 mode. Next major step is to turn the Dump.io into a more intelligent controller, being able to receive address commands and dump pre-specified amounts of data. This will pave the way toward using an Arduino as an SSD drive.