TV Typewriter Cookbook
Total Page:16
File Type:pdf, Size:1020Kb
TV Typewriter Cookbook by Don Lancaster SYNERGETICS SP PRESS 3860 West First Street, Thatcher, AZ 85552 USA (928) 428-4073 http://www.tinaja.com Copyright © 2010 by Synergetics Press Thatcher, Arizona 95552 THIRD EDITION FIRST PRINTING—2010 All rights reserved. Reproduction or use, without express permission of editorial or pictorial content, in any manner, is prohibited. No patent liability is assumed with respect to the use of the information contained herein. While every precaution has been taken in the preperation of this book, the publisher assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein. International Standard Book Number: 1-882193-13-4 Created in the United States of America. Preface This book shows you how to put your own words and pictures on ordinary tv sets. It's also a book on cheap things that can be connected to a microprocessor to get it to do genuinely useful tasks. If you are a computer hobbyist with a home-brew lashup, a serious professional data processor concerned with low-cost small machine systems, a video games freak, or a ham working with rttv. vou will find in depth information on tv typewriter technology, which today represents the only truly low-cost ( $30 to $150) microcomputer and small-systems display interface. If you are a software specialist, we \>\-ill be showing you the hardware that makes your software work, giving you the depth of background you will need for effec tive and efficient small-systems coding. If you are teaching micro processors, you will find this book useful as a primary or supple mental text on the high school through university levels. If you are into video recording, cable tv, or studio broadcasting, you will find techniques here for low-cost titling and annotation of existing pro gram material, as well as the means for video art synthesis. And, if you are an electronics technician, herein lies the answers on the standard ASCII code; serial transmission formats; keyboards and encoders; Teletype, cassette, and modem techniques; along with many of the integrated circuits and systems concepts that back them up. We start in Chapter 1 with some basics-what a tv typewriter is and what are its uses, configurations, and operating principles. After this, we take a quick look at the fundamentals of television raster scanning, followed in tum by the standard computer codes and their formats. A collection of essential terms involved with tvt's and microcomputer interface then follows. Chapter 2 is a catalog of integrated circuits you will find useful in tvt and interface work. It is organized in much the same way as the similar device chapter of the TTL Cookbook, also published by Howard W. Sams & Co., Inc. Memory is the topic of the next chapter. We consider three basic types: you-program PROMs, including a seven-segment calculator interface and a Selectric converter; factory-programmed ROMs, including particularly the dot-matrix character generator; and read- write or RAM technology that lets you selectively store and retrieve information. The 2102-style devices and their improved offspring are emphasized because of their ultralow cost, extreme simplicity of use, and microprocessor compatibility. Basic concepts of tvt system design appear in Chapter 4, including such things as timing-chain design and line-lock and EIA sync tech niques. Cursor and update circuitry, which is usually the hardest-to design part of a stand-alone tvt, is covered in Chapter 5. Cursor techniques range from the traditional count and compare and the ultrasimple McFadden system, to dedicated "super front panel" tvt's that work directly with microcomputers. Update systems include both frame-rate and direct memory access ( DMA) systems. Keyboards and encoders follow in Chapter 6, with a number of basic encoding techniques, key arrangements, and circuits shown. An extensive review of serial interface centered around the UART, or universal asynchronous receiver transmitter, is presented in Chapter 7. Here we also look at the bit boffer software-indepen dent, speed-tolerant cassette storage system, along with Teletype and standard interfaces and various types of modems. The care and feeding of the tv set are next in Chapter 8, which shows us both the rf and direct-video methods, along with several ways of extending video bandwidth for long line-length displays. We end t}_le chapter by looking at color subcarrier techniques-simple ways of adding one or more colors to your system for video games or art synthesis, or for other applications where you want to use color for added emphasis or value. Our last chapter is on hard copy (printed records) and color graphics. The full gamut of hard copy is covered, from computer Teletypes, Baudot Teletypes, and economical Selectric office type writer conversions, to ink squirters and special paper systems that include the electrosensitive, thermal, impact, and photographic systems. Our color graphics section shows you both ultracheap ways of converting an ordinary tvt into a limited-performance graphics mode and into a sophisticated 96 X 96 color matrix system that in cludes "chess" and "pong" interchangeable software. Finally, we take a quick look at where you can go from here-what is needed now in the way of further tvt-related development in which you can play an important part. DoN LANCASTER This book is dedicated to an amplifier with nothing to amplify. Contents CHAPTER 1 SoME BAsics . 7 Organization-Some TV Fundamentals-Dot-Matrix Scanning-The ASCII Computer Code-Baudot and Selectric Codes-Some Terms CHAPTER 2 INTEGRA TED CmcuiTs FOR TVT UsE . 26 Baud-Rate Generators-Character Generators-Keyboard Encoders -Line Drivers and Receivers-Programmable Read-Only Memories -Random-Access Memories-Serial Interface UARTs CHAPTER 3 MEMORY . 53 Read-Only Memories-Dot-Matrix Character Generators-Which Character Generator-Read-Write Memory-Bus Organization CHAPTER 4 SYSTEM TIMING-CALCULATIONS AND CIRCUITS 85 Timing Restrictions-Timing Circuits-Blanking-Sync, Position, and Video Combination CHAPTER 5 CuRSoR AND UPDATE CmcuiTs • 104 Frame-Rate Cursors-McFadden Cursor-Dir�ct Memory Access Techniques-A Microprocessor Cursor-A Double Cursor-A Stored Cursor System-The "Uncursor"-Captive TVTs-Updating-Repeat Actions-Control Detection-Clearing-Screen-Read Circuits-Out put Options-A Complete Cursor System CHAPTER 6 KEYBOARDS AND ENCODERS . 130 Keyboard Design Factors-Encoder Circuits-Extra Keyboard Fea tures-Mounting and Interconnect Techniques-Nonstandard Codes -Keyboard Design Examples CHAPTER 7 SERIAL INTERFACE . 153 How Fast-A 110-Band Standard-Tolerances-Using DARTs Teletype Interface-Industrial Interface-Cassette Interface-The Bit Boffer System-Radio Data Links-Modems-Phone Characteristics CHAPTER 8 TELEVISION INTERFACE • 184 Direct-Video Methods-Extending Video and Display Bandwidth Direct RF Entry-Color Techniques-RGB Color System CHAPTER 9 HARD CoPY AND CoLOR GRAPHICS • . 208 Hard Copy-Computer Teletypes-Baudot Teletypes-Selectric Typewriters-Electrosensitive Paper-Thermal Paper-Impact Sys tems-Other Hard-Copy Methods-Color Graphics-Some Television Limitations-Some Simple Graphic Displays-A 96 X 96 Full-Color Display-Where to From Here? INDEX . 251 CHAPTER 1 Some Basics A tvt, or tv typewriter, is any low-cost way of displaying lots of words, numbers, or graphics on an ordinary tv set. The single most important use fqr a tvt is that of an input/ output device for a micro processor or microcomputer, but the concept of using a low-cost, mass-produced display to present locally generated and used infor mation is incredibly broad. It is so broad that tvt techniques repre sent a totally new communications media-a decentralized media that is based on the fast and easy transfer of information rather than the difficult and energy-intensive moving of physical objects, par ticularly cars and people. So, what can we do with a $30 to $150 machine that puts words and pictures on a tv set? Some of the uses we know of today include: " Computer terminals " Video games " Microprocessor "super front panels" " Video titling " Deaf communications " Calculator readouts " Advertising displays " Touch typing learning aids " Teaching machines " Electronic notebooks " Remote message centers " Cable tv response units " Mailing list generators " Word processing and editing systems 7 " Color graphics displays " Political polling " Ham rtty " Phototypesetting " News, weather, and stock displays " Community direct-information access systems There are several overlapping ways we can classify the different types of tvt that are available: A stand-alone tvt does just that. It can interface with any source of information, with or without a microprocessor, and contains its own cursor, update, storage, and modification circuitry. A dedicated tvt is usually intimately associated with a micro processor or other devices that make the tvt a component part of a larger system. Typical dedicated applications include tvt's used as microprocessor super front panels, on which the tvt can display every memory location in the entire computer system on a page-at-a time basis; word-processing applications in which extensive editing, rearranging, or format changes are needed; and "pong" and chess style games in which move computation is needed. A utility tvt usually displays 16 lines of 32 characters at a time, most often in an uppercase-only 5 X 7 dot-matrix character format. This type of tvt has very simple timing requirements, a minimum memory cost, and is cheap to build, interface, and use. Often a second page of memory is internally provided to increase the total display to 1024 characters on a selected basis. A premium tvt can display more information and uses fancier character presentations that include lowercase and that have better character definition. These presentations can display as many as 4000 characters simultaneously, and a quarter of a million or more resolvable elements in graphic displays.