Science Fair Projects Ideas - TRS-DOS

All Science Fair Projects

      

Science Fair Project Encyclopedia for Schools!

  Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary     

Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

TRS-DOS

TRS-DOS was the Disk Operating System for the Tandy TRS-80 line of 8-bit Z-80 micro-computers that were sold through Radio Shack through the late 1970s and early 1980s. Their own manuals recommended that it be pronounced triss-doss but the common vernacular referred to the platform as trash-eighties and thus this software was usually called trash-dos.

TRS-DOS was primarily a way of extending the MBASIC (BASIC in ROM) with additional I/O (input/output) commands that worked with disk files rather than the cassette tapes that were used by most other TRS-80 systems.

TRS-DOS supported up to four floppy (mini-diskette) drives which used 5 1/4" (five and one quarter inch) diskettes with a capacity of 160K (kilobytes) each. The drives were numbered 0 through 3 and the system diskettes (which contained the TRS-DOS code and utilities) had to be in drive 0.

Some typical TRS-DOS utilities (commands):

TRS-DOS Utilities with MS-DOS and UNIX translations
UtilityMS-DOSUNIX/Linux
APPENDTYPE file1 >> file2cat file >> file2
ATTRIBATTRIBchmod
AUTOAUTOEXEC.BAT~/.profile or ~/.login or /etc/rc*
BACKUPDISKCOPYtar, cpio, pax, (many others)
CLOCK(???)in some shells: PS1="...\t..."
COPYCOPYcp
DIRDIRls
FORMATFORMATmkfs
FREECHKDSKdf
GETDISK/GETTAPE(???)dd
KILLDELrm
LISTTYPEcat
LOAD programPROGRAMprogram
PRINTTYPE file >> PRNlpr
PROTATTRIBchmod
RENAMEREN or RENAMEmv


Notes:
  • Since TRS-DOS didn't have the notion of redirection as UNIX/Linux and MS-DOS do, the APPEND command is somewhat different in concept than the UNIX or MS-DOS notion of appending via output redirection.
  • The CLOCK command display a real time clock in the upper corner of the display, almost like a DOS TSR (terminate and stay resident); no exactly corresponding feature exists in MS-DOS or UNIX, though many programs provided similar features for DOS and the common UNIX shells could embed the time into their user defined "prompt string"
  • I don't remember MS-DOS tape handling commands; UNIX never interfaced to audio cassettes like the TRS-80 but the dd command is similar in concept
  • program invocation under DOS and UNIX is done by filename; no explicit LOAD command is required for normal binary executables nor for text command files (.BAT files in DOS and shell scripts in UNIX/Linux).
  • Under DOS and UNIX printing a file can be done with redirection; under UNIX it's normally done by spooling the file to the "line printer" (using the lpr command) because UNIX is conventionally a multi-user system.
  • ATTRIB, PROT, and the chmod UNIX command are all somewhat different in their semantics. UNIX/Linux is multi-user and each user can control read, write, and execute permissions on his or her own files and directories. MS-DOS is single user and the file attributes for "read-only," "hidden," and "system" are advisory in nature. TRS-DOS was single user but supported some sort of on disk password protection for specific files.
  • The AUTO coomand set an automatic command to be executed on TRS-DOS boot; under MSDOS the special, reserved file named AUTOEXEC.BAT contained a list of such commands. On UNIX a set of one or more rc files under /etc/ are a set of boot time "run commands" and special "dot files" in a user's home directory are run for each time that a given user logs into the system. UNIX supports many other "dotfiles" for many of its commands which are akin to the Macintosh "preferences" folder contents.

Although MS-DOS owes its heritage most closely to CP/M and thence to TOPS-10, it should be obvious that many of the file manipulation commands are very similar to those of TRS-DOS. By comparison the CP/M command for copying files was called pip (both a pun on the Pip printers, a chain of copy centers in that era; and standing for "peripheral interface to peripheral").

CLOAD"FILENAME" is the format for loading tape programs on a TRS-80.

Dates

  • May 8, 1979 - Radio Shack releases TRSDOS 2.3
  • May 1, 1981 - Radio Shack releases Model III TRSDOS 1.3

External links

10-26-2009 08:16:03
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
Science kits, science lessons, science toys, maths toys, hobby kits, science games and books - these are some of many products that can help give your kid an edge in their science fair projects, and develop a tremendous interest in the study of science. When shopping for a science kit or other supplies, make sure that you carefully review the features and quality of the products. Compare prices by going to several online stores. Read product reviews online or refer to magazines.

Start by looking for your science kit review or science toy review. Compare prices but remember, Price $ is not everything. Quality does matter.
Science Fair Coach
What do science fair judges look out for?
ScienceHound
Science Fair Projects for students of all ages
All Science Fair Projects.com Site
All Science Fair Projects Homepage
Search | Browse | Links | From-our-Editor | Books | Help | Contact | Privacy | Disclaimer | Copyright Notice