So all you want to do is read a .BA file from the com port and save it in the M100 RAM?
m ----- Original Message ----- From: "Ron Lauzon" <rlau...@gmail.com> To: "Model 100 Discussion" <m100@lists.bitchin100.com> Sent: Friday, April 07, 2017 12:43 PM Subject: Re: [M100] Writing to a .ba file > Ya, that's what I'm (trying) to do. It's been 30 years since I've had > to deal with assembler, so I'm not willing to do that. > > But, otherwise, it works. The new project is on: > https://github.com/rlauzon/rdos > > It implements a sort-of-TPDD protocol and the client programs are > written in BASIC. > But it does work and works quite well so far. > > I removed the features of the TPDD protocol that I didn't need (like > format drive and drive status) and changed others ("previous file" is > "change directory" in my project). > I allow you to use all 24 characters of the file name field (for > naming the file on the disk - you still have to deal with the file > name limitation on the M100). > It will "boot" the loader program by doing a LOAD "COM:98N1D and > pressing a button. > Once the loader program is there, you can load the save, list and > utility programs. > I implemented directory handling, so you can use a nice, big SD card > and subdirectories. > > I've booted up from a hard reset on my T102, loaded up all the > programs, and played for a bit. I still need to really kick it > around, so it's in alpha test right now. > > About $85 in hardware (I had the 32 GB SD card, drive activity LED, > boot button and 9-25 serial cable laying around). > I only needed to solder the headers to the SD Card shield. Everything > else was just plug/play. > > > On Fri, Apr 7, 2017 at 12:17 PM, John R. Hogerhuis <jho...@pobox.com> wrote: >> >> On Fri, Apr 7, 2017 at 8:37 AM Mike Stein <mhs.st...@gmail.com> wrote: >>> >>> RAM is always going to be an issue; even if you could write a .BA file >>> then the new program and the program writing it would have to be in memory >>> simultaneously (although of course a .DO file would be larger). >>> >>> It would help if we knew how you plan to create the .BA file that you want >>> to write; creating a non-trivial .BA file can be pretty tricky. >>> >>> m >> >> >> >> I think he's receiving it from an Arduino tpdd server. >> >> Ron, you'll at least need to write some ML subroutines to create a tokenized >> basic file from received tokenized basic data. >> >> -- John. > > > > -- > Ron Lauzon - rlauzon at acm dot org > Homepage: http://webpages.charter.net/rlauzon/ > Weblog: http://ronsapartment.blogspot.com/ > > DNRC: Lord of All Things That Are Fattening > > "To be sure, conservative radio talk show hosts have a built-in > audience unavailable to liberals: People driving cars to some > sort of job." - Ann Coulter > > Microsoft Free since July 06, 2001 > Running Ubuntu 16.04