On Thu, Apr 22, 2021 at 10:02 AM Dave Christensen <[email protected]> wrote:
> Yesterday I posted a problem I was having getting files to transfer from > my Windows 10 PC to my T102. It looked like it was something in Windows > with new files that LaddieAlpha didn’t like and returned a FF - File not > Found. What it actually was: If I ask Teeny to load a file from the PC > directory that ended in “.BA” and it wasn’t an optimized Basic file it > returned the “FF” error. The file I was trying to load was a Basic program > in text format (not minimized). When I renamed the file from “.BA” to > “.DO” on the PC, it downloaded fine. Loading this file into Basic and > saving it as a “.BA” file gave me a usable program. > > > > Takeaway: A “.BA” file on the PC needs to be a minimized file, not a > program readable as a text file. I am not sure if I missed this in the > documentation of Laddie and Teeny but it is a two step process: taking the > text program I received from an online source and renaming it a “.DO” file, > download using Teeny the “.DO” file, start BASIC and load the “.DO” file > and save it in BASIC as a “.BA” file. > > Sorry for not learning this before I posted the question yesterday - Dave > > > I see. Interesting case. Here's what is happening. TS-DOS (and probably TEENY) if you try to inload an untokenized BASIC program will crash the Model 100's file system. So what LaddieAlpha does when it sees a BA extension file is present it to the TPDD client directory enumeration as a DO extension. That way, when TS-DOS inloads the program, it inloads it into the DO area properly, rather than improperly into the tokenized BA area. That works great with TS-DOS... user sees the presented XXX.DO file and happily loads it. It prevents a crash and you get your file inloaded. In your case though, you're using TEENY, and TEENY doesn't present any directory at all. So when you tried to inload, you just got an error like it didn't see the file. And that's because there was no proper .BA file to inload. Now that you understand the tokenized/untokenized mismatch issue, you did the right thing renaming the file on the PC side. But in fact if you had tried inloading XXX.DO instead of XXX.BA it would have worked. -- John.
