Type-in program

Last updated
An example of hexadecimal MLX type-in program code as printed in a Compute!'s Gazette magazine ComputesGazetteProgramPage.jpg
An example of hexadecimal MLX type-in program code as printed in a Compute!'s Gazette magazine

A type-in program or type-in listing was computer source code printed in a home computer magazine or book. It was meant to be entered via the keyboard by the reader and then saved to cassette tape or floppy disk. The result was a usable game, utility, or application program.

Contents

Type-in programs were common in the home computer era from the late 1970s through the early 1990s, when the RAM of 8-bit systems was measured in kilobytes and most computer owners did not have access to networks such as bulletin board systems.

Magazines such as Softalk , Compute! , ANALOG Computing , and Ahoy! dedicated much of each issue to type-in programs. The magazines could contain multiple games or other programs for a fraction of the cost of purchasing commercial software on removable media, but the user had to spend up to several hours typing each one in. Most listings were either in a system-specific BASIC dialect or machine code. Machine code programs were long lists of decimal or hexadecimal numbers, often in the form of DATA statements in BASIC. [1] Most magazines had error checking software to make sure a program was typed correctly.

Type-in programs did not carry over to 16-bit computers such as the Amiga and Atari ST in a significant way, as both programs and data (such as graphics) became much larger. It became common to include a covermount 3 12-inch floppy disk or CD-ROM with each issue of a magazine.

Description

A reader would take a printed copy of the program listing, such as from a magazine or book, sit down at a computer, and manually enter the lines of code. Computers of this era automatically booted into a programming environment – even the commands to load and run a prepackaged program were really programming commands executed in direct mode. After typing the program in, the user would be able to run it and also to save it to disk or a cassette for future use. Users were often cautioned to save the program before running it, as errors could result in a crash requiring a reboot, which would render the program irretrievable unless it had been saved. While some type-in programs were short, simple utility or demonstration programs, many type-ins were fully functional games or application software, sometimes rivaling commercial packages.

Type-ins were usually written in BASIC or a combination of a BASIC loader and machine code. In the latter case, the opcodes and operands of the machine code part were often simply given as DATA statements within the BASIC program, and were loaded using a POKE loop, since few users had access to an assembler. [lower-alpha 1] In some cases, a special program for entering machine code numerically was provided. Programs with a machine code component sometimes included assembly language listings for users who had assemblers and who were interested in the internal workings of the program.

The downside of type-ins was labor. The work required to enter a medium-sized type-in was on the order of hours. If the resulting program turned out not to be to the user's taste, it was quite possible that the user spent more time keying in the program than using it. Additionally, type-ins were error-prone, both for users and for the magazines. This was especially true of the machine code parts of BASIC programs, which were nothing but line after line of data, e.g. DATA statements in the BASIC language. In some cases where the version of ASCII used on the type of computer the program was published for included printable characters for each value from 0–255, the code could have been printed using strings that contained the glyphs that the values mapped to, or a mnemonic such as [SHIFT-R] instructing the user which keys to press. While a BASIC program would often stop with an error at an incorrect statement, the machine code parts of a program could fail in untraceable ways. This made the correct entry of programs difficult. [lower-alpha 2]

Other solutions existed for the tedium of typing in seemingly-endless lines of code. Freelance authors wrote most magazine type-in programs and, in the accompanying article, often provided readers a mailing address to send a small sum (US$3 was typical) to buy the program on disk or tape. By the mid-1980s, recognising this demand from readers, many US-published magazines offered all of each issue's type-ins on an optional disk, often with a bonus program or two. Some of these disks became electronic publications in their own right, outlasting their parent magazine as happened with Loadstar . Some UK magazines occasionally offered a free flexi disc that played on a turntable connected to the microcomputer's cassette input. Other input methods, such as the Cauzin Softstrip, were tried, without much success.

Not all type-ins were long. Run magazine's "Magic" column specialized in one-liner programs for the Commodore 64. [2] These programs were often graphic demos or meant to illustrate a technical quirk of the computer's architecture; the text accompanying the graphics demo programs would avoid explicitly describing the resultant image, enticing the reader to type it in. [3]

History

Type-in programs preceded the home computer era. As David H. Ahl wrote in 1983:

In 1971, while education product line manager at Digital Equipment Corp., I put out a call for games to educational institutions throughout North America. I was overwhelmed with the response. I selected the best games and put them together in a book, 101 Basic Computer Games . After putting the book together on my own time, I convinced reluctant managers at DEC to publish it. They were convinced it wouldn't sell. It, plus its sequel, More Basic Computer Games have sold over half a million copies proving that people are intrigued by computer games. [4]

Upon Ahl's departure from DEC in July 1974, he initiated a bimonthly magazine titled Creative Computing while serving as an educational marketing manager at AT&T. The inaugural issue was released in October of that year, and by the fourth year, a team of eight individuals were working on it. The magazine featured computer games and its debut coincided with the introduction of the Altair 8800 - the first widely accessible computer kit - which was announced in January 1975, according to Ahl. [5]

Most early computer magazines published type-in programs. The professional and business-oriented journals such as Byte and Popular Computing printed them less frequently, often as a test program to illustrate a technical topic covered in the magazine rather than an application for general use. [6] Consumer-oriented publications such as Compute! and Family Computing ran several each issue. The programs were sometimes specific to a given home computer and sometimes compatible with several computers. Platform-specific magazines such as Compute!'s Gazette (VIC-20 and Commodore 64) and Antic (Atari 8-bit computers), since they only had to print one version of each program, were able to print more, longer listings.

Although type in programs were usually copyrighted, like the many games in BASIC Computer Games , authors often encouraged users to modify them, adding capabilities or otherwise changing them to suit their needs. Many authors used the article accompanying the type-ins to suggest modifications for the reader and programmer to perform. Users would sometimes send their changes back into the magazine for later publication. [7] This could be considered a predecessor to open source software, but today most open source licenses specify that code be available in a machine-readable format.

Antic stated in 1985 that its staff "spends a good portion of our time diligently combing the incoming submissions for practical application programs. We receive a lot of disk directory programs, recipe file storers, mini word processors, and other rehashed versions of old ideas". [8] While most type-ins were simple games or utilities and likely only to hold a user's interest for a short time, some were very ambitious, rivaling commercial software. Perhaps the most famous example is the type-in word processor SpeedScript , published by Compute!'s Gazette and Compute! for several 8-bit computers starting in 1984. Compute! also published SpeedScript, along with some accessory programs, in book form. It retained a following into the next decade as users refined and added capabilities to it.

Compute! discontinued type-in programs in May 1988, stating "As computers and software have grown more powerful, we've realized it's not possible to offer top quality type-in programs for all machines. And we also realize that you're less inclined to type in those programs". [9] As the cost of cassette tapes and floppy disks declined, and as the sophistication of commercial programs and the technical capabilities of the computers they ran on steadily increased, the importance of the type-in declined. In Europe, magazine covermount disks became common, and type-ins became virtually non-existent.

Validation software

To prevent errors when typing in listings, most publications provided short programs to verify that code was entered correctly. These were specific to a magazine or family of magazines, and different validation programs were usually used for BASIC source and binary data.

Compute! and Compute!'s Gazette printed a short listing in each issue for The Automatic Proofreader to check BASIC programs, while ANALOG Computing used D:CHECK (for disk) and C:CHECK (for cassette tape). For binary listings, Compute! offered MLX, which was an interactive program for entering data. ANALOG Computing presented machine code programs as BASIC DATA statements, then prepended a short program to compute checksums. Running the program output a list of values to be checked against those printed in the magazine. Upon successful validation, the program was saved as a binary file and the BASIC code no longer needed. The MIKBUG machine code monitor for the Motorola 6800 of the late 1970s incorporated a checksum into its hexadecimal program listings. [10]

See also

Notes

  1. Listings for the BBC Micro and Acorn Electron, whose BASIC ROM included an assembler, were generally presented as assembly code, providing a somewhat better chance of catching errors and making it easier for knowledgeable users to modify the program. Ahoy! magazine was also notable for printing assembly code listings, even though it covered the Commodore 64 platform, which did not include an assembler.
  2. An example of the sometimes excessively long type-ins to be encountered was a BASIC extension for the Commodore 64 published in the Finnish magazine MikroBitti ; the program's machine code portion made up 20 pages full of numbers for the reader to enter flawlessly into the computer.

Related Research Articles

<span class="mw-page-title-main">Commodore 64</span> 8-bit home computer introduced in 1982

The Commodore 64, also known as the C64, is an 8-bit home computer introduced in January 1982 by Commodore International. It has been listed in the Guinness World Records as the highest-selling single computer model of all time, with independent estimates placing the number sold between 12.5 and 17 million units. Volume production started in early 1982, marketing in August for US$595. Preceded by the VIC-20 and Commodore PET, the C64 took its name from its 64 kilobytes(65,536 bytes) of RAM. With support for multicolor sprites and a custom chip for waveform generation, the C64 could create superior visuals and audio compared to systems without such custom hardware.

<span class="mw-page-title-main">TRS-80</span> 1977 microcomputer by Tandy Corporation

The TRS-80 Micro Computer System is a desktop microcomputer launched in 1977 and sold by Tandy Corporation through their Radio Shack stores. The name is an abbreviation of Tandy Radio Shack, Z80 [microprocessor]. It is one of the earliest mass-produced and mass-marketed retail home computers.

<span class="mw-page-title-main">Atari 8-bit computers</span> 1979-1991 home computer series

The Atari 8-bit computers, formally launched as the Atari Home Computer System, are a series of home computers introduced by Atari, Inc., in 1979 with the Atari 400 and Atari 800. The architecture is designed around the 8-bit MOS Technology 6502 CPU and three custom coprocessors which provide support for sprites, smooth multidirectional scrolling, four channels of audio, and other features. The graphics and sound are more advanced than most of its contemporaries, and video games are a key part of the software library. The 1980 first-person space combat simulator Star Raiders is considered the platform's killer app.

<span class="mw-page-title-main">Commodore PET</span> Personal computer system

The Commodore PET is a line of personal computers produced starting in 1977 by Commodore International. A single all-in-one case combines a MOS Technology 6502 microprocessor, Commodore BASIC in read-only memory, keyboard, monochrome monitor, and, in early models, a cassette deck.

<span class="mw-page-title-main">Atari BASIC</span> Dialect of the BASIC programming language

Atari BASIC is an interpreter for the BASIC programming language that shipped with Atari 8-bit computers. Unlike most American BASICs of the home computer era, Atari BASIC is not a derivative of Microsoft BASIC and differs in significant ways. It includes keywords for Atari-specific features and lacks support for string arrays.

Commodore BASIC, also known as PET BASIC or CBM-BASIC, is the dialect of the BASIC programming language used in Commodore International's 8-bit home computer line, stretching from the PET (1977) to the Commodore 128 (1985).

<span class="mw-page-title-main">Lunar Lander (video game genre)</span> Moon landing simulation games

Lunar Lander is a genre of video games loosely based on the 1969 landing of the Apollo Lunar Module on the Moon. In Lunar Lander games, players control a spacecraft as it falls toward the surface of the Moon or other astronomical body, using thrusters to slow the ship's descent and control its horizontal motion to reach a safe landing area. Crashing into obstacles, hitting the surface at too high a velocity, or running out of fuel all result in failure. In some games in the genre, the ship's orientation must be adjusted as well as its horizontal and vertical velocities.

<i>Run</i> (magazine) Defunct American computer magazine

Run was an American computer magazine published monthly by IDG Communications with its first issue debuting in January 1984. Bi-monthly publishing began in June/July 1990, and went on until the magazine folded in November/December 1992. In its heyday, Run's monthly circulation was in the 200,000–300,000 range. Folio, the trade journal of the magazine industry, rated it as the second fastest-growing U.S. magazine of 1985.

The Commodore 64 amassed a large software library of nearly 10,000 commercial titles, covering most genres from games to business applications, and many others.

<i>Compute!</i> Defunct American home computer magazine

Compute!, often stylized as COMPUTE!, was an American home computer magazine that was published from 1979 to 1994. Its origins can be traced to 1978 in Len Lindsay's PET Gazette, one of the first magazines for the Commodore PET computer. In its 1980s heyday, Compute! covered all major platforms, and several single-platform spinoffs of the magazine were launched. The most successful of these was Compute!'s Gazette, which catered to VIC-20 and Commodore 64 computer users.

<span class="mw-page-title-main">Commodore DOS</span> Operating system

Commodore DOS, also known as CBM DOS, is the disk operating system used with Commodore's 8-bit computers. Unlike most other DOSes, which are loaded from disk into the computer's own RAM and executed there, CBM DOS is executed internally in the drive: the DOS resides in ROM chips inside the drive, and is run there by one or more dedicated MOS 6502 family CPUs. Thus, data transfer between Commodore 8-bit computers and their disk drives more closely resembles a local area network connection than typical disk/host transfers.

<i>Creative Computing</i> (magazine) Periodical literature

Creative Computing was one of the earliest magazines covering the microcomputer revolution. Published from October 1974 until December 1985, the magazine covered the spectrum of hobbyist/home/personal computing in a more accessible format than the rather technically oriented Byte.

<span class="mw-page-title-main">Disk magazine</span> Electronic magazine to be read using computers

A disk magazine, colloquially known as a diskmag or diskzine, is a magazine that is distributed in electronic form to be read using computers. These had some popularity in the 1980s and 1990s as periodicals distributed on floppy disk, hence their name. The rise of the Internet in the late 1990s caused them to be superseded almost entirely by online publications, which are sometimes still called "diskmags" despite the lack of physical disks.

<i>Antic</i> (magazine) Defunct Atari 8-bit computer magazine

Antic was a print magazine devoted to Atari 8-bit computers and later the Atari ST. It was named after the ANTIC chip in the 8-bit line which, in concert with CTIA or GTIA, generates the display. The magazine was published by Antic Publishing from April 1982 until June/July 1990.Antic printed type-in programs, reviews, and tutorials, among other articles. Each issue contained one type-in game as "Game of the Month." In 1986, STart magazine was spun off to exclusively cover the Atari ST line.

<i>ANALOG Computing</i> Defunct Atari 8-bit computer magazine

ANALOG Computing was an American computer magazine devoted to Atari 8-bit computers. It was published from 1981 until 1989. In addition to reviews and tutorials, ANALOG printed multiple programs in each issue for users to type in. Almost every issue included a machine language video game—as opposed to Atari BASIC—which were uncommon in competing magazines. Such games were accompanied by the assembly language source code. ANALOG also sold commercial games, two books of type-in software, and access to a custom bulletin-board system. After the Atari ST was released, coverage of the new systems moved to an ST-Log section of the magazine before spinning off into a separate publication under the ST-Log name.

<span class="mw-page-title-main">Simons' BASIC</span>

Simons' BASIC is an extension to BASIC 2.0 for the Commodore 64 home computer. Written by British programmer David Simons in 1983, who was 16 years old at the time, it was distributed by Commodore as a cartridge.

The ZX Spectrum's software library was very diverse. While the majority of the software produced for the system was video games, others included programming language implementations, Sinclair BASIC extensions, databases, word processors, spread sheets, drawing and painting tools, and 3D modelling tools.

<span class="mw-page-title-main">Atari 8-bit computer software</span>

Many games, utilities, and educational programs were available for Atari 8-bit computers. Atari, Inc. was primarily the publisher following the launch of the Atari 400/800 in 1979, then increasingly by third parties. Atari also distributed "user written" software through the Atari Program Exchange from 1981 to 1984. After APX folded, many titles were picked up by Antic Software.

<span class="mw-page-title-main">Home computer</span> Class of microcomputers

Home computers were a class of microcomputers that entered the market in 1977 and became common during the 1980s. They were marketed to consumers as affordable and accessible computers that, for the first time, were intended for the use of a single, non-technical user. These computers were a distinct market segment that typically cost much less than business, scientific, or engineering-oriented computers of the time, such as those running CP/M or the IBM PC, and were generally less powerful in terms of memory and expandability. However, a home computer often had better graphics and sound than contemporary business computers. Their most common uses were word processing, playing video games, and programming.

BASIC-8, is a BASIC programming language for the Digital Equipment (DEC) PDP-8 series minicomputers. It was the first BASIC dialect released by the company, and its success led DEC to produce new BASICs for its future machines, notably BASIC-PLUS for the PDP-11 series. DEC's adoption of BASIC cemented the use of the language as the standard educational and utility programming language of its era, which combined with its small system requirements, made BASIC the major language during the launch of microcomputers in the mid-1970s.

References

  1. Hague, James (February 10, 2010). "Optimizing for Fan Noise". Programming in the Twenty-First Century. Archived from the original on September 14, 2017. Retrieved August 20, 2017.
  2. "Run Magazine Special Issue 1986".
  3. "RUN magazine issue 35".
  4. Ahl, David H. "Editorial. Archived 2006-01-04 at the Wayback Machine " Creative Computing Video & Arcade Games, Spring 1983.
  5. Crookes, David (July 2021). "Type-in of the Dead". Wireframe. No. 52. pp. 70–75.
  6. "High Speed Pascal Text File I/O, Byte Jan 1983".
  7. "RUN magazine issue 39 March 1987 Page 78". Archived from the original on 2022-10-04. Retrieved 2017-09-17.
  8. Ferguson, Dr. John C. (May 1985). "Beer Party Atari". Antic. p. 43. Retrieved 7 January 2015.
  9. Keizer, Gregg (May 1988). "Editorial License". Compute!. p. 4. Retrieved 10 November 2013.
  10. Stanfield, David E (June 1979). "My Computer Runs Mazes". Byte . p. 86. Retrieved 18 October 2013.