Learning C PROGRAMMING GRAPHICS =ONTHE= AMIGA -AND- Aiarisl

Total Page:16

File Type:pdf, Size:1020Kb

Learning C PROGRAMMING GRAPHICS =ONTHE= AMIGA -AND- Aiarisl • • II LEARNING • r-• m >- PROGRAMMING ~ Z GRAPHICS ON THE -Z C1 1 AMIGA n AND JTEI :s AIARI Sl Marc B. Sugiyama II and Christopher D. Metcalf A thorough guide to program- II ming in C. Includes tutorials on programming advanced graph- ics on the Atari ST and Amiga II personal computers. II - A COMPUTE I Books Publication $18.95 -I I I -- - ,- , II II .8 Learning C PROGRAMMING GRAPHICS =ONTHE= -AND-AMIGA AIARI Sl Marc B. Sugiyama and Christopher D. Metcalf a '..- .• 5?~~~~!!~~s~~blications/lnc One of the ABC Publishing Companies Greensboro, North Carolina 11 II II Copyright 1987, COMPUTE! Publications, Inc. All rights reserved. Reproduction or translation of any part of this work beyond that permitted by Sections 107 and 108 of the United States Copyright Act without the permission of the copyright owner is unlawful. Printed in the United States of America 10987654321 ISBN 0-87455-064-5 The authors and publisher have made every effort in the preparation of this book to insure the ac­ curacy of the programs and information. However, the information and programs in this book are sold without warranty, either express or implied. Neither the authors nor COMPUTE! Publica­ tions, Inc. will be liable for any damages caused or alleged to be caused directly, indirectly, inci­ II dentally, or consequentially by the programs or information in this book. The opinions expressed in this book are solely those of the author and are not necessarily those of COMPUTE! Publications, Inc. COMPUTE! Publications, Inc., Post Office Box 5406, Greensboro, NC 27403, (919) 275-9809, is part of ABC Consumer Magazines, Inc., one of the ABC PUblishing Com­ panies, and is not associated with any manufacturer of personal computers. Amiga and AmigaDOS are trademarks of Commodore-Amiga, Inc. Atari, ST, and TOS are trademarks of Atari Corporation. GEM is a registered trademark of Digital Research Inc. Lattice is a registered trademark of Lattice, Inc. Macintosh is a trademark licensed • to Apple Computer, Inc. MacPaint is a registered trademark of Apple Computer, Inc. Megamax is a trademark of Megamax, Inc. Microsoft and MS-DOS are registered trademarks of Microsoft Corporation. UNIX is a trademark of AT&T Bell Laboratories. ii -I Contents I Foreword ......................................... v Preface .......................................... vii 1. Introduction .................................... 1 2. Functions ...................................... 9 3. Variables, Operators, and Expressions .............. 29 4. Decision Making and Loops ...................... 53 5. Arrays ........................................ 81 6. Structures .................................... 117 7. Introduction to Graphics ........................ 159 8. Polygon Filling ................................ 173 9. Three Dimensions ............................. 199 10. Displaying Three Dimensions ................... 223 11. The z-buffer Algorithm ......................... 251 12. Clipping ..................................... 287 13. Advanced Graphics. .. 317 Appendices ..................................... 327 A. Tables of ASCII, Hex, Binary, Octal .............. 329 B. Table of C Operator Precedence ................. 333 C. Binary Numbers .............................. 335 D. Setting Up Your Programming Environment ....... 339 E. Typing and Compiling the Machine-Specific Files ... 347 F. Special Compiling Instructions .................. 361 G. Using the Graphics Library ..................... 369 H. stdio.h Functions. .. 375 I. Amiga Graphics .............................. 385 J. ST Graphics .................................. 391 K. References ................................... 399 II Glossary ........................................ 401 Index .......................................... 415 •, Disk Coupon .................................... 421 - iii -I I I -- - ,- , II II Foreword II Not only does Learning C: Programming Graphics on the Amiga and Atari ST give you the information you need to begin writ­ ing your own C programs on the ST or Amiga, but it also shows you how to translate advanced mathematical con­ cepts-the same ones professional programmers use to create graphics-into C source code. The first sections of this book explain C programming. You'll learn all about C in general and the C language con­ cepts and commands you need to program graphics on the Amiga and Atari ST. The appendices even include specific information about how to compile and link programs on a variety of compilers for the two computers. The latter sections of Learning C: Programming Graphics on the Amiga and Atari ST illustrate how mathematical concepts relate to computer graphics, and how to write C code using those concepts in creating dramatic three-dimensional graphics. All the programs work on both the Amiga and ST be­ cause of machine.c, a machine-specific library of routines that you can add to any of your C programs to create graphics. The appendices include specific instructions on how to use this powerful library. Learning C: Programming Graphics on the Amiga and Atari ST assumes you're familiar with your ST or Amiga, have a C compiler, and that you know how to program in at least one computer language. This book shows you how to write high­ quality C source code to create executable programs using the II most popular compilers for the Amiga and Atari ST. (You should, though, be familiar with your compiler's operation.) All the programs have been tested and are ready to type w in, compile, link, and use on either the Atari ST or Commo­ dore Amiga. If you prefer, you can purchase a disk which in­ cludes all the C source code and executable files by calling , 1-800-346-6767 (in N.Y. 212-887-8525) or by using the coupon in the back of this book. v II II - II II, , II - *- Preface Learning C: Programming Graphics on the Amiga II and Atari ST is intended for the programmer who is new to the C programming language. It introduces those aspects of C programming which are necessary to understand and imple­ ment the advanced graphics algorithms discussed in Chapters 7-13. In general, we've assumed you are familiar with pro­ gramming your computer-that you know how to edit a file, run programs, and use the operating system. Throughout the text we have tried to emphasize machine­ independent graphics. All of the machine-dependent functions have been isolated in the file machine.c. This means that the sample programs in this book will run on any computer, if the appropriate machine.c file has been prepared. In fact, the orig­ inal zbuf program was implemented on an Apollo graphics workstation. It should be possible to port all of the example programs to the Apple Macintosh, the IBM pc, or even other graphics workstations such as SUNs or MicroVAX lIs. You simply need the necessary machine-dependent functions. The graphics algorithms and techniques which are pre­ sented in this book are usually only found in books about ad­ vanced graphics programming. We've tried to make these algorithms and techniques more accessible to the average com­ puter programmer. You might think that we talk about every algorithm possible, but what's here is really just the tip of the iceberg. The last chapter on graphics touches on some aspects of graphics programming which haven't been discussed else­ where in the book. This gives you a glimpse of what's possi­ ble, even on a personal computer like the Atari ST or Commodore Amiga. We've listed several good sources of graphics material in Appendix K if you want to learn more. It was quite a challenge getting all of the programs to run II on both the Atari ST and the Commodore Amiga. The biggest problems were bugs in the compilers or their libraries. Often we would get the program running satisfactorily on the Amiga, only to find that it didn't compile on the Atari. After working around compiler bugs on the Atari, we would bring II vii - * the program back to the Amiga, only to find that the Atari _ "fixes" manifested new bugs in the Amiga compilers. As with any large project, there are a number of people who deserve our gratitude. We'd like to thank Orson Scott _ Card, noted science fiction author and former book editor of COMPUTE!, for his early encouragement; Steven Grady, for giving us access to USENET and the ARPA Internet during the _ summer months; our parents, for their continuing support; and . a final thanks to our readers-Michael Littman, Lisa Gragg, Steve Roth, Byron Servies, and Rob Woodard-whose com- ments were invaluable in the weeks just before our deadline. Christopher Metcalf Marc Sugiyama II II viii II - -II -II ~~~-------- Are you interested in graphics? Have you seen three­ dimensional graphics displays, like the ones used in TRON or The Last Starfighter, and wondered, "Why can't my personal computer do something like that?" Yesterday's micros just didn't have enough horsepower. Today, things are different. Smaller personal computers, such as the Commodore Amiga and the Atari ST, have more power than the minis of ten years ago. This book will show you the techniques you need to mas­ ter sophisticated computer graphics. You'll learn about two­ and three-dimensional graphics programming, line drawing and polygon filling, and much more. All of the example pro­ grams are implemented in the popular C programming lan­ guage. And since Learning C: Programming Graphics on the Amiga and Atari ST is written for the first-time C programmer, you'll learn C as well as how to program graphics. Equipment and Software Learning C: Programming Graphics on the Amiga and Atari ST has sample source code for the Commodore Amiga and the Atari ST. To use the sample programs, you'll need a Commo­ dore Amiga with at least 512K. You can also use an Atari 520 or 1040 ST with either a color or monochrome monitor. The programs have been thoroughly tested and work with the Lat­ tice and Aztec C compilers on the Amiga and the Lattice, Alcyon, and Megamax C compilers for the ST. Some Definitions Before beginning with C and graphics, we'll need to review some basic definitions. The compiler is the program which translates your C program into machine language, the only language the computer can understand directly.
Recommended publications
  • Module Introduction
    Module Introduction PURPOSE: The intent of this module is to provide an overview of the MPC5200. OBJECTIVES: - Identify the MPC5200 Block Diagram - Identify the MPC5200 Target Markets - Describe HiP7 Technology - Describe Core Features - Describe System Level Features CONTENT: - 28 pages - 5 questions LEARNING TIME: - 55 minutes The intent of this module is to provide you with an overview of the MPC5200 microcontroller. You will become familiar with the MPC5200 and its target markets. You will also learn about the composition of the MPC5200 by studying its block diagram. Finally, you will explore the core and system level features of the of the MPC5200. 1 MPC5200 Overview Designed with automotive/telematics applications in mind Runs at higher clock, bus, and CPU speeds Handles a tremendous range of applications Welcome to the MPC5200. This processor provides very high performance in automotive and other embedded environments. This device has been designed with automotive and telematics applications in mind. What is new about the MPC5200? Generally, automotive class processors have not run at the clock speeds seen in the MPC5200. The external bus speeds of this device are up to 132 MHz and the internal execution speed for the CPU is up to 400 MHz. This provides the horsepower to do voice recognition, graphics processing and wireless communications. The MPC5200 is not just for automotive applications. In fact, this device will handle a tremendous range of applications. This is mainly due to the wide range of communications peripherals and timers, as well as the processing power provided by the 603 G2_LE core that uses the PowerPCTM instruction set.
    [Show full text]
  • Ebook - Informations About Operating Systems Version: August 15, 2006 | Download
    eBook - Informations about Operating Systems Version: August 15, 2006 | Download: www.operating-system.org AIX Internet: AIX AmigaOS Internet: AmigaOS AtheOS Internet: AtheOS BeIA Internet: BeIA BeOS Internet: BeOS BSDi Internet: BSDi CP/M Internet: CP/M Darwin Internet: Darwin EPOC Internet: EPOC FreeBSD Internet: FreeBSD HP-UX Internet: HP-UX Hurd Internet: Hurd Inferno Internet: Inferno IRIX Internet: IRIX JavaOS Internet: JavaOS LFS Internet: LFS Linspire Internet: Linspire Linux Internet: Linux MacOS Internet: MacOS Minix Internet: Minix MorphOS Internet: MorphOS MS-DOS Internet: MS-DOS MVS Internet: MVS NetBSD Internet: NetBSD NetWare Internet: NetWare Newdeal Internet: Newdeal NEXTSTEP Internet: NEXTSTEP OpenBSD Internet: OpenBSD OS/2 Internet: OS/2 Further operating systems Internet: Further operating systems PalmOS Internet: PalmOS Plan9 Internet: Plan9 QNX Internet: QNX RiscOS Internet: RiscOS Solaris Internet: Solaris SuSE Linux Internet: SuSE Linux Unicos Internet: Unicos Unix Internet: Unix Unixware Internet: Unixware Windows 2000 Internet: Windows 2000 Windows 3.11 Internet: Windows 3.11 Windows 95 Internet: Windows 95 Windows 98 Internet: Windows 98 Windows CE Internet: Windows CE Windows Family Internet: Windows Family Windows ME Internet: Windows ME Seite 1 von 138 eBook - Informations about Operating Systems Version: August 15, 2006 | Download: www.operating-system.org Windows NT 3.1 Internet: Windows NT 3.1 Windows NT 4.0 Internet: Windows NT 4.0 Windows Server 2003 Internet: Windows Server 2003 Windows Vista Internet: Windows Vista Windows XP Internet: Windows XP Apple - Company Internet: Apple - Company AT&T - Company Internet: AT&T - Company Be Inc. - Company Internet: Be Inc. - Company BSD Family Internet: BSD Family Cray Inc.
    [Show full text]
  • Goodforkbadfork-Lineo.Pdf
    Good Fork, Bad Fork Examining the Limits of Open Source Software in the Embedded Market Tim Bird Chief Technology Officer www.lineo.com Start with 2 Definitions Definition of open source What are it’s key attributes Definition of network effects Importance of network effects for open source software What is Open Source Software? Examples Linux Apache gcc (GNU compiler) Key Attributes of Open Source Software Access to the source code Freedom to make modifications AND distribute them (free = freedom : think free speech, not free beer) Licenses that provide these attributes Availability of source is NOT enough Source Availability != Open Source QNX now has source availability For lots of money, you can buy source code to VxWorks Microsoft may ship Windows CE source code But that's NOT Open Source Key Attributes of Open Source Software Communities develop The "Linux community" This generates "network effects" What are “Network Effects”? When the value of something increases with the number of items Classic example: the telephone Two phones have limited value Whole network of phones gives each one its value Other “Network Effect” Examples Classic example: VHS videocassette tapes Once a standard develops, it pushes other formats out Market for Applications Windows APIs OS More Popularity Applications Network Effects and Linux Every feature of Linux makes it more valuable to developers Every Linux developer makes Linux have more features Virtuous cycle Open Source Network Effects (Business Benefits) Popularity Availability of engineering resources Info Skilled manpower Engineer enthusiasm Commercial effects Multi-vendor OS Competition to produce rapid development Test organizations Linux is Not Just One Community Separate communities for networking, file systems, Web servers, graphic layers, desktops, etc.
    [Show full text]
  • May 10, 2002 Embedix SDK Lineo 1.07
    May 10, 2002 Embedix SDK Lineo 1.07 Embedix SDK 2.4 Getting Started May 10, 2002 Embedix SDK Lineo 1.07 Disclaimer, Trademarks, and Copyright Information Disclaimer Lineo, Inc. makes no representations or warranties with respect to the contents or use of this manual, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Lineo, Inc. reserves the right to revise this publication and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. Lineo, Inc. makes no representations or warranties with respect to any Lineo software, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Lineo, Inc. reserves the right to make changes to any and all parts of Lineo software, at any time, without any obligation to notify any person or entity of such changes. Trademarks Lineo and Embedix are registered trademarks of Lineo, Inc. The stylized Lineo logo is a trademark of Lineo, Inc. Other product and company names mentioned in this document may be the trademarks or registered trademarks of their respective owners. Copyright Copyright © 2002 Lineo, Inc. All rights reserved. No part of this publication may be reproduced, photocopied, stored on a retrieval system, or transmitted without the express written consent of the publisher. Lineo, Inc. 588 West 400 South Suite 150 Lindon, UT 84042 USA http://www.lineo.com Embedix SDK 2.4 Getting Started Part Number: EMBD-SDK-GS-0502 May 2002 May 10, 2002 Embedix SDK Lineo 1.07 Contents P R E F A C E About This Guide...............................................................................
    [Show full text]
  • @ LATTICE,INC. It Is
    @ LATTICE,INC. P. O. BOX 3072 ·GLENÉLLYN·LLNOIS 60138· 3l2/858ñ9!5OU1NX9lO29l-2l9O TECHNICAL BULLETIN TB841101.001 DATE: November 1, 1984 PRODUCT: 8086/8088 C Compiler SUBjECT: Known Bugs in Version 2.14 Recently three bugs concerning the Version 2.14 libraries and startup modules have come to light. Two of these pertain to the sensing and use of the 8087 co-processor, and the other concerns the use of the "malloc'° and "getmem" functions under MS-DOS 1 in the s and P models of the compiler. In addition some code was oMtted from the file " main.c". 1. Floating Point Bugs (a) Sensing cjf the 8087 The technique employed in the run-time library to sense the presence of the 8087 co-processor does not work in V2.14 because the 8087 is not initialized prior to the test. Correcting this problem is rather easy. You need only add a line of code to the file °'c.asm" provided with the compiler and reassemble this to replace the current "c.obj". file In the file "c.asm" you will find a line: CALL JLAIN just prior to this line, insert the fcülowing line DB ODBh,OE3h ; FNINIT instruction Then reassemble "c.asm" for each of the memory models as follows: -- Copy "c.asm" to the appropriate model subdirectory (i.e., \lc\s, \lc\d, \lc\p, or \lc\l) so that is in the same directory as "dos.mac" for it the appropriate memory mcdel. -- Use the command 1 @ LATTICE,1NC. W P. O. BOX 3Q72 ·GL£N ELLYN ·ILLNO1S 60138 · 312/858-7950·TWX9lO291-2 masm c; to assemble "c.asm" into "c.obj".
    [Show full text]
  • DECEMBER 1984 Editorial
    SECRET UJUJUVC!JUJUJlb f5l5CBl!JWVU~ !D~~WCB~ Cf l!l U1 v ffil! f] Ill~(! ffi g 00 (!{il C!J l! '7 00 {iJ U1 ~ [1{iJ w~ NOV-DEC 1984 EO 1. 4. (c) P .L. 86- 36 . TRENDS IN HF COMMUNICATIONS (U) •••••••••••• • ••• J.._ ___---..._.1. \\:>............ 1 • SWITCHBOARD: • PAST, PRESENT AND FUTURE (U) •• ~ ............. I • • \ I .......... 5 \ OUT OF MY DEPTH (U) .......................•............•...; .. i .. \ ... ·........ 7 . • • • • • • • • • • • • • • • • • • • • • • ! I ...\ .......... s 1 EXPLORING A DOS DISKETTE (U)................... I ...... :; , ........ 12 HUMAN FACTORS (U) •••••••••••••••••••••••••••••• I l ........ 22 CAN YOU TOP THIS? (U) ........................... E. Leigh Sawyer ... , \~ ••••••• 24 PERSONAL COMPUTING IN A GROUP (U).............. • •••••• 25 FACTION LINE (U) ••• , •••••••••••••••••••••••• • ••• Cal Q. Lator •••••••••••••• • 35 NSA-CROSTIC NO. 59 (U) •••.•••••••••••••••••••••• D.H.W.;.,, ••••••••••••••••• 36 'flllS BOC\'.JMBNT <JONTl.INS <JOBl'JWORB MATl'JRIAh Ghi'tSSIFIEB BY tfSA/SSSM lH 2 SECRET BEGI:a\-SSIFY 0N. 0r igiriet iug Agency's Betezminatior:t Reqaized Declassified and Approved for Release by NSA on 'I 0- '16-2012 pursuant to E 0 . 13526, MOR Case # 54 77B OCID: 4009933 Published by Pl, Techniques and Standards EO 1. 4. ( c) P~L. 86-36 VOL. XI, No. 11-12 NOVEMBER-DECEMBER 1984 Editorial PUBLISHER BOARD OF EDITORS Edi.tor ...•••......_I _______ ... 1(963-3045s .) Product ion .•....•. I .(963-3369s) . : : : :· Collection .••••••..•••• i------.jc963-396ls) Computer Security •: ' •••••• 1 ,(859-6044) Cryptolinguist ics. l 963-1 f03s) Data Systems .•...•.•• ·l ., 963-4,953s) Information Science " • ..... I lc963-.5111s> Puzzles .......... David H. Williams'f(9637'Il03s) Special Research • ..•. Vera R. Filby;! C968'-7119s) Traffic Analysis •. Robert J. Hanyo!<f! (968-3888s) For subscript ions .. , send name and organizat~on to: I w14I i P.L.
    [Show full text]
  • Compiler and Library Tim Hunter, SAS Institute Inc.; Cary, NC
    An Overview of the SASle· Compiler and Library Tim Hunter, SAS Institute Inc.; Cary, NC ABSTRACT The Compiler This paper describes the major features of the SAS/C® compiler The compiler implemented the C language as described in the and library and discusses the development history oftha product. then definitive book on C, Kernighan and Ritchie's The C Pro­ The enhancements in the current production release are outlined. .gramming Language: Because the compiler was implemented for Some possible enhancements for future releases are described. IBM 370's, it included many features that were thought necessary for that architecture and for programmers who were used to working In that environment. The foliowing list describes some INTRODUCTION of these features: • The generated code IS fully reentrant, even allowing The SAS/C product has had four production reteases in its five modification of external variables. years of development. Each release included many new features and enhancements of existing features. Not only is the compiler • The compiler supports a number of built-in functions. used exclustve1y for Version 6 of the SA&!' System on ISM® main~ These are functions for which the compiler generates frame hosts, it is the leading C compiter in this market. Although instructions directly into the instruction stream, rather than the compiler and IIDrary is heavily orlented to use in large soft­ generating a call to a separately linked version of the ware systems, it is an efficient tool for any software project that function. In this release, the following functions were is written in the C langauge. implemented as built-in functions: The primary elements of the SASIC product are the the compiler strlen memcmpp ,b, strcpy memcP¥P ceil and run-time library.
    [Show full text]
  • DR DOS for the Zfx86
    DR DOS for the ZFx86 Cost Effective, Reliable, Rapid Deployment of Embedded Systems w DR DOS on the ZFx86 gets products to market quickly at the lowest development and ownership cost. w Thousands of compatible applications, drivers and utilities available free or at minimal cost. w Full documentation available. DR DOS 7.03 Key Features of DR DOS Online Manual - DRDOS is supplied with a complete The ideal embedded DOS system, online manual that contains detailed information about all designed for out-of-the-box of the features of the operating system including the basic implementation into ROM or Flash commands, and the advanced utilities. It also has online ROM with tools and associated help available for all its commands. documents available in the DRDOS Memory Management - Memory management features OEM Documentation Kit. include a set of device drivers and commands that enable w 100% MS-DOS 6.22 compatible.. you to manage memory efficiently and make as much memory as possible available to your applications. w Comprehensive DOS utility set DOS Protected Mode Services - DOS Protected Mode w Multitasking, with API for developers Services (DPMS) interface allows specially-implemented w DPMS memory manager in addition to DPMI device drivers and TSRs to operate in extended memory. w Stacker disk compression This makes more memory within the first megabyte w NWCACHE - disk caching program available to applications and other conventionally-written drivers and TSRs. Both Stacker* (the disk compression w EMM386 memory manager program), and NWCACHE (the disk cache) use DPMS. w DOS Protected Mode Services (DPMS) Disk Compression - The disk compression component w Multitasking enables you to store more information by compressing the w DR-DOS provides a full multitasking environment data.
    [Show full text]
  • CP/M-80 Kaypro
    $3.00 June-July 1985 . No. 24 TABLE OF CONTENTS C'ing Into Turbo Pascal ....................................... 4 Soldering: The First Steps. .. 36 Eight Inch Drives On The Kaypro .............................. 38 Kaypro BIOS Patch. .. 40 Alternative Power Supply For The Kaypro . .. 42 48 Lines On A BBI ........ .. 44 Adding An 8" SSSD Drive To A Morrow MD-2 ................... 50 Review: The Ztime-I .......................................... 55 BDOS Vectors (Mucking Around Inside CP1M) ................. 62 The Pascal Runoff 77 Regular Features The S-100 Bus 9 Technical Tips ........... 70 In The Public Domain... .. 13 Culture Corner. .. 76 C'ing Clearly ............ 16 The Xerox 820 Column ... 19 The Slicer Column ........ 24 Future Tense The KayproColumn ..... 33 Tidbits. .. .. 79 Pascal Procedures ........ 57 68000 Vrs. 80X86 .. ... 83 FORTH words 61 MSX In The USA . .. 84 On Your Own ........... 68 The Last Page ............ 88 NEW LOWER PRICES! NOW IN "UNKIT"* FORM TOO! "BIG BOARD II" 4 MHz Z80·A SINGLE BOARD COMPUTER WITH "SASI" HARD·DISK INTERFACE $795 ASSEMBLED & TESTED $545 "UNKIT"* $245 PC BOARD WITH 16 PARTS Jim Ferguson, the designer of the "Big Board" distributed by Digital SIZE: 8.75" X 15.5" Research Computers, has produced a stunning new computer that POWER: +5V @ 3A, +-12V @ 0.1A Cal-Tex Computers has been shipping for a year. Called "Big Board II", it has the following features: • "SASI" Interface for Winchester Disks Our "Big Board II" implements the Host portion of the "Shugart Associates Systems • 4 MHz Z80-A CPU and Peripheral Chips Interface." Adding a Winchester disk drive is no harder than attaching a floppy-disk The new Ferguson computer runs at 4 MHz.
    [Show full text]
  • Non Unix Family Tree and Timeline Version 0.3.2
    Non Unix family tree and Timeline Version 0.3.2 1958 FMS SOS 1958 Late 1950's Late 1950's 1960 1960 IBM 1410/1710 OS Early 1960's CTSS 1961-1962 1962 IBSYS PDP-1 OS 1962 Early 1960's 1962 SABRE 1962-64 EXEC I 1964 Tops-10 1.4 1964 1964 Early 1960's OS/360 Multics TOS (BOS, TOS,DOS) 1965 1965 EXEC II Early 1960's DOS CP-40 1966 (CP-67) Tops-10 1.9 MS/8 1966 1966 1966 1966 CAL BPS/360 CP/CMS Tops-10 2.18 Late 1960's ITS WAITS EXEC 3 Late 1960's 1967 1967 1967 1967 Late 1960's DOS/VSE 1968 PARS Tops-10 3.27 1968 1968 SCOPE TDOS 1968 Late 1960's EXEC 4 Late 1960's Late 1960's VMOS ACP v4 EXEC 8 OS/MFT Tops-10 4.50 ACP TENEX Unix Late 1960's 1969 1969 1969 1969 MSS 4.0 1969 Late 1960's Tops-10 4.72 10/1969 1969 MSS 5.0 1970 12/1969 1970 Tops-10 5.01 DOS/Batch 11 MSS 6.0 1970 1970 3/1970 MSS 7.0 3/1970 MSS 8.0 6/1970 1971 RSTS-11 1971 1971 Tops-10 5.02 Tape Scope 2 KRONOS 1971 OS/8 Early 1970's Early 1970's VS/9 Chios 1971 VM/CMS Earl 1970's Early 1970's 1972 OS/VS1 Tops-10 5.03 BKY 1972 1972 1972 Early 1970's Tops-10 5.04 5/1972? KI-TELNEX Tops-10 5.05 mid 1972 7/1972? Tops-10 5.06 1973 11/1972 1973 VSE RSX-11D 5/1973 RT-11 OS/12 Alto 7/1973 1973 OS/VS2 r1 1974 1974 MSS 22.0 1974 RSX-11M 1/1974 1974 Tops-10 5.07 Tops-10 6.01 MR 1.0 CP/M 1.0 5/1974 5/1974 6/1974 1974 OS/VS2 r2 7/1974 1975 1975 OS/VS2 MVS r3 3/1975 Tops-10 5.07A Tops-10 6.01A 5/1975 5/1975 CP/M 1.3 1976 Tops-10 6.02 1975 RSX-11M Plus 1976 Tops-20 1 MSS 28.0 1976 2/1976 2/1976 Tops-20 1A 4/1976 Tops-20 1B 10/1976 Tops-20 101B 12/1976 1977 1977 Tops-10 6.03 p-System I.0 3/1977
    [Show full text]
  • Module Introduction
    Module Introduction PURPOSE: The intent of this module is to provide an overview of the MPC5200. OBJECTIVES: - Identify the MPC5200 Block Diagram - Identify the MPC5200 Target Markets - Describe HiP7 Technology - Describe Core Features - Describe System Level Features CONTENT: - 28 pages - 5 questions LEARNING TIME: - 55 minutes The intent of this module is to provide you with an overview of the MPC5200 microcontroller. You will become familiar with the MPC5200 and its target markets. You will also learn about the composition of the MPC5200 by studying its block diagram. Finally, you will explore the core and system level features of the of the MPC5200. 1 MPC5200 Overview Designed with automotive/telematics applications in mind Runs at higher clock, bus, and CPU speeds Handles a tremendous range of applications Welcome to the MPC5200. This processor provides very high performance in automotive and other embedded environments. This device has been designed with automotive and telematics applications in mind. What is new about the MPC5200? Generally, automotive class processors have not run at the clock speeds seen in the MPC5200. The external bus speeds of this device are up to 132 MHz and the internal execution speed for the CPU is up to 400 MHz. This provides the horsepower to do voice recognition, graphics processing and wireless communications. The MPC5200 is not just for automotive applications. In fact, this device will handle a tremendous range of applications. This is mainly due to the wide range of communications peripherals and timers, as well as the processing power provided by the 603 G2_LE core that uses the PowerPCTM instruction set.
    [Show full text]
  • C CC Cco Ccom Ccomp C Compi C Compil C Compile C Compiler Aztec C II User Manua1
    AZTEC C OWNER'S MANUAL MANX SOFTWARE SYSTEMS C CC CCo CCom CComp C Compi C Compil C Compile C Compiler Aztec C II User Manua1 Release 1.05 9/9/83 Copyright (C) 1981 by Manx Software Systems, Inc. Copyright (C) 1982 by Manx Software Systems, Inc. All Rights Reserved Worldwide Distributed by: Manx Software Systems P. O. Box 55 Shrewsbury, N. J. 07701 201-780-4004 Aztec C II CONTENTS SECTION Installation I Overview II Aztec C II Compiler III r.1ANX AS Relocating Assembler IV MANX LN Linker V Library Functions VI Microsoft Compatibility VII Error Codes and Error processing VIII LIBUTIL Library utility IX I/O Redirection and Buffered I/O X MANX Overlay Linker ...................................... XI Data Formats XII Assembly Language Support •...••••••••••.••••••••••••••.•• XIII producing ROMable Code XIV Floating Point Support XV SID/ZSID Support XVI Unbuffered I/O Support XVII User Submitted Software XVIII Sample Program Appendix A programming for Efficiency Appendix B Copyright (C) 1982 by Manx Software Systems, Inc. INTRODUCTION Welcome to the growing number of Aztec C II users. This manual will describe the use of the various components of the Aztec C II system. 1.1 Origin of HC· Dennis Ritchie originally designed "C" for the UNIX project at Bell Telephone Laboratories. All of the UNIX operating system, its utilities, and application programs are written in "C". 1.2 Standard Reference Manual for HC" The standard reference for the "C" language is: Brian W. Kernighan and Dennis M. Ritchie, The C programming-Language. Prentice-Hall Inc., 1978, (Englewood Cliffs, N. J.) The above text besides providing the standard definition and reference for the "C" language is an excellent tutorial.
    [Show full text]