Thanks Joshua! It does seem minimal.

Hopefully it works too :-) My first attempt had a 0 versus 1 string index
based issue. So 255 printed as EE instead of FF.

But I caught that one in testing on CloudT.

For those who want to try the code above, you can go to

https://bitchin100.com/CloudT

Copy the code above to your clipboard

Scroll down the emulator page to the text box, paste it in.

Click "Add Plain Text"

You'll be prompted for a name, like SAMPLE.DO

You will see the file SAMPLE.DO appear in the cassette file queue at the
bottom

Click on the model t window, go into BASIC, and type

CLOAD<ENTER>

The file will load.

If you make edits, to write it back out as a text file you can download and
cut/paste type

CSAVE"SAMPLE.DO",A

Then you will see in the cassette file queue an icon you can use to
download it into your computer's file system.

I had to remember that to share the code above. CloudT is unique in Model T
emulators in that its host file system access is based on hooking the BASIC
ROM's native file I/O (cassette).

-- John.

Reply via email to