It's years too late for this observation obviously, but it sounds like all along, the convention should have been to store the portable/viewable on-line ascii versions of these files as name.ba.txt, or name.bas, so as not to collide with either name.ba or name.do, because frequently name.do already exists as documentation for name.ba
All this changing the data on the fly is wrong wrong wrong. It's commiting another wrong to deal with an original wrong. It's adding more wrong not cancelling out the original. What happens when name.do already exists on the m100 and someone tries to copy an ascii name.ba from laddie? If you want to munge the data to be helpful, then the only really defensible way in this case would be to read the ascii name.ba from the host fs, but emit tokenized name.ba to the m100. -- bkw On Sat, May 4, 2019, 1:55 AM John R. Hogerhuis <[email protected]> wrote: > Keven Laskowski on the facebook group reported some issues with > LaddieAlpha. > > First, he was confused that .BA file were showing up with a .BA extension > on his hard drive, but DB extension in TS-DOS. > > LaddieAlpha automatically maps untokenized BASIC text files to the > appropriate .D* extension, to avoid corrupting the laptop filesystem. > > But then the question arose, so how do you run .DB files? > > To run an ASCII formatted BASIC program you can first load the DB file > into the laptop filesystem, and then you can LOAD"BLAH.DB" from the BASIC > prompt. This works. > > But that can be problematic for large BASIC programs, since then you need > enough free RAM to hold the untokenized and tokenized program to be able to > run it. If you turn DOS-ON in TS-DOS, you can load it directly > > LOAD"0:FILE.DB" > > And it will load it as a BASIC program, and you can then SAVE, and/or RUN > it. Or one step, you can RUN"0:FILE.DB" > > But it turns out Kevin tried it and it doesn't work! > > I did some testing and found it's an issue of extensions. > > TS-DOS can inload or save a file with D*, B*, C* extensions properly. > > But in my testing I found the BASIC "DOS" LOAD"0: command (at least) is > limited to text files with DO extensions only. > > So I changed LaddieAlpha to map misnamed BA files to DO instead of DB. > > http://bitchin100.com/wiki/index.php?title=LaddieCon > > -- John. >
