Ask the Russians: they've got all the codes in the world. epc
> On Jul 18, 2019, at 11:00 AM, Dan Higdon <[email protected]> wrote: > > Hey ModelT enthusiats! > > Has anyone cracked the code on how to access the paste buffer from inside a > BASIC program? I have some utilities I'm working on that would benefit from > using the pastebuffer as an IPC mechanism, since sometimes they're just > generating something I want to insert into a document. > > It feels like you should be able to open the paste buffer's file as an > input/output channel, since it looks like it's stored as an invisible file, > but I can't figure out how to do it. I have a Model102, so the hidden > filename of this buffer is semi-randomized. > > I imagine it would be possible with a small machine language routine to open > that file and bind it to an IO channel in BASIC. (Maybe passing the channel > number in A, and some option flags in HL), but I don't understand the > Model100's ROM routines well enough to pull that off, and I would be shocked > if I were the first person to think of doing this. > > Anyhow, thanks for any idea! > Dan Higdon
