I had cause to want to change the directory while in BASIC without having
to pop into the TS-DOS UI.  I'm sure this is old hat to many members, but
this was my first experiment with sending raw TPDD protocol.

Attached is a small BASIC program that blindly sends the commands to change
directory.  It contains a subroutine to send a TPDD command which takes a
raw command in CO$ , checksums it, prepends the "ZZ" magic string, and
blindly spews the whole thing out the serial port, ignoring any and all
acknowledgement or response from the TPDD.

I have tested this only with LaddieAlpha as a TPDD emulator, and only over
hard wired RS-232, but was successful.  I generally have trouble changing
directories over WiModem232 using TS-DOS itself, so I may eventually use
this to fiddle with command timings to see if I can get that to work.

Please feel free to use, reuse, publish, or otherwise fold/spindle/mutilate
this code, as I hereby release it into the public domain.

Attachment: CD.DO
Description: Binary data

Reply via email to