ArticleslgStudy

computer science

TRSDOS

TRSDOS is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand TRSDOS rather than just read about it. In short: TRSDOS (Tandy Radio Shack Disk Operating System) is the operating system for the Tandy TRS-80 line of eight-bit Zilog Z80 microcomputers sold through Radio Shack from 1977 through 1991. Tandy's manuals recommended that it be pronounced triss-doss.

TRSDOS — main illustration
TRSDOS — illustration

Key takeaways

  • TRSDOS belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect TRSDOS to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of TRSDOS from memory before moving on to harder problems.

Reference excerpt

TRSDOS (Tandy Radio Shack Disk Operating System) is the operating system for the Tandy TRS-80 line of eight-bit Zilog Z80 microcomputers sold through Radio Shack from 1977 through 1991. Tandy's manuals recommended that it be pronounced triss-doss. TRSDOS should not be confused with Tandy DOS, a version of MS-DOS licensed from Microsoft for Tandy's x86 line of personal computers (PCs). With the original TRS-80 Model I of 1977, TRSDOS 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 non-disk Model I systems. Later disk-equipped Model III computers used a completely different version of TRSDOS by Radio Shack which culminated in 1981 with TRSDOS Version 1.3. From 1983 disk-equipped TRS-80 Model 4 computers used TRSDOS Version 6, which was a development of Model III LDOS by Logical Systems, Inc. This last was updated in 1987 and released as LS-DOS 6.3. Completely unrelated was a version of TRSDOS by Radio Shack for its TRS-80 Model II and TRS-80 Model 12 professional computers from 1979, also based on the Z80 and equipped with 8-inch disk drives. The later machines in this line, the Models 16 and 16B and Tandy 6000, used the Z80 as an I/O processor for its main Motorola 68000 chip when running operating systems on the 68000, and could run the Model II version of TRSDOS for backwards compatibility with older Z80 applications software. When running the older Z80 operating systems, the 68000 was unused.

History Tandy Corporation's TRS-80 microcomputer did not have a disk drive or disk operating system at release. The first version of TRSDOS, by Randy Cook, was so buggy that others wrote alternatives, including NewDOS and LDOS. After disputes with Cook over ownership of the source code, Tandy hired Logical Systems, LDOS's developer, to continue TRSDOS development. TRSDOS 6, shipped with the TRS-80 Model 4 in 1983, is identical to LDOS 6.00.

Dates October, 1979 – Radio Shack releases TRSDOS 2.3 May 1, 1981 – Radio Shack releases Model III TRSDOS 1.3 April 26, 1983 – Radio Shack introduces TRSDOS Version 6.0 with the new Model 4s 1984 – Radio Shack releases Version 6.2, the definitive version for the Model 4 1984 – Logical Systems publishes The Source, the commented assembler source code to TRSDOS 6.2 Late 1986 – Logical Systems releases LS-DOS 6.3, the functionally equivalent update to TRSDOS 6.2. From this date, Tandy/Radio Shack ships it with the Model 4D.

Features and capabilities Radio Shack's Z80-based line of TRS-80 computers (Models I/III and Model 4) support up to four physical floppy (mini-diskette) drives which (as sold) use 5¼-inch diskettes. The original TRSDOS for the Model I supported only single-sided disks with 35 tracks formatted in single density (sectors are encoded using the frequency modulation technique). Model III TRSDOS (culminating in version 1.3) supported 40-track disks formatted in double density (using modified frequency modulation). Model Is retrofitted with double density controllers and Models I/III equipped with 80-track drives or double-sided drives could not use TRSDOS; RadioShack sold Logical System's LDOS operating system which could control these types of drives. The Model 4's TRSDOS 6 is a development of LDOS and has the same capabilities. Hard disk drives (then also known as Winchester drives) required custom driver software supplied by their manufacturers. These drivers permitted any TRSDOS installation to access them with up to eight possible drive partitions, each assigned to drive numbers zero through seven. A large hard drive could be formatted with more than eight partitions, but TRSDOS can only access eight drives during any one session. Hard drives could have some partitions formatted under TRSDOS and others under the CP/M OS. Each floppy drive in the system would also take up one drive number assignment. The Model 4 could also create and use a ramdisk (Memdisk), which would then also require a drive number assigned to it. All versions of TRSDOS use overlays to satisfy most system requests, and disk directories are not maintained in memory. This has two implications for system performance. First, upon initial file access the DOS always references the disk directory to obtain information giving the physical mapping of disk space allocated to the file (including its extents, if any). After the initial access this information is maintained in a File Control Block, the memory space for which is supplied by the calling application. Further references do not need to read the disk directory (unless the file is written to and more disk space needs to be allocated). For this reason system performance depends greatly on how close a file's allocated disk space(s) is/are to the directory cylinder, and how fragmented (having extents located in non-contiguous locations) the file is. The farther away the directory cylinder is, the more the drive's read/write head will need to move, which slows disk access and produces more mechanical wear on the drive. TRSDOS has commands permitting the user to optimize placement of particular files on the disk's physical space, and a FREE command, which displays a map of a file's physical placement on a drive. The second implication of the overlay-based architecture is that a disk containing TRSDOS system files (file extension /SYS) must always be present in whichever drive is assigned as logical drive number zero. (On the Model 4 this may be the Memdisk, thus freeing physical drive zero be used for a non-system data disk). LDOS and TRSDOS 6 have a SYSRES command which loads selected system files into Z80 RAM, thus freeing space on the system disk for non-system data. All versions have variants of the SYSTEM command which can reassign logical drive numbers to physical drives. It is possible to assign drive numbers in a way that a physical drive is unassigned a logical drive number; this is sometimes useful to guarantee that the drive cannot be accessed for security or safety (write protection) purposes. (Drives may also be set by the DOS to be write protected.)

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with TRSDOS

Start with the simplest possible case. Write down what TRSDOS claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to TRSDOS before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about TRSDOS ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of TRSDOS

In research
TRSDOS appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses TRSDOS in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
TRSDOS is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1977 software, Discontinued operating systems, Disk operating systems, so understanding it makes those chapters shorter.
In everyday life
Look for TRSDOS outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “TRSDOS” →

How to study TRSDOS in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what TRSDOS means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain TRSDOS out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is TRSDOS in simple terms?

TRSDOS (Tandy Radio Shack Disk Operating System) is the operating system for the Tandy TRS-80 line of eight-bit Zilog Z80 microcomputers sold through Radio Shack from 1977 through 1991. Tandy's manuals recommended that it be pronounced triss-doss.

Why does TRSDOS matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study TRSDOS?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on TRSDOS.

Tags

  • 1977 software
  • Discontinued operating systems
  • Disk operating systems
  • TRS-80

Keep exploring