TRSM4ASCII(1)

NAME
trsm4ascii - TRS-80 Model 4 Basic program files detokenizer

SYNOPSIS
trsm4ascii [-d]

DESCRIPTION

  Introduction
trsm4ascii is a detokenizer for TRS-80 Model 4 Basic program files. The TRS-80 Model 4 was an early popular microcomputer based on the Zilog Z80 sold by Tandy Radio Shack in the 1980s.
  To save space in computer memory and on floppy disks, the Basic keywords were replaced by single byte tokens of ASCII code above 128 (decimal). trsm4ascii reads an Level II Basic file saved in tokenized format and allows to list the Basic program and save it in ASCII format. The program may then be used with a Unix traditional Basic interpreter such as bwbasic(1),bas(1) or blassic(1).

  Commands
 Once trsm4ascii has been started, it expects to receive commands as a Basic interpreter in direct mode.

[ auto ]
    Starts automatic line numbering.

[ credits ]
    Prints credits.

[ help ]
    Prints some help messages.

[ list ]
    Lists a program previously loaded in memory on standard output. list xx-yy xx-yy will list only the lines from xx to yy. list xx-yy,filename will list only the lines from xx to yy and write them to the file filename instead of writing to stdout. list ,filename will write the entire detokenized program to the file filename. The filename should not be enclosed between quotes.

[ load ]
    loads a program in memory. a filename enclosed in double quotes must be provided as argument. The program loaded in memory will be erased.

[ new ]
    erases the program currently in memory.

[ run ]
    Does nothing.

[ version ]
    prints version.

[ system ]
    Returns to the shell.

OPTIONS

-d, turns on some debugging messages.

SEE ALSO
gwascii(1) cpmascii(1) trs80ascii(1) cocoascii(1) bwbasic(1) bas(1) blassic(1)

AUTHOR
This program is copyright 1994–2011.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.

HISTORY
The original program gwbasic(1) written by Christian A. Ratliff was a detokenizer for GW-Basic, the IBM-PC Basic interpreter. The present program has been modified by Edmond Orignac to detokenize TRS-80 Model 4 Basic