Back in the days BM (Before Microsoft), I worked for a small
company in Seattle called International Entry Systems, Inc, or IESI. They
manufactured Z-80 based data entry terminals that were, basically, a
single line display, a keyboard and a data cassette recorder. All software
was loaded from tape. (This was 1980, after all.)
One of the software packages they had available was a copy of Microsoft Basic.
I won’t go into the machinations you might go through to have a working Basic
interpreter that uses a single line (40 character line, at that) display
and a single cassette deck for all storage, but
they did. It was in place, though underutilized, when I showed up.