← The Apple Connection

The Apple Connection

From the originals

13 scans

Machine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.

These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.

Image 1

The Apple Connection

The Apple® Connection James W. Coffron SYBEX $ 12.95

A dark blue book cover with yellow title text between two red horizontal rules, featuring an illustration of a red apple with a green circuit board and a rainbow ribbon cable emerging from it, alongside a bitten red apple, with a SYBEX logo in the lower right corner.

Reading notes: The price '12.95' is handwritten in blue ink on a white sticker in the upper right, with the dollar sign partly obscured; the transcription reflects the visible handwriting. The ® symbol after 'Apple' is small and superscript; included as printed.

Printed product names
The Apple Connection
Printed prices
$ 12.95
Languages
English
PDF page 1

The Apple Connection

The Apple® Connection James W. Coffron SYBEX $ 12.95

A dark blue book cover with large yellow title text between red rules, showing a red apple with a circuit board and rainbow ribbon cable emerging from it, a bitten red apple on the right, and a yellow SYBEX logo at bottom right.

Reading notes: Handwritten or sticker price '$ 12.95' is on a white label at top right; it is handwritten-style and its exact formatting is approximate. The author name and publisher appear at bottom left and bottom right respectively.

Printed product names
The Apple Connection
Printed prices
$ 12.95
Languages
English
PDF page 2

f j o hl- 1 f.)n tJ q _ <l L ~~ - 3~-> I The Apple® Connection An Introduction to the Techniques and Principles of Apple Computer Interfacing

Reading notes: Opening noisy lines (f j o hl- 1, f.)n tJ q _, <l L ~~ - 3~-> I) are garbled and could not be reliably read. The title lines are extracted from supplied text only and their placement and reading order in the original layout could not be verified. No prices, dates, or product names are clearly visible in the supplied copy; 'Apple Computer Interfacing' is a subject title rather than a confirmed advertised product. Transcript is intentionally empty per instruction because exact extracted text is preserved separately.

Languages
English
PDF page 3

The Apple® Connection

The Apple® Connection An Introduction to the Techniques and Principles of Apple Computer Interfacing James W. Coffron ~EX ~~ Berkeley • Paris • Dusseldorf

Reading notes: Stylized OCR fragments 'EX' and '~~' near the bottom are unclear

Printed product names
Apple
Languages
English
PDF page 4

Cover Design by Daniel Le Noury Book layout and design by Marlyn Amann Apple is a registered trademark of Apple Computer, Inc. BSR X-10 is a registered trademark of BSR-McDonald. LM135, 235, and 335 are trademarks of National Semiconductor Corporation. A0558 and AD570 are trademarks of Analog Devices. Sybex is not affiliated with any manufacturer. Every effort has been made to supply complete and accurate information. However, Sybex assumes no responsibility for its use, nor for any infringements of patents or other rights of third parties which would result. Neither is any liability assumed for damages resulting from the use ofthe infor- mation contained herein. Manufacturers reserve the right to change technical specifications and characteristics at any time without notice. © 1982 SYBEX Inc., 2344 Sixth Street, Berkeley, CA 94710. World Rights reserved. No part of this publication may be stored in a retrieval system, transmitted, or reproduced in any way, including but not limited to photocopy, photograph, magnetic or other record, without the prior agreement and written permission of the publisher. Library of Congress Card Number: 82-50620 ISBN D-89588-085-7 First Edition 1982 Printed in the United States of America 10 9 8 7 6 54 3 2

Reading notes: Primary heading not identifiable from supplied copy; headline set to null.

Printed product names
Apple · BSR X-10 · LM135 · A0558 · AD570
Printed dates
1982
Languages
English
PDF page 5

The image is a plain, entirely blank white page with no artwork, layout, or markings visible.

Reading notes: No visible text found on the page; transcript and printed fields left empty.

PDF page 6

1 2 Contents Preface Introduction Introduction to Computer Control 1.1: What is Computer Control? 1 1.2: A Practical Example of the Two Basic Concepts 4 1.3: Some New Vocabulary 6 1.4: Summary 15 Software for Output from the Apple 2.1: Installing the CMS I/0 System 20 2.2: The POKE Instruction 25 2.3: Forming the Address for the POKE 27 2.4: Calculating Data for the POKE 30 2.5: Experiments With the CMS I/0 System 35 2.6: Example 1:'Lighting a Single LED 38 2.7: Example 2: Lighting a Combination of LEDs 40 2.8: Example 3: A Counting Program 42 xiii XV 1 19 vii

Reading notes: Source appears to be a table of contents with page numbers; no headline or advertised products present.

Languages
English
PDF page 7

viii 2.9: Example 4: ATraveling Light 44 2.10: Summary 47 3 Inputting Data to the Apple Computer 49 3.1: Overview of Inputting Data 49 3.2: The CMS Input Board for the Apple Computer 51 3.3: Input Software 52 3.4: Interpreting the Input Information 53 3.5: Calculating the Bits from the Input Variable 57 3.6: Hands-on Example 1: Calculating the Weight of the Input Word 65 3.7: Example 2: Read a Byte and Determine which Bits Were a logical1 66 3.8: Example 3: Read a Word and Perform an Action 69 3.9: Example 4: A Combination Lock 70 3.10: Summary 74 4 Input and Output Hardware for the Apple 77 4.1: Beginning Output Electronics for the Apple 78 4.2: The Enable Circuit 78 4.3: The Read/Write (RIW) line 80 4.4: The External Output Strobe Signal 82 4.5: The Output Latches 84 4.6: The Light-Emitting Diodes 85 4.7: Hardware for Inputting Data to the Apple 91 4.8: Enabling the Tri-State Buffer 94 4.9: Summary of Input and Output 97 5 An Application of Computer Interfacing: A Home Security System 101 5.1: Definition of the Problem 102 5.2: Drawing the House with the Computer 103 5.3: Physical Connections to the Doors and Windows 105 5.4: Connecting the Hardware to the Computer 110 5.5: Software for Interpretation of the Input Lines 113 5.6: Simulation of all Windows and Doors for Program Development 118 5.7: Masking Off the Alarms with Software 121

Reading notes: Source appears to be a table of contents listing chapter and section titles; no advertised products or prices are present.

Printed product names
Apple Computer
Languages
English
PDF page 8

6 7 8 9 5.8: The Complete System 123 5.9: Summary 132 Interfacing the Apple to Home Appliances 6.1: Block Diagram of the Problem 136 6.2: How the So1i~-State Relay Operates 139 6.3: Electrically Closing the Solid-State Relay 142 6.4: An Output Port 144 6.5: Software for Control 146 6.6: Summary 148 Analog vs. Digital, and Transducers 7.1: Analog Events 151 7.2: Digital Events 154 7.3: Totally Digital Events 155 7.4: Analog and Digital Electronics 155 7.5: Transducers 158 7.6: Summary 159 Analog-to-Digital Conversion for the Apple 8.1: Block Diagram of the Problem 164 8.2: The Analog-to-Digital Converter 166 135 151 164 8.3: Calculating the Digital Outputs of the ADC 170 8.4: Connecting the ADC to the Apple Computer 174 8.5: Software for Analog-to-Digital Conversion 179 8.6: Temperature Measuring Circuit (Transducer) 182 8.7: The Complete System for Temperature Measurement 186 8.8: Some Practical ADC Applications 187 8.9: Summary 189 Digital-to-Analog Conversion for the Apple 9.1: What is Digital-to-Analog Conversion? 195 9.2: An Actual Digital-to-Analog Converter 199 9.3: Connecting the DAC to the Apple 204 9.4: Setting any Output Voltage on the DAC 206 193 ix

Reading notes: Table of contents list with chapter numbers and page numbers; no headline present Some characters damaged in source (e.g., 'Solid-State' rendered as 'So1i~-State')

Languages
English
PDF page 9

X 9.5: Controlling the DAC with a BASIC Program 211 9.6: Increasing the Output Drive Capability of the DAC 212 9.7: Summary 214 9.8: Further Study 217 Appendix A: Manufacturers' Data Sheets 221 Appendix B: Tips on Heading ASchematicDiagram 241 Appendix C: Glossary 251 Appendix D: List of Vendors 259 Index 261

Reading notes: Source appears to be a table of contents with chapter and appendix entries; no primary heading is visible. Some characters are spaced irregularly (e.g., 'ASchematicDiagram', 'Heading'), possibly from extraction spacing.

Languages
English
PDF page 10

Acknowledgements: I would like to thank the staff at Sybex for their help in getting this book produced. Special thanks to Jim Compton for his assis- tance with the numerous corrections and revisions to the original text, and to Jim Horn for his careful and thorough technical review of the manuscript. xi

Reading notes: Source contains a stray page number 'xi' at the end and irregular internal spacing around 'Sybex' and 'assis-tance'.

Languages
English
PDF page 11

xiii Preface If you have recently purchased an Apple® computer, or are thinking of purchasing one, many questions about the system have probably arisen in your mind. Many new computer owners are curious about the potential extent of their computer's overall usefulness. While it is true that a specific use for the system is probably the reason you bought it in the first place, you may wonder what else it can do. It is safe to say that there are more potential future uses of the system than any purchaser can dream of at present. As you sit in front of the computer, you can look forward to many hours of enjoyment using the numerous available application programs, and the various "off-the-shelr' games that can be played on the system. If you are a beginner in home computers, or computer languages, these games and programs may seem difficult to master at first, but this difficulty will soon pass, so do not fear. At first you may be hesitant to use the system. A "fear of the unknown" surfaces as you test the machine's reactions to your nimble (or not-so-nimble) touches on the keys. Then, your bold- ness and confidence improves as you discover it is OK to make mistakes. Nothing drastic happens when you press the wrong

Reading notes: Garbled OCR in 'off-the-shelr' and 'boldness' line breaks may reflect damage

Printed product names
Apple
Languages
English