Re: [M100] - Text Sweet 2.3 Release

2023-03-01 Thread John R. Hogerhuis
Well, for ANSI C 99 lex is probably the best way. C doesn't (didn't?) have any regex engine. I don't know what's in modern C, it might have libraries for regex. As you say lex is a "friendly wrapper around regular expressions." But all it really does is make a giant regex/state machine with hook

Re: [M100] BackPack - read data from CLI

2023-03-01 Thread Georg Käter
Hi Jeff,   I´ve added the following to the listing below to "see" if BPD responds   .. 42 INPUT#2,K 43 IF K<>"#" GOTO 42 44 PRINT K ..   After some seconds I see the #, but program then program stucks. Any further idea about this behaviour?   Thanks for your support Georg   Gesendet:

[M100] Removing DVI Disk Basic

2023-03-01 Thread grima...@gmail.com
Hi all, The linked document explains how to remove Disk BASIC from memory on a T200. https://archive.org/details/DVI263806Notice Does anyone have the procedure to remove Disk BASIC from an M100? -George

Re: [M100] DVI + Floppy Emulation

2023-03-01 Thread grima...@gmail.com
I just want to say, I finally replicated your project Jerry! Everything works great! The only modification I made was to set cskew=1. Formatting and writing to disk didn’t work correctly until I did that. After I got that working, I too switched the drive jumpers and got the DVI to boot off of th

Re: [M100] - Text Sweet 2.3 Release

2023-03-01 Thread B 9
On Wed, Mar 1, 2023 at 9:39 AM John R. Hogerhuis wrote: > Parser systems are less work than they're worth. But lexer systems, not so > much. > Modern languages have advanced regular expression systems which are equal > in power to a lexer. Might as well just use a big regex to lex your tokens. >

Re: [M100] - Text Sweet 2.3 Release

2023-03-01 Thread Brian White
127 or 128 so is the limit that the interactive editor can handle, while the interpreter can handle up to 254 or 255 if you're just executing and not editing. bkw On Wed, Mar 1, 2023, 8:15 PM B 9 wrote: > On Wed, Mar 1, 2023 at 6:39 AM Brian K. White b.kenyo...@gmail.com >

Re: [M100] - Text Sweet 2.3 Release

2023-03-01 Thread B 9
On Wed, Mar 1, 2023 at 6:39 AM Brian K. White b.kenyo...@gmail.com wrote: > I also wrote a renumberer and packer in bash (actually in awk too before > that, still in the repo in the "attic") > > https://github.com/bkw777/BA_stuff > Okay, that’s freaking aweso

Re: [M100] - Backpack

2023-03-01 Thread Peter Vollan
See, I take the unpopular opinion that that should not be done because it teaches bad habits. On Wed, 1 Mar 2023 at 06:20, wrote: > I also tried loading a .DO named as .BA through BASIC, i.e. load > "com:98n1e" and that worked fine. Seems to me that if it were a man ROM > issue the same problem

Re: [M100] - Text Sweet 2.3 Release

2023-03-01 Thread John R. Hogerhuis
On Tue, Feb 28, 2023, 6:49 PM B 9 wrote: > > > On Tue, Feb 28, 2023 at 4:55 PM grima...@gmail.com > wrote: > >> Thanks all! >> >> At some point I’ll look into adding Tokenization directly into Github. >> > > Awesome. It looks like compiling and running a C program may be trivial in > the yaml fi

Re: [M100] - Backpack

2023-03-01 Thread John R. Hogerhuis
On Wed, Mar 1, 2023, 6:43 AM Brian K. White wrote: > COM: does not see any filename, it only sees the content bytes. > This is totally unrelated to storing a file in the ram filesystem. > It's the tpdd client that creates an inloaded file in the RAM filesystem, including deciding which section t

Re: [M100] Possible BBS launch

2023-03-01 Thread Jeff Gonzales
Anyone still running WWIV? I'm down for playing some Tradewars 2002 and Geopolitiks. lol. On Wed, Mar 1, 2023 at 10:07 AM Gregory McGill wrote: > MajorBBS 10 > > Greg > > On Tue, Feb 28, 2023 at 10:14 PM Daniel L wrote: > >> OK. Tribbs? >> >> On February 28, 2023 1:06:30 PM PST, Gregory McGil

Re: [M100] Possible BBS launch

2023-03-01 Thread Gregory McGill
MajorBBS 10 Greg On Tue, Feb 28, 2023 at 10:14 PM Daniel L wrote: > OK. Tribbs? > > On February 28, 2023 1:06:30 PM PST, Gregory McGill < > arcadeshop...@gmail.com> wrote: >> >> I don't run syncronet :) I think I'm included in syncroterm tho >> >> Greg >> >> On Tue, Feb 28, 2023 at 11:55 AM Da

Re: [M100] BackPack - read data from CLI

2023-03-01 Thread Brian K. White
The only thing ts-dos is doing differently is it's treating .ba files according to the rules of .ba files, as dictated by the main rom. It's not a ts-dos thing. teeny and floppy etc have to do the same exact thing. On 3/1/23 08:47, bir...@soigeneris.com wrote: You might be sending the SET comm

Re: [M100] - Backpack

2023-03-01 Thread grima...@gmail.com
When you load a file through COM, I don’t think the file information is passed at all. The Model 100 expects ASCII and tokenizes it on the fly. Try sending an actual tokenized program over COM and it will fail I believe. Could be wrong through On Wed, Mar 1, 2023 at 9:20 AM wrote: > I also tr

Re: [M100] - Backpack

2023-03-01 Thread Brian K. White
COM: does not see any filename, it only sees the content bytes. This is totally unrelated to storing a file in the ram filesystem. On 3/1/23 08:44, bir...@soigeneris.com wrote: I also tried loading a .DO named as .BA through BASIC, i.e. load "com:98n1e" and that worked fine. Seems to me that if

Re: [M100] - Text Sweet 2.3 Release

2023-03-01 Thread Brian K. White
I also wrote a renumberer and packer in bash (actually in awk too before that, still in the repo in the "attic") https://github.com/bkw777/BA_stuff The interface could be improved to operate on normal commandline arguments instead of env variables and only piping stdin and stdout. The renum

Re: [M100] BackPack - read data from CLI

2023-03-01 Thread birt_j
You might be sending the SET command before the BPD has time to wake up and respond. It will return a ‘#’ when it wakes up and switches to CLI mode. Jeff Birt From: M100 On Behalf Of Georg Käter Sent: Wednesday, March 1, 2023 12:59 AM To: m...@bitchin100.com Subject: [M100] BackPack - re

Re: [M100] - Backpack

2023-03-01 Thread birt_j
I also tried loading a .DO named as .BA through BASIC, i.e. load "com:98n1e" and that worked fine. Seems to me that if it were a man ROM issue the same problem would happen this way. Also, the TS-DOS disassembly shows that it changes it’s behavior based on filetype extension. Jeff Birt F

Re: [M100] - Backpack

2023-03-01 Thread Brian White
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 O