This one liner is designed to trigger capture by Ken Pettit's NADSBox (new
age digital storage)

I don't remember the details but Ken might comment or you could check the
NADSBox manual. I think the point is to get the NADSBox attention with an
escape sequence like the Hayes +++ command and then start the capture from
the peer.

If you have something else you would want to modify that bit. I wonder does
the backpack have peer triggerable plain text capture support?

Reminds me I have a shell project I never finished for LaddieAlpha.

-- John.


On Tue, Jan 20, 2026, 11:16 AM Joshua O'Keefe <[email protected]>
wrote:

> > On Jan 19, 2026, at 11:24 AM, John R. Hogerhuis <[email protected]>
> wrote:
> > One interesting application of this is rapidly dumping the RAM image to
> the serial port rapidly and with just BASIC.
>
> That's gorgeous. Even room to do SOUNDs in a one-liner! In case anyone
> winds up trying to actually run it, I OCRed the image and did cleanup on
> the result. Hopefully I caught all the OCR errors. This may wind up
> line-wrapped in email clients but it's a single line as transmitted from
> here in plain text RFC 5322. Those interested might want to copy/paste it
> to DUMP.DO from the raw message.
>
> 1DEFINTA-Z:OPEN"COM:98N1D"FOROUTPUTAS1:INPUT"NAME";N$:?#1,CHR$(5);"copy
> con b
> ";N$;CHR$(13);:D$="":A=FRE(0):L=VARPTR(D$)+1:M=L+1:POKEL-1,128:SOUND0,150:FORI=0TO255:POKEM,128+/2:POKEL(IMOD2)*128:?#1,D;:NEXT:SOUND0,150:?#1,CHR$(26)
>
> A quick check with CloudT[1] didn't throw a ?DS ERROR or ?SN ERROR so it
> ought to do the thing. I'm somewhat baffled by this bit:
>
> :?#1,CHR$(5);"copy con b ";N$;CHR$(13);
>
> It reads like a windows or DOS command but the syntax is odd. It results
> in "{ENQ}copy con b {N$}{CR} " being written to COM: with a trailing space.
> Presumably the stdin of COMMAND.COM is being redirected intto DOS's COM1:
> but as far as I know the syntax[2] here ought to be "COPY /B CON: {N$}{CR}"
> and the trailing space wouldn't be needed. The ENQ is interesting, too.
>
> John, this looks like your code based on the history of "Model 100 RAM
> Dump One-Liners"[3]. I'd love to hear an elaboration of the client end if
> you're willing to recall that. Obviously in the modern world this statement
> and the statement before it wouldn't be needed since it'd just be manually
> typing"cat /dev/ttyS0 > DUMP.BIN" into the shell or the DOS/Windows
> equivalent which I guess would be "COPY /b COM1: DUMP.BIN"
>
> I suspect you're doing something cool here and I'm not clear what it is.
>
> [1] "CloudT": https://bitchin100.com/CloudT/
> [2] "syntax":
> https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/copy/
> [3]
> https://bitchin100.com/wiki/index.php?title=Model_100_RAM_Dump_One-Liners&action=history

Reply via email to