Data Logger Using the Sym-1 Microcomputer

Total Page:16

File Type:pdf, Size:1020Kb

Data Logger Using the Sym-1 Microcomputer / DATA LOGGER USING THE SYM-1 MICROCOMPUTER by MICHAEL DEAN SCHWARZ B. S. r Kansas State University, 1978 A MASTER'S THESIS submitted in partial fulfillment of the requirements for the degree MASTER OF SCIENCE Department of Agricultural Engineering KANSAS STATE UNIVERSITY Manhattan, Kansas 1984 Approved by: ACKNOWLEDGEMENT D V.kg A11207 S38257 Solar Demonstration /5I1 Special thanks to USDA for funding the projects that made development of the data logger possible. Thanks to Pat Murphy, Dennis Matteson, John Anschutz and Vic Robbins who were also involved in the Solar Demonstration projects. Finally, for their guidance and support, I thank the members of the graduate committee, Dr. Mark Schrock, Prof. Ralph Lipper, Prof. Ralph Turnquist, and my major professor Dr. Stanley Clark. CONTENTS INTRODUCTION 1 LITERATURE REVIEW 2 SELECTION OF THE SYNERTEK SYM-1 MICROCOMPUTER 4 DESIGN OF THE MICROCOMPUTER DATA LOGGER 6 Development System 7 Version 1 8 Version 2 10 Version 3 12 CASSETTE TAPE READER 20 APPLICATION OF THE DATA LOGGER 24 Solar Livestock Demonstration 24 Solar Grain Drying Project 25 Ice Freezing 26 Engine Performance Logging 27 DISCUSSION 28 Programming 28 Data Acquisition Hardware 28 Cassette Tape Reader 30 RECOMMENDATIONS FOR FUTURE WORK 31 SUMMARY 33 CONCLUSIONS 35 REFERENCES 37 APPENDIX A. Data Logger Users Manual 38 APPENDIX B. Data Logger Hardware Diagrams 49 Specifications 50 Parts List 51 SYM-1 Modifications 53 A/D Board I/O connections 54 Schmatics 56 APPENDIX C. Data Logger Program Listings 60 Data Logger Source Listing 61 Data Logger Floating Point Routines 90 Cassette Tape Reader Source Listing 103 APPENDIX D. Apple II Reader Program 128 APPENDIX E. Component Data Sheets 130 SDM856 Data Acquisition System 131 3606 Programmable Gain Amplifier 150 MPC8S Multiplexor 158 MSM5832 Clock 165 HTAA-16W Power Supply 171 INTRODUCTION The design of the SYM-1 based data logger resulted from two USDA sponsored Solar Demonstration Projects. In these projects a total of 19 solar collectors were to be monitored to determine the energy collected during the heating season. As funds were limited, it was not possible to purchase a commercial data logger for each solar collector so an alternative had to be chosen. The decision was made to build and program a data logger for the pro- ject that could be located at each solar collector. In addition to the solar demonstration projects, several other uses of the data logger were made. These were for the ice freezing project (where the logger also served as the controller) and for engine testing. LITERATURE REVIEW In reviewing data loggers there are several types of data loggers available. They range from computer-based data loggers to commercial-dedicated data loggers to custom-built dedicated data loggers. One type of data logging equipment is the computer-based data acquisition system. This type of system is sold as either a full computer with data acquisition interfaces or as data acquisition interfaces that can be used on an existing computer. In this case the computer is a complete single-user system with computer, terminal and disk drives. A disk operating system is available along with a selection of languages for programming. With this type of equipment, data can be acquired and processed on site with full interaction. This is the most flexible type of data logging system but also the most expensive. Since this sys- tem is a complete computer it almost always requires 120 volt AC electrical power for operation. Usually a power outage will com- pletely stop operation and require an operator to restart the operation. Representive of commercial-dedicated data loggers are the Campbell Scientific CR5 and CR21. The CR21 is built primarily as a meteorological data logger but can be used for various other types of data logging. The logger provides a fixed number of analog channels usable for thermocouples and similar inputs and pulse counting channels for wind speed and direction sensing. The CR5 is a more general data logger providing expandable modules that can be added to meet the desired application. These systems can store data on either a printed paper tape or a cassette tape. In addition, a modem can be installed to allow remote interrogation of the data collected on the data logger over telephone lines. These data loggers operate on batteries so that it is not necessary that power is maintained for the logger. The final type of data logger is the custom-built data acquisition system based on a computer. In this type of system a general purpose computer is selected and appropriate data acquisition circuits are added to acquire the data. The computer selected can range from a single-board computer with very limited or no operator input/output capability (such as the Synertek SYM-1) to a computer with full keyboard and monitor (such as the Radio Shack TRS80) . The data acquisition hardware is usually inexpensive and custom built for a specific task. Depending on the application, the data loggers can be designed for either bat- tery operation or other electrical power as available. SELECTION OF THE SYNERTEK SYM-1 MICROCOMPUTER Several considerations were taken into account in the selec- tion of a microcomputer for the data acquisition system. The required features of the microcomputer were as follows: 1. Ease of interfacing the analog to digital (A/D) converter. 2. Handling of power outages during unattended operation. 3. Reliable method of saving data. 4. Being able to transfer data to the Agricultural Engineering computer. 5. Easily programmable for the data logging task. The first computer considered was the Radio Shack TRS-80 Model I with a cassette interface. In analyzing this system, it was found to satisfy requirements 3, 4, and 5 above. The cassette tape is a reliable storage method for data; interfacing to the Agricultural Engineering computer can be made through the RS232 interface; and Basic would provide an adequate programming environment. Requirement 1, interfacing to the A/D converter, is possible since the address and data lines are externally accessi- ble; however, two or three parallel ports would need to be inter- faced before the A/D could be connected and an additional power supply would be needed. Requirement 2, providing the ability to handle power outages, is not an easy problem to handle as the computer provides no EPROM sockets for auto-start operation. The only possible solution allowing for unattended operation is to provide battery backup. The second computer under consideration was the Synertek SYM-1 single board computer. This computer satisfied require- ments 1, 2, 3, and 4 easily. Six parallel ports are provided to allow interfacing of an A/D converter to the computer. Since a power supply must be added to operate the computer, the power supply selected would provide adequate power for both the com- puter and the A/D converter. Power outage handling is provided with EPROM sockets that can be configured to automatically res- tart data logging on power-up. A cassette interface provides data storage capability and the RS232 interface provides access to the Agricultural Engineering computer. The last requirement was the programmability of the computer. Since the Department has an Apple II computer which uses the same MOS Technology 6502 microprocessor, programming could be done on the Apple II and then transferred to the SYM-1 in EPROM for execution. Although programming in Assembly language is not as desirable as in Basic, this was not considered a major deterrent. A third computer that was briefly considered is the SD Sys- tems Single Board Computer which uses the Z-80 microcomputer. The evaluation of this computer is similar to the SYM-1 as the computer provides similar features. Although it was felt the Z- 80 is easier to program, this computer was not used due to the lack of a development system within the Department. DESIGN OF THE MICROCOMPUTER DATA LOGGER The development process for the data logger resulted in three distinct versions of the data logger being produced. These versions show a progression in capabilities from that of a simple data logger programmed for a specific task to a more general data logger that can handle a wide variety of data acquisition tasks. All versions of the data logger use the same microcomputer, the Synertek SYM-1. The primary features of the SYM-1 microcom- puter include a 6-digit LED display and hexadecimal keypad; three 6522 versatile interface adapters (VIA's) providing a total of six 8-bit parallel ports for interfacing the A/D converter; and a cassette tape port for reading and writing tapes used for data storage. The cassette interface also provides motor control automatic starting and stopping of the tape under software con- trol. The peripherals needed for the SYM-1 include a power supply and cassette tape recorder. The Power One HTAA-16W power supply provides 5 volts at 2 amperes and +/- 9 to 15 volts at 0.4 amperes each. The Radio Shack CTR-80 cassette tape recorder was chosen since it is designed for computer use and therefore pro- vided the necessary characteristics for data storage. All the components of the data logger are enclosed in an ABS plastic instrumentation case for protection. The differences in the three versions of the data logger involve the data acquisition hardware, real time clock hardware/software, and control software. All programming was done on an Apple II-Plus computer with dual disk drives and an EPROM programmer in Assembly language. This worked well as both the Apple II-Plus and the SYM-1 share the MOS Technology 6502 microprocessor. Initially the programs were transferred using the RS232 interface from the Apple II-Plus to the SYM-1 for test- ing, but as the program grew in size EPROHs were used for test- ing.
Recommended publications
  • "Bob" Schreiner
    Oral History of Robert “Bob” Schreiner Interviewed by: Stephen Diamond Recorded: June 10, 2013 Mountain View, California CHM Reference number: X6873.2014 © 2013 Computer History Museum Oral History of Robert “Bob” Schreiner Stephen Diamond: We're here at the Computer History Museum with Bob Schreiner. It's June 10th, 2013, and we're going to talk about the oral history of Synertek and the 6502. Welcome, Bob. Thanks for being here. Can you introduce yourself to us? Robert “Bob” Schreiner: Okay. My name is Bob Schreiner. I'm an ex-Fairchilder, one of the Fairchildren in the valley, and then involved in running a couple of other small semiconductor companies, and I started a semiconductor company. Diamond: So that would be Synertek. Schreiner: Synertek. Diamond: Tell us about that. Schreiner: Okay. As you know from an earlier session I left Fairchild Semiconductor around 1971. And at the time I left I was running the LSI program at Fairchild, and I was a big believer that the future marketplace for MOS technology would be in the custom area. And since Fairchild let that whole thing fall apart, I decided there's got to be room for a company to start up to do that very thing, work with big producers of hardware and develop custom chips for them so they would have a propriety product that would be difficult to copy. So I wrote a business plan, and I went around to a number of manufacturers. I had a computer guy [General Automation], and I had Bulova Watch Company, and I had a company that made electronic telephones [American Telephones], and who was the fourth guy? Escapes my memory right now, but the pitch basically was, "Your business, which now you manufacture things with discrete components, it's going to change.
    [Show full text]
  • 1981 Synertek Data Catalog
    It ..'.'... E; $5.00 !' 5J SYNERTE~ A SUBSIDIARY OF HONEYWELL ~ SYNERTEK § 1981-1982 ,.:: DATA CATALOG -\C GO ­• 'C -GO...., C ~ )Ii Sl~I g j - Table of Contents Index SYNERTEK 1981-1982 DATA CATALOG Random Access Memories 1 • Read Only Memories 2. Microprocessors 3 I logic CapabIlItIes 41 Systems 51 Quality Assurance 6. SYNERTEK A SUBSIDIARY OF HONEYWELL Generallnfonnatlon P.O.BOXSS2-MS/34 • SANTA CLARA, CA9S0S2 71 TEL.(40S)988-S600 • 1WX:910-33S-D13S Contents CHAPTER 1 Page Random Access Memory RAM Selector Guide 1-2 SY2101. 256 x 4-Bit Static RAM 1-3 SY2111. 256 x 4-Bit Static RAM 1-7 SY2112. 256 x 4-Bit Static RAM 1-11 SY2114. 1024 x 4-Bit Static RAM 1-17 SY2114LV, 1024 x 4-Bit Static RAM 1-21 SY2128, 2048 x 8-Bit Static RAM .............. .. 1-25 SY2142, 1024 x 4-Bit Static RAM 1-26 SY2142LV. 1024 x 4-Bit Static RAM 1-30 SY2147, 4096 x 1-Bit Static RAM '" 1-34 SY2147H, 4096 x 1-Bit Static RAM 1-38 SYM2147. 4096 x 1-Bit Static RAM 1-39 SY2148H, 1024 x 4-Bit Static RAM 1-40 SYM2148, 1024 x 4-Bit Static RAM 1-44 SY2149H. 1024 x 4-Bit Static RAM 1-45 SYM2149H, 1024 x 4-Bit Static RAM 1-49 CHAPTER 2 Read Only Memory ROM Selector Guide 2-2 SY2316NB, 2048 x 8-Bit ROM 2-3 SY2316B-2, 2048 x 8-Bit ROM 2-7 SY2316B-3, 2048 x 8-Bit ROM 2-11 SY2332/3, 4096 x 8-Bit ROM 2-15 SY2332/3-3, 4096 x 8-Bit ROM 2-19 SY2364/A, 8192 x 8-Bit ROM 2-23 SY2365/A, 8192 x 8-Bit ROM 2-27 SY23128, 16,384 x 8-Bit ROM 2-31 SY3308, 1024 x 8-Bit ROM 2-35 SY3316/A, 2048 x 8-Bit ROM 2-36 SYM3316/A, 2048 x 8-Bit ROM 2-40 CHAPTER 3 Microprocessors Microcomputers Z8, Single Chip Microcomputer 3-3 Microprocessors and Peripherals SY1791-02/SY1793-D2, Floppy Disk Controller 3-23 SY2661, Enhanced Programmable Communications Interface 3-39 SY6500, 8-Bit Microprocessor Family 3-53 SY6520, Peripheral Interface Adapter 3-67 SY6521/SY6821, Peripheral Interface Adapter 3-81 SY6522, Versatile Interface Adapter 3-95 SY6530, Memory, 1/0.
    [Show full text]
  • An Apple II Debugging
    The Magazine of the APPLE, KIM, PET and Other Systems Rockwell a Synertek EXPAND THE 6 5 0 2WORLD NOW AT FINE COMPUTER STORES SPEAKEASY SOFTWARE LTD. BOX 1220, KEMPTVILLE, ONTARIO BULLS S BEARS K O G 1J0 NOW AT MOST APPLE-II DEALERS kidstuff ' J V\ WRLQRDS OCTOBER/NOVEMBER 1978 ISSUE NUMBER SEVEN We're Still Number One! 4 by Robert M. Tripp BREAKER: An Apple II Debugging Aid 5 by Rick Auricchio MOS 16K RAM for the Apple II 12 by Allen Watson III PET Update 13 by Gary Creighton 6502 Interfacing for Beginners: The Control Signals 17 by Marvin L. De Jong 650X Opcode Sequence Matcher 19 by J. S. Green A Memory Test Program for the Commodore PET 25 by Michael McCann MICROBES, A Suggestion, and an Apology 27 The MICRO Software Catalog IV 29 by Mike Rowe Apple Calls and Hex-Decimal Conversion 31 by Marc Schwartz 6502 Bibliography - Part VI 33 by William R. Dial 6502 Information Resources 35 by William R. Dial KIM-1 as a Digital Voltmeter 37 by Joseph L. Powlette and Charles T. Wright Cassette Tape Controller 39 by Fred Miller Apple II High Resolution Graphics Memory Organization 43 by Andrew H. Eliason A Digital Clock Program for the AYM-1 45 by Chris Sullivan Peeking at PET's BASIC 47 by Harvey B. Herman KIMBASE 49 by Dr. Barry Tepperman Advertiser's Index Speakeasy Software IFC Connecticut microcomputer 2 Microcomputer Comp. Spec. 11 CGRS 16 Smith Business Services 26 Computer Shop 28 Editor/Publisher The Computerist, Inc. 48 Synertek Systems IBC Robert M.
    [Show full text]
  • Apple Confidential 2.0 the Definitive History of the World's Most Colorful
    vi Reviewers love Apple Confidential “The Apple story itself is here in all its drama.” New York Times Book Review “An excellent textbook for Apple historians.” San Francisco Chronicle “Written with humor, respect, and care, it absolutely is a must-read for every Apple fan.” InfoWorld “Pretty much irresistible is the only way to describe this quirky, highly detailed and illustrated look at the computer maker’s history.” The Business Reader Review “The book is full of basic facts anyone will appreciate. But it’s also full of interesting extras that Apple fanatics should love.” Arizona Republic “I must warn you. This 268-page book is hard to put down for a MacHead like me, and probably you too.” MacNEWS “You’ll love this book. It’s a wealth of information.” AppleInsider “Rife with gems that will appeal to Apple fanatics and followers of the computer industry.” Amazon.com “Mr. Linzmayer has managed to deliver, within the confines of a single book, just about every juicy little tidbit that was ever leaked from the company.” MacTimes “The most entertaining book about Apple yet to be published.” Booklist i …and readers love it too! “Congratulations! You should be very proud. I picked up Apple Confidential and had a hard time putting it down. Obviously, you invested a ton of time in this. I hope it zooms off the shelves.” David Lubar, Nazareth, PA “I just read Apple Confidentialfrom cover to cover…you have written a great book!” Jason Whong, Rochester, NY “There are few books out there that reveal so much about Apple and in such a fun and entertaining manner.
    [Show full text]
  • KIM-1 MOS Technology Developed a Second System Concurrently with the TIM
    C H A P T E R 11..55 TTiimm aanndd KKiimm 11997755 -- 11997766 In introducing the 6502 microprocessor to the world, Chuck Peddle knew he had something revolutionary. As part of MOS Technology’s marketing plan to encourage people to experiment with the 6502, Peddle and his team at MOS Technology would develop two small computer systems, known as development systems. “They worked on them while we were finishing up the processor and getting ready to do the marketing,” explains Peddle. Engineers and hobbyists, the idea went, would use them to evaluate the 6502 instruction set and develop their own systems. The Kit The first development system offered by MOS was in kit form, which reduced the selling price to only $30. Since the unit was designed primarily to instruct the user on the workings of computer systems in general and the 6502 in particular, MOS Technology contracted Microcomputer Associates of Santa Clara, California to write the unit’s internal program. The two founders, Ray Holt and Manny Lemas, taught engineers how to use microprocessors. Peddle relates, “You have to understand how little the world knew of microprocessors in 1974, ‘75 and ‘76. There were guys making big money selling classes on microprocessors during that time.” Manny Lemas had worked for Peddle during his GE days, while Ray Holt had an impressive background working on the F-14 Tomcat project for the Navy.1 The technicians developed the system in a special research area on the second floor of MOS Technology. The lab was a room within a room, with a large sign on the door in capital letters warning NO ADMITANCE.
    [Show full text]
  • 8-Bit Bipolar Microprocessor Mostek Offering Z-80 Family
    Volume 3, Number 5 November, 1976 8-BIT BIPOLAR MICROPROCESSOR MOSTEK OFFERING Z-80 FAMILY A high-speed 8-bit bipolar Schottky mono­ lithic microprocessor, 8x30, with a fixed instruction set and optimized for control operations, is now available from Signetics. The 8x30 Architecture contains an ALU, eight 8-bit working registers, instruction address register, program counter, instruction data register, on chip oscillator, TTL­ compatible input and output, a three-state I/O data bus, and control and decode logic. Cycle time is 250 ns. MOSTEK is now offering the Z80 Microcom­ puter family and the Z-80 development system. The Z80 component family includes: Z80 CPU with 158 insrructions--includes all 78 of the 8080A instructions with total soft­ ware compatibility. New instructions include 4-, 8-, and l6-bit operations; Z80 PIa Con­ These features, combined with partitionin'g troller with two independent 8-bit ports with of the address/data bus into right and left handshake and four modes of operation under banks, make it possible for 8-bit parallel program control; Cont I d on Page 2 data to be rotated or masked, to undergo arithmetic or logical operations, and thento FAIRCHILD/MOTOROLA 6800 PACT be shifted and merged into any set of one to 8 contiguous bits at the destination--all in Fairchild Camera and Instrument Corp. has one 250 nanosecond cycle. announced it will manufacture and market the Peripheral circuits available include the Motorola 6800 microprocessor family under an 8T32/8T33 Synchronous I/O ports, 8T25/8T36 arrangement between Fairchild and Motorola, Inc. Asynchronous I/O parts and the 8T39 bus ex­ Fairchild President W.
    [Show full text]
  • Core Magazine November 2002
    NOVEMBER 2002 CORE 3.3 A PUBLICATION OF THE COMPUTER HISTORY MUSEUM WWW.COMPUTERHISTORY.ORG PAGE 1 November 2002 WE HAVE PURCHASED COREA publication of the Computer History3.3 Museum IN THIS MISSION ISSUE TO PRESERVE AND PRESENT FOR POSTERITY THE A GREAT BUILDING! ARTIFACTS AND STORIES OF THE INFORMATION AGE INSIDE FRONT COVER VISION WE HAVE PURCHASED A GREAT BUILDING! The year 2002 will forever be very TO EXPLORE THE COMPUTING REVOLUTION AND ITS John C Toole special for the Computer History IMPACT ON THE HUMAN EXPERIENCE Museum. I am proud to announce that 2 EXHIBITING COMPUTING HISTORY we have acquired a spectacular Kirsten Tashev 119,000 square-foot building on EXECUTIVE STAFF 7.5 acres of land at 1401 N. Shoreline 6 Blvd. in Mountain View, California. With John C Toole David A Miller BRINGING COMPUTING HISTORY this purchase, we are taking a major EXECUTIVE DIRECTOR & CEO VICE PRESIDENT OF DEVELOPMENT TO THE PUBLIC Michael Falarski Michael R Williams 2 Ed Rodley step toward realizing our dreams of VICE PRESIDENT OF OPERATIONS & HEAD CURATOR having a permanent home, owning our FACILITIES 11 own land, directing our future, focusing exit north of our current offices! We are this encouragement, we are increasingly Karen Mathews HISTORY MATTERS EXECUTIVE VICE PRESIDENT on programs, and building new neighbors in Mountain View now, with offering special events and programs Mike Williams relationships with the communities we federal and local governments targeted to the needs of our “remote” serve. connected to a community of “can-do” community. It was a pleasure, for BOARD OF TRUSTEES 14 people.
    [Show full text]
  • A Decade of Semiconductor Companies—1988 Edition to Keep Clients Informed of These New and Emerging Companies
    1988 y DataQuest Do Not Remove A. Decade of Semiconductor Companies 1988 Edition Components Division TABLE OF CONTENTS Page I. Introduction 1 II. Venture Capital 11 III. Strategic Alliances 15 IV. Product Analysis 56 Emerging Technology Companies 56 Analog ICs 56 ASICs 58 Digital Signal Processing 59 Discrete Semiconductors 60 Gallium Arsenide 60 Memory 62 Microcomponents 64 Optoelectronics 65 Telecommunication ICs 65 Other Products 66 Bubble Memory 67 V. Company Profiles (139) 69 A&D Co., Ltd. 69 Acrian Inc. 71 ACTEL Corporation 74 Acumos, Inc. 77 Adaptec, Inc. 79 Advanced Linear Devices, Inc. 84 Advanced Microelectronic Products, Inc. 87 Advanced Power Technology, Inc. 89 Alliance Semiconductor 92 Altera Corporation 94 ANADIGICS, Inc. 100 Applied Micro Circuits Corporation 103 Asahi Kasei Microsystems Co., Ltd. 108 Aspen Semiconductor Corporation 111 ATMEL Corporation 113 Austek Microsystems Pty. Ltd. 116 Barvon Research, Inc. 119 Bipolar Integrated Technology 122 Brooktree Corporation 126 California Devices, Ihc. 131 California Micro Devices Corporation 135 Calmos Systems, Inc. 140 © 1988 Dataquest Incorporated June TABLE OF CONTENTS (Continued) Pagg Company Profiles (Continued) Calogic Corporation 144 Catalyst Semiconductor, Inc. 146 Celeritek, Inc. ISO Chartered Semiconductor Pte Ltd. 153 Chips and Technologies, Inc. 155 Cirrus Logic, Inc. 162 Conductus Inc. 166 Cree Research Inc. 167 Crystal Semiconductor Corporation 169 Custom Arrays Corporation 174 Custom Silicon Inc. 177 Cypress Semiconductor Corporation 181 Dallas Semiconductor Corporation 188 Dolphin Integration SA 194 Elantec, Inc. 196 Electronic Technology Corporation 200 Epitaxx Inc. 202 European Silicon Structures 205 Exel Microelectronics Inc. 209 G-2 Incorporated 212 GAIN Electronics 215 Gazelle Microcircuits, Inc. 218 Genesis Microchip Inc.
    [Show full text]
  • I.C.E. Integrated Circuit Collection
    I.C.E. Integrated Circuit Collection NMAH.AC.0600 Alison Oswald 2005 Archives Center, National Museum of American History P.O. Box 37012 Suite 1100, MRC 601 Washington, D.C. 20013-7012 [email protected] http://americanhistory.si.edu/archives Table of Contents Collection Overview ........................................................................................................ 1 Administrative Information .............................................................................................. 1 Biographical / Historical.................................................................................................... 2 Arrangement..................................................................................................................... 2 Scope and Contents........................................................................................................ 2 Names and Subjects ...................................................................................................... 2 Container Listing ............................................................................................................. 4 Series 1: Status Reports, 1970-1997....................................................................... 4 Series 2: Product Analysis (about 50 out of 68), 1966 - 1971................................. 6 Series 3: Product Evaluations, 1977 - 1983............................................................ 8 Series 4: Construction Analysis (alphabetical by chip), 1997 - 1997..................... 16 Series
    [Show full text]
  • 6502 Applications
    6502 APPLICATIONS RODNAY ZAKS SYBEX BERKELEY • PARIS • DUSSELDORF Cover Art: Daniel Le Noury Every effort has been made to supply complete and accurate information. How­ ever, Sybex assumes no responsibility for its use; nor any infringements of patents or other rights of third parties which would result. No license is granted by the equipment manufacturers under any patent or patent rights. Manufacturers reserve the right to change circuitry at any time without notice. In particular, technical characteristics and prices are subject to rapid change. Comparisons and evaluations are presented for their educational value and for guidance principles. The reader is referred to the manufacturer’s data for exact specifications. Copyright © 1979 SYBEX Inc. World Rights reserved. No part of this publica­ tion may be stored in a retrieval system, copied, transmitted, or reproduced in any way, including, but not limited to, photocopy, photography, magnetic or other recording, without the prior written permission of the publisher. Library of Congress Card Number: 78-73740 ISBN 0-89588-015-6 Printed in the United States of America Printing 109 8 7 TABLE OF CONTENTS I. INTRODUCTION.................................................11 II. THE INPUT OUTPUT CH IPS........................... 15 Introduction. Basic Definitions. The 6520 PIA. The 6522. Programming the 6522. The 6530 ROM -RAM I/O Timer (RRIOT). The 6532. Summary. III. 6502 SYSTEMS.......................................................64 Introduction. Standard 6502 System. The KIM-1. TheSYM-1. The AIM 65. Other boards. IV. BASIC TECHNIQUES......................................... 78 Introduction SECTION 1: THE TECHNIQUES Relays. Switches. Speaker. A Morse Generator. Time o f Day Clock. A Home Control Program. A Telephone Dialer. SECTION 2: COMBINA TIONS OF TECHNIQUES Introduction.
    [Show full text]
  • Nicolas Collins Before Apple There Was Kim – the Microcomputer, Music and Me September, 2009
    Nicolas Collins Before Apple There Was Kim – the Microcomputer, Music and Me September, 2009 Background For as long as I’ve been making music I’ve been making music with electricity. I began as a talentless player of electric guitar, then started messing around with a reel-to-reel tape recorder. I built my first circuit in high school, and was fortunate to have had the opportunity to learn from such legendary silicon luthiers as David Behrman and David Tudor while I was a student at Wesleyan University.1 My college years (1972-76) were an interesting time in the co- evolution of electronic technology and its cultural applications: many useful modules (oscillators, amplifiers, etc.) were becoming available as Integrated Circuits, which a non-engineer could interconnect with an almost Lego-like ease to build up musical systems that would have been daunting in the earlier days of the transistor. The 1970s also saw the rise of the microcomputer. Integrated Circuits shrank room-filling mainframes down to suitcase-size and smaller, and took computing power out of the hands of IBM technicians and made it accessible to a much larger (and more diverse) base of users and experimenters.2 Shopping for parts, one was a likely to find digital logic chips, such as an AND gate or a chip to add two numbers, side-by-side with analog opamps or oscillators. In keeping with this proximity of analog and digital building blocks, several composers built instruments at this time that foreshadowed interactive computer music in their combining sound generators with logical decision-making circuitry.
    [Show full text]
  • The Signetics 2650
    ;(-,e-r7 GETTING INTO MICROPROCESSORS The Signetics 2650 We continue our survey of microprocessor chips and systems with this counter), and also to calculate operand article, which takes a more detailed look at the Signetics 2650 device addresses for the indexed and relative addressing modes. This separate address and its currently available evaluation kits. Although a relatively recent adder, together with the separate instruc- entry into the market, the 2650 has a particularly powerful instruction tion address and operand address regis- set and very flexible interfacing requirements. It seems likely to become ters allows complex addressing modes to the preferred 8-bit device for general purpose microcomputers. be implemented with no increase in instruction execution time. by JAMIESON ROWE The PSW is a special purpose register which contains status and control bits. The Signetics 2650 is an 8-bit micro- (32k), arranged in four pages of 8,192 The PSW bits may be tested, loaded, processor which is made using well bytes. stored, preset or cleared using instruc- proven N-channel MOS technology. It There are seven 8-bit addressable tions which affect the PSW. Three of the runs from a single +5V supply, which general purpose registers, one of which bits act as the pointer for the return tends to simplify power supply require- is the accumulator RO. The remaining six address stack; two others act as a "condi- ments. All inputs and outputs are TTL make up the register stack, and are tion code" register, which is affected by compatible, and the chip requires only arranged in two groups of 3 selectable the results of compare, test and arithme- a single-phase clock signal input.
    [Show full text]