--- title: "TOS V A.2 Demo Disk" id: 72991 type: "computer_media" slug: "tos-v-a-2-demo-disk" url: "http://localhost/computer_media/tos-v-a-2-demo-disk/" markdown_url: "http://localhost/computer_media/tos-v-a-2-demo-disk.md" published_at: "2026-10-27T21:30:05+00:00" modified_at: "2026-10-27T21:30:05+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/10/tos-demo-disk-tc2068.jpg" excerpt: "Timex Portugal's demonstration disk for its TOS disk operating system, with maths, games, utility and filing examples and an on-disk command reference." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "Timex Portugal" slug: "timex-portugal" taxonomy: "post_tag" url: "http://localhost/tag/timex-portugal/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" model: - name: "Sinclair ZX Spectrum" slug: "zxspectrum" taxonomy: "model" url: "http://localhost/model/zxspectrum/" - name: "Timex Computer 2068" slug: "timex-computer-2068" taxonomy: "model" url: "http://localhost/model/timex-computer-2068/" - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" genre: - name: "Demo" slug: "demo" taxonomy: "genre" url: "http://localhost/type/demo/" media_type: "Diskette" download_url: "https://archive.org/download/timex-sinclair-software-archive/TOS%20V%20A.2%20Demo%20Disk%20%28198x%29%28Timex%20Portugal%29%28TS2068%29%28PT%29%28Diskette%29.zip" tsrun_member: "TOS V A.2 Demo Disk (198x)(Timex Portugal)(TS2068)(PT)(Diskette)/Calendar.tap" mediadate: "198x" producer_company: - id: 11402 title: "Timex (TMX) Portugal" type: "company" url: "http://localhost/company/timex-portugal/" images: - url: "http://localhost/wp-content/uploads/2026/10/tos-demo-disk-tc2068.jpg" - url: "http://localhost/wp-content/uploads/2026/10/calendar-3.png" - url: "http://localhost/wp-content/uploads/2026/10/linear-2.png" - url: "http://localhost/wp-content/uploads/2026/10/dice-1.png" - url: "http://localhost/wp-content/uploads/2026/10/tos-demo-disk-spectrum.jpg" - url: "http://localhost/wp-content/uploads/2026/10/tos-barcode-disk.jpg" article_media: - id: 65858 title: "ZEBRA/TIMEX FDD Disk System: Directory Track Reader" type: "article" url: "http://localhost/article/zebra-timex-fdd-disk-system-directory-track-reader/" - id: 15418 title: "Zebra/Timex FDD Disk System" type: "article" url: "http://localhost/article/zebra-timex-fdd-disk-system/" - id: 46087 title: "A Test Drive of the Zebra Floppy Disk Drive Systems" type: "article" url: "http://localhost/article/a-test-drive-of-the-zebra-floppy-disk-drive-systems/" - id: 64793 title: "Review: Disk Drive by Timex of Portugal" type: "article" url: "http://localhost/article/review-disk-drive-by-timex-of-portugal/" - id: 42521 title: "TOS Revealed By CP/M" type: "article" url: "http://localhost/article/tos-revealed-by-cp-m/" - id: 6272 title: "Zebra Disk Drive System for the 2068" type: "article" url: "http://localhost/article/zebra-disk-drive-system-for-the-2068/" related_products: - id: 12543 title: "FDD 3000 Disk Drive system" type: "product" url: "http://localhost/product/fdd-3000-disk-drive-system/" - id: 12542 title: "FDD 3 Disk Drive system" type: "product" url: "http://localhost/product/fdd-3-disk-drive-system/" - id: 12547 title: "FDD-3000 Spectrum Mode Option" type: "product" url: "http://localhost/product/fdd-3000-spectrum-mode-option/" related_content: - id: 53289 title: "Zebra Floppy Disk Drive System user manual" type: "document" url: "http://localhost/document/zebra-floppy-disk-drive-system-user-manual/" - id: 35579 title: "Timex Computer FDD3000 Service Manual" type: "document" url: "http://localhost/document/timex-computer-fdd3000-service-manual/" - id: 44357 title: "TOPS (Timex of Portugal Systems)" type: "periodical" url: "http://localhost/periodical/tops-timex-of-portugal-systems/" media_type_tags: "Demo" license: false --- # TOS V A.2 Demo Disk The TOS V A.2 Demo Disk is the demonstration disk Timex Computer of Portugal supplied with its FDD disk drives and the TOS (Timex Operating System) that runs them. The disk is organised in TOS folders: MATHS (linear regression, a random number generator and a quadratic equation solver), FUN (a calendar, a colour bar display and, in FUN/GAMES, a dice game and a number-guessing game), UTIL (disk backup, screen dump, printer and RS232 utilities) and FILING (a random-access address file demo). A help program lists every TOS command with its syntax and a description. Two editions survive, both with the volume name DEMO: one labelled for the TC 2068 and one for the Spectrum. The maths and fun programs are identical on both; the Spectrum edition has its own versions of the help program and of the backup, system-load, dump and printer utilities. In the United States Zebra Systems sold the drives for the Timex/Sinclair 2068, which used them in Spectrum mode through Zebra’s adapter. ## The download - Seven tape conversions of the plain BASIC programs: Calendar, Colours, Dice, Hi-Lo, Linear Regression, Quadratic Equations and Random Numbers. They contain no disk commands and are unchanged from the disk. - `TOS command reference.txt`: the help program’s screens rendered as text. It covers ATTR *, CAT *, CLOSE #*, MOVE *, DIM *, ERASE *, FORMAT *, GO SUB *, GO TO *, INPUT *#, LIST *, LOAD *, MERGE *, LET *, OPEN #*, PRINT *#, RESTORE *, DRAW *, SAVE * and NEXT *, including pathnames, templates, the directory stack, file protection and the serial channels (SCPs). - Disk images of both editions and of the Timex Portugal “BARCODE” disk, for the FUSE emulator with the FDD3000 interface (fdd3000e). - Every file of both editions as a TAP, in the disk’s folder layout. The UTIL and FILING programs use TOS commands and the drive’s RS232 channels, so they need the disk system. - The Bar Code Reader demo from the BARCODE disk (Spectrum): a BASIC menu and a driver at 65300 for a Timex Portugal bar code reader, supporting UPC/EAN/JAN/WPC, CODABAR, CODE 39 and 2 of 5. It needs the reader hardware. - Diskread, a TOS file information utility found on another copy of the demo disk. Its REMs credit Chuck Dawson, with output format changes by D. Franson dated 2/27/87. It opens a file as a TOS channel and reads its header to show the file type, autostart line, lengths and start address. ## Program Analysis ### The TOS command syntax TOS adds its commands to Sinclair BASIC by following ordinary keywords with an asterisk: `LOAD *"pathname"`, `CAT *`, `OPEN #*1;"file";r;100`, `PRINT *#1;r$;AT n`. Pathnames use colons as separators, as in `":demo:filing:address.rec"` in the address demo, and files and directories are created with `DIM *`. The address demo opens a random-access file of 100-byte records and reads or writes a record by number. ### The demo programs Calendar draws a month grid with PLOT and DRAW after asking for the month and year, and can also count the days between two dates or give the day of the week. Linear Regression collects points, computes the least-squares slope and intercept and plots the points as small circles with the fitted line. Dice redefines a UDG as a pip and rolls five dice, letting you hold dice between throws. Colours fills the screen with the eight PAPER colours at normal and bright levels. ### Notable Techniques - Calendar uses a day-number formula with century corrections and works out the weekday as the remainder after dividing by 7. - Dice marks the die being chosen by POKEing a FLASH attribute directly into the attribute file. ### Potential Issues - Calendar’s month string reads `Set` and `Ocb` for September and October. - Linear Regression prints the intercept as a tiny floating-point remainder (such as 5.96E-9) when the true value is zero. The seven tape programs were tested in ZEsarUX on a stock TS2068. Programs that use TOS commands were not tested, because ZEsarUX has no FDD emulation.