I don't think it's ts-dos, it's the main rom. The main rom and all the tpdd clients basically have to trust the file name. If it's declared as a .ba, then the bytes are copied verbatim and then later interpreted according to the rules of parsing a .ba. If the contents are not .ba, kablooey.
bkw On Tue, Feb 28, 2023, 8:11 PM <bir...@soigeneris.com> wrote: > I did some more testing and discovered that John is absolutely correct. > Previously when I had tried to load a .BA which was really a .DO it made it > about 3-4 line in and then stopped. This led me to believe it was an issue > I have seen on other computer; when loading an ASCII file over serial the > computer will tokenize the line when the CR is encountered. Just like it > had been typed in on the keyboard. For these systems you have to add a 2 > second or so delay after each line to allow for tokenization. > > TSDOS does its own thing, like John says, and really makes a mess of it. > > > > Jeff Birt > > > > *From:* M100 <m100-boun...@lists.bitchin100.com> *On Behalf Of *John R. > Hogerhuis > *Sent:* Saturday, February 25, 2023 7:40 PM > *To:* m...@bitchin100.com > *Subject:* Re: [M100] - Backpack > > > > A side note but the reason files misnamed as BA cause a problem is that > tsdos will load them into the BASIC program region verbatim and treat the > ASCII bytes as parts of binary formatted line numbers and tokens among > other problems, ultimately causing a corrupted RAM file system. > > > > It was the convention on the old Club100 library to name them this way > but it's now a bad practice. > > > > -- John. > > > > > > > > On Sat, Feb 25, 2023, 5:30 PM <bir...@soigeneris.com> wrote: > > Yes, someone already wrote such a program and shared it. If you just got a > Backpack Drive Plus it is already on the SD card. You can also download it > from: https://github.com/Jeff-Birt/Backpack/tree/main/User_Programs > > > >