bkw777 / pdd.sh Goto Github PK
View Code? Open in Web Editor NEWTPDD client implemented in bash
License: GNU General Public License v3.0
TPDD client implemented in bash
License: GNU General Public License v3.0
Probably only affects TPDD1
Somehow I borked it up in the last few updates without noticing that if you do an ls
, the ls works fine, but leaves the drive in an unexpected state, probably in fdc-mode left over from the condition command to get the write-protect status, when we expect it to be in operation-mode, and with bytes from the drive still un-collected by a read or a drain.
End result is most commands work, and ls works, but if you do a an ls
then almost no commands work after that.
WORK-AROUND until I fix it:
Any time you do ls
, then do a smack
after that and verify that status
responds "ready" instead of some error.
Bash 5.2 from macports, Monterey 12.7.3, Early 2015 macbook air, FTDI usb-serial adapter
fdc-mode read operations fail, ie rh/read_header rl/read_logical hang on trying to read after sending the command.
opr-mode commands mostly work but they're not 100% either. loading a small file works but larger files hang around 3.8k
ls mostly works, the dirent() commands work to display all the files, but the end of ls() does an fdc-mode command to get the disk write-protect status at the end and that fails.
Don't know what the issue is yet but it basically only starts to work then gets stuck on freebsd.
Maybe timing.
I have reproduced this issue on both
The script starts, asks which port to use (btw auto detect also does not work), then nothing happens.
The behaviour is the same even if you don't connect anything on the serial side ( eg no : TDPP at all)
Debug 1 or 2 says nothing either.
If your CTRL-C to exit the script, the script says it was at line 524 (if that info helps maybe...)
Cable setup is OK , serial adapters work & are supported, TPDD works, and not the cause of the problems. I can talk to my TPDD with the same cables and setup using Windows 11 virtual machin under Parallels and a Windows TPDD Client.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.