All Topics  
Type-in program

 

   Email Print
   Bookmark   Link






 

Type-in program



 
 
A type-in program, or just type-in, is a computer program
Computer program

Computer programs are Instruction for a computer. A computer requires programs to function. Moreover, a computer program does not run unless its instructions are executed by a Central processing unit; however, a program may communicate an Algorithm#Formalization of algorithms to people without running....
 listing
Listing

Listing may refer to:* the mathematician Johann Benedict Listing* a computer code listing, see listing * in corporate finance, the company's shares being on the list of stocks that are officially traded on a stock exchange, see listing ...
 printed in a computer magazine or book, meant to be typed in by the reader in order to run the program on a computer. Very common in the early home computer
Home computer

A home computer was a class of personal computer entering the market in 1977 and becoming common during the 1980s. They were marketed to consumers as accessible personal computers, more capable than video game consoles....
 era of the late 1970s and 1980s, type-ins existed because of the period's lack of inexpensive portable storage media, the low frequency of usage of modem
Modem

Modem is a peripheral device that modulation an analog carrier wave Signal to encode digital information, and also demodulation such a carrier signal to decode the transmitted information....
s and bulletin board system
Bulletin board system

File:Monochrome-bbs.pngA Bulletin Board System, or BBS, is a computer system running list of BBS software that allows User to Telecommunication circuit and Logging to the system using a terminal program....
s, and the relatively short length needed for an instructive or entertaining program on a home computer with a main memory of a few tens of kilobyte
Kilobyte

Kilobyte is a unit of Computer data storage equal to either 1,024 bytes or 1,000 bytes , depending on context.It is abbreviated in a number of ways: KB, kB, K and Kbyte....
s.

END

To use this type-in, 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 two lines of code.






Discussion
Ask a question about 'Type-in program'
Start a new discussion about 'Type-in program'
Answer questions from other users
Full Discussion Forum



Encyclopedia


A type-in program, or just type-in, is a computer program
Computer program

Computer programs are Instruction for a computer. A computer requires programs to function. Moreover, a computer program does not run unless its instructions are executed by a Central processing unit; however, a program may communicate an Algorithm#Formalization of algorithms to people without running....
 listing
Listing

Listing may refer to:* the mathematician Johann Benedict Listing* a computer code listing, see listing * in corporate finance, the company's shares being on the list of stocks that are officially traded on a stock exchange, see listing ...
 printed in a computer magazine or book, meant to be typed in by the reader in order to run the program on a computer. Very common in the early home computer
Home computer

A home computer was a class of personal computer entering the market in 1977 and becoming common during the 1980s. They were marketed to consumers as accessible personal computers, more capable than video game consoles....
 era of the late 1970s and 1980s, type-ins existed because of the period's lack of inexpensive portable storage media, the low frequency of usage of modem
Modem

Modem is a peripheral device that modulation an analog carrier wave Signal to encode digital information, and also demodulation such a carrier signal to decode the transmitted information....
s and bulletin board system
Bulletin board system

File:Monochrome-bbs.pngA Bulletin Board System, or BBS, is a computer system running list of BBS software that allows User to Telecommunication circuit and Logging to the system using a terminal program....
s, and the relatively short length needed for an instructive or entertaining program on a home computer with a main memory of a few tens of kilobyte
Kilobyte

Kilobyte is a unit of Computer data storage equal to either 1,024 bytes or 1,000 bytes , depending on context.It is abbreviated in a number of ways: KB, kB, K and Kbyte....
s.

Description


Here is an example of a type-in:

Listing 1.

10 PRINT "HELLO, WORLD!
Hello world program

A "Hello World" program is a computer program that prints out "Hello world!" on a display device. It is used in many introductory tutorials for teaching a programming language....
" 20 END

To use this type-in, 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 two lines of code. After typing the program in, he would be able to run it and also to save it to disk or cassette for future use. For the simple program displayed above, this does not present many savings. However, many type-ins were fully functional games or software packages, sometimes rivaling commercial software.

Type-ins were usually written in BASIC or a combination of BASIC and machine language. In the latter case, the opcode
Opcode

In computer technology, an opcode is the portion of a machine language instruction that specifies the operation to be performed. Their specification and format are laid out in the instruction set architecture of the processor in question ....
s and operands of the machine language part were often simply given as DATA statements within the BASIC program, and were loaded using a POKE
PEEK and POKE

In computing, PEEK is a BASIC programming language function used for reading the contents of a memory cell at a specified memory address. The corresponding command to set the contents of a memory cell is POKE....
 loop, since few users had access to an assembler
Assembly language

An assembly language is a low-level language for programming computers. It implements a symbolic representation of the numeric machine codes and other constants needed to program a particular CPU architecture....
). In some cases, a special program for entering machine language numerically was provided. Programs with a machine language 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 language parts of BASIC programs, which were nothing but line after line of DATA statements (or in some cases where the computer's version of the ASCII code had a printable character for each value from 0-255, the code could have been printed using strings that contained the glyphs that the values mapped to); while a BASIC program would often stop with an error at an incorrect statement, the machine language parts of a program could fail in untraceable ways. This made the correct entry of programs difficult.

To counter the difficulty of keying a type-in, some magazines developed checksum
Checksum

A checksum or hash sum is a fixed-size data computed from an arbitrary block of digital data for the purpose of error detection that may have been introduced during its telecommunications or computer storage....
 programs. There were many different styles of checksum program, usually depending on the type of program being entered and on the complexity of the checksummer. Checksummers were proprietary and were often printed in every issue of the magazine. The most basic distinction was whether the checksummer was run only once, when the program had been completely keyed in, or whether it was used interactively. The former type either read the typed-in computer code off a disk, or read it directly from memory (this type of checksummer was usually manually appended to the end of a BASIC program). The checksum program would print a checksum for each line of code. The magazine would print the correct checksums adjacent to the listing, and the user would compare the two to catch errors. More advanced checksum programs were used interactively. They would take a line of code as it was entered and immediately produce a checksum which could be compared to the printed listing. Users, however, had to enter the checksum programs themselves correctly.

For example, COMPUTE! and COMPUTE!'s Gazette printed the BASIC listings for "The Automatic Proofreader
The Automatic Proofreader

The Automatic Proofreader is a series of checksum utilities published by COMPUTE! Publications for its COMPUTE! and COMPUTE!'s Gazette magazines, and various books....
" (to verify lines of BASIC) and "MLX
MLX

MLX is a series of Machine code entry utilities published by COMPUTE! Publications for COMPUTE!, COMPUTE!'s Gazette, and various books. These programs were designed to allow relatively easy entry of the Type-in program machine language listings that were often included in these publications....
" (for binary data) in each issue that carried type-in programs in these formats. Once the user had typed in "The Automatic Proofreader" correctly, he had bootstrapped
Bootstrapping (computing)

In computing, bootstrapping is a technique by which a simple computer program activates a more complicated system of programs. In the start up process of a computer system, a small program such as BIOS, initializes and tests that computer hardware, peripherals and external memory devices are connected, then loads a program from one of them a...
 his way to verifying "MLX" and other programs.

Beyond the manual labor of type-ins, it was not uncommon for certain magazines to print poor quality listings, presenting the reader with nearly illegible characters (especially in the case where machine-code data was printed using ASCII glyphs instead of DATA statements); this typically happened when transferring the list output from the era's ubiquitous 7–8-pin dot-matrix printers directly to the printing presses—sometimes even without prettyprinting (a particularly bad negligence in regard to listings which contained graphical characters representing control codes, used for e.g. cursor
Cursor

A cursor is a moving placement or pointer that indicates a position. English-speakers have used the term with this meaning since the 16th century, for a wide variety of movable or mobile position-markers....
 movements; such characters tended to be less legible than alphanumeric
Alphanumeric

Alphanumeric is a portmanteau of alphabetic and numeric and is used to describe the collection of Latin alphabet and Arabic numerals used by much of western society....
 ones in the first place). In other cases, the original program listing was already full of bugs by the time it had been type-set into the magazine, much to the frustration of readers. Magazines often issued "errata" notices for bad listings in subsequent issues.

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$
United States dollar

The United States dollar is the unit of currency of the United States and was defined by the Coinage Act of 1792 to be between 371 and 416 grains of silver ....
3 was the standard) 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 UK magazines occasionally offered a free Evatone
Flexi disc

The flexi disc is a Gramophone record made of a thin vinyl sheet with a molded-in spiral Phonograph pickup groove, and is designed to be playable on a normal phonograph turntable....
 that played on a vinyl record player connected to the microcomputer's cassette input. Other input methods, such as the Cauzin Softstrip
Cauzin Softstrip

Cauzin Softstrip was the first commercial Bar code#2D barcodes format. Introduced in 1985, it could store up to 1000 bytes per square inch, which was 20 to 100 times more than the bar codes of the day....
, were tried, without much success.

History


Type-in programs preceded the dawn of the home computer era. As David H. Ahl
David H. Ahl

David H. Ahl is the founder of Creative Computing magazine. He is also the author of many how-to books, including BASIC Computer Games, the first million-selling computer book....
 wrote in 1983:

In 1971, while education product line manager at Digital Equipment Corp.
Digital Equipment Corporation

Digital Equipment Corporation was a pioneering United States company in the computer industry. It is often referred to within the computing industry as DEC ....
, 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, . 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, have sold over half a million copies proving that people are intrigued by computer games.


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 a test program to illustrate a technical topic covered in the magazine rather than an application for general use. Consumer-oriented publications, especially platform-specific magazines such as COMPUTE!'s Gazette
COMPUTE!'s Gazette

COMPUTE!'s Gazette was a computer magazine of the 1980s, directed at users of Commodore International's 8-bit home computers. Publishing its first issue in July 1983, the Gazette was a Commodore-only daughter magazine of the computer hobbyist magazine COMPUTE!....
 (Commodore
Commodore International

Commodore, the commonly used name for Commodore International, was a United States electronics company based in West Chester, Pennsylvania which was a vital player in the home computer/personal computer field in the 1980s....
) and ANTIC
ANTIC (magazine)

Antic was the name of a home computer magazine devoted to the Atari 8-bit computer line . Its ISSN is 0113-1141. It took its name from the ANTIC chip which produced the Atari line's 2D computer graphics....
 (Atari
Atari

Atari is a corporate and brand name owned by several entities since its inception in 1972. It is currently owned by Atari Interactive, a wholly owned subsidiary of the French publisher Infogrames ....
), ran several each issue. Whether in book or magazine form, the programs were sometimes specific to a given home computer and sometimes compatible with several computers. Although such programs were usually copyrighted, authors often encouraged users to modify them, adding capabilities or otherwise changing them to suit their needs. Users would sometimes send their changes back into the magazine for later publication (in an early form of open source
Open source

Open source is an approach to design, development, and distribution offering practical accessibility to a product's source . Some consider open source as one of various possible design approaches, while others consider it a critical Strategy element of their business operations....
 software)

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
Word processor

A word processor is a computer Application software used for the production of any sort of printable material.Word processor may also refer to an obsolete type of stand-alone office machine, popular in the 1970s and 80s, combining the keyboard text-entry and printing functions of an electric typewriter with a dedicated computer for th...
 SpeedScript
SpeedScript

SpeedScript was a Type-in program Word processor for various home computers. Approximately 5 Kilobyte in length, it provided many of the same features as commercial word processing packages of the early 8-bit era, such as Easy Script and Bank Street Writer....
, published by COMPUTE!'s Gazette and COMPUTE!
COMPUTE!

COMPUTE! was an United States computer magazine that was published from 1979 to 1994, though it can trace its origin to 1978 in Len Lindsay's PET Gazette, one of the first magazines for the Commodore PET computer....
 Magazine for several 8-bit
8-bit

Eight-bit CPUs normally use an 8-bit data bus and a 16-bit address bus which means that their address space is limited to 64 KBs. This is not a "natural law", however, so there are exceptions....
 computers starting in 1984. It retained a following into the next decade as users refined and added capabilities to it.

As the cost of cassette tapes and floppy disk
Floppy disk

A floppy disk is a data storage medium that is composed of a disk of thin, flexible magnetic storage medium encased in a square or rectangle plastic shell....
s 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
Europe

Europe is, conventionally, one of the world's seven continents. Comprising the westernmost peninsula of Eurasia, Europe is generally divided from Asia to its east by the water divide of the Ural Mountains, the Ural , the Caspian Sea, and by the Caucasus Mountains to the southeast....
, magazine cover tapes/disks became common, and type-ins became virtually non-existent. In North America
North America

North America is the northern continent of the Americas, situated in the Earth's northern hemisphere and almost totally in the western hemisphere....
, type-ins remained popular for 8-bit
8-bit

Eight-bit CPUs normally use an 8-bit data bus and a 16-bit address bus which means that their address space is limited to 64 KBs. This is not a "natural law", however, so there are exceptions....
 computers well into the 1990s, although type-ins for 16
16-bit

16-bit architectureThe HP 2100#Descendants and variants , introduced in 1975, was the world's first 16-bit microprocessor.Prominent 16-bit processors include the PDP-11, Intel 8086, Intel 80286 and the WDC 65C816....
/32-bit
32-bit

The range of integer values that can be stored in 32 bits is 0 through 4,294,967,295 or -2,147,483,648 through 2,147,483,647 using two's complement encoding....
 computers quickly faded. Some magazines continued to print short code snippets for instruction purposes from time to time, but these 10–20-line segments would not be considered type-in programs in the proper sense.

Although type-in programs have disappeared today, the tradition of distributing software with magazines lived on, especially in Europe, with 3½" floppy disk
Floppy disk

A floppy disk is a data storage medium that is composed of a disk of thin, flexible magnetic storage medium encased in a square or rectangle plastic shell....
s included with magazines throughout most of the 1990s, eventually followed by CD-ROM
CD-ROM

CD-ROM is a pre-pressed Compact Disc that contains Computer data storage accessible to, but not writable by, a computer. While the Compact Disc format was originally designed for music storage and playback, the 1985 Yellow Book standard developed by Sony and Philips adapted the format to hold any form of Binary file....
s and DVD
DVD

DVD, also known as "Digital Versatile Disc" or "Digital Video Disc,"is a popular optical disc data storage device media format. Its main uses are video and data storage....
s.

See also

  • SpeedScript
    SpeedScript

    SpeedScript was a Type-in program Word processor for various home computers. Approximately 5 Kilobyte in length, it provided many of the same features as commercial word processing packages of the early 8-bit era, such as Easy Script and Bank Street Writer....
  • Micro Adventure
    Micro Adventure

    Micro Adventure is the title of a series of books for young adult readers, published by Scholastic, Inc. during the 1980s. The books are noted for the inclusion of short BASIC programming language type-in programs related to the plot of the story that the reader could type into their computers, and also for the use of Grammatical person nar...


External links

  • – By Jim Grimwood; original archive by Michael Bruhn