Thanks for the info Ken,
After reading your description of the OPEN handler I tried to fake it out but
putting .D> as the extension but TS-DOS converts it to .DO. I was thinking that
if .D> was passed through then the TPDD server could treat it the same as .<>
but no luck. Looks like a patch to New-DOS or TS-DOS RAM/ROM is the only way
around that.
My plan B is to write a little Basic program to take a directory name and send
the commands through the serial port to change to that directory.
Thanks for checking that. Saved me from spinning my wheels on a solution that
wasn't going to work.
Kurt
On Friday, February 19, 2016 10:13 AM, Ken Pettit <[email protected]>
wrote:
Hi Kurt,
Looking at the NEWDOS assembly source, the TS-DOS RST 7,30 handler (the BASIC
"OPEN" handler), it specifically checks if the first byte of the filename is
'D' and generates an error back to BASIC if it is not. It probably wouldn't be
too difficult to add the feature to NEWDOS to support directory change by
searching for the "<>" extension.
Ken
On 2/19/16 9:13 AM, Kurt McCullum wrote:
With TS-DOS loaded in the ON state, I can open, read & write files with
0:filename form Basic. Did Traveling Software ever add the ability to change
directories from Basic when attached to DeskLink? I've tried doing an open
using "0:DIR123.<>" which is how TS-DOS would normally change directories when
the program is running but Basic gives me an error. Has anybody tried this and
been successful?
I may end up having to write a little Basic script to do this by sending the
proper commands but I wanted to check first.
Kurt