68HC11 Programmer's Reference Manual

Total Page:16

File Type:pdf, Size:1020Kb

68HC11 Programmer's Reference Manual 68HC11 Programmer's Reference Manual Phillip Musumeci [email protected] November 1999 Version 1.7 Credits Engineer proofreading: Dr. Barbara La Scala; • Cross Assembler for 68HC11: Motorola; • University of Wollongong F1 system: Pete Dunster; and • Many different public domain software tools: many helpful users. • References 1. Gene H. Miller, \Microcomputer Engineering", Prentice Hall, Englewood Cliffs, NJ 07632, 1993. ISBN 0-13-584475-4. 2. Motorola, \HC11 | M68HC11 Reference Manual", Part number M68HC11RM/AD. 3. Frederick F. Driscoll, Robert F. Coughlin, Robert S. Villanucci, \Data acquisition and process control with the M68HC11 micro-controller", Merrill/Macmillan Inter- national, 1994. ISBN 002330555X 4. Joseph L. Jones and Anita M. Flynn, \Mobile Robots: Inspiration to Implementa- tion", A.K. Peters, Wellesley, Massachusetts, 1993. ISBN 1-56881-011-3. 5. P. Dunster, \F1 System Reference Manual", held in file F1V11DOC.PS in the archive ftp://mirriwinni.cse.rmit.edu.au/pub/UoW/f1v11doc.zip 6. P. Musumeci, \Introduction to Microprocessor Systems", lecture notes and data packs are available from http://mirriwinni.cse.rmit.edu.au/~phillip/intro2up Notes The latest release of this manual (PDF) is available from • http://mirriwinni.cse.rmit.edu.au/~phillip/intro2up. This document was prepared using the teTeX distribution of LATEX1, dvips, and • xdvi. The diagrams were processed using the graphicx and pdftex packages of LATEX, and the ps2pdf utility from ghostscript. The language aware editor xemacs was used to prepare input text before checking with ispell. A (Free)BSD computing environment has been employed. Feedback Please email reports of errors in this document or suggestions for its improvement to • [email protected]. c Phillip Musumeci, November 1999 1Feel the power of LATEX. i Contents 1 Introduction 1 1.1 Tools . 2 1.2 Command Entry . 3 1.3 Program preparation . 3 1.4 Setting up your assembly language tools . 4 1.4.1 Cross assembler | DOS . 4 1.4.2 Cross assembler | UNIX . 4 2 Software development cycle 5 2.1 Understand the problem . 5 2.2 Plan Structure of Program . 5 2.3 Data Structures . 5 2.4 Coding . 6 2.5 Assembling . 6 2.6 Downloading . 7 2.7 Target Machine Memory Map . 7 3 Object File Downloading 10 3.1 System = HC11 board + PC/DOS + kermit . 10 3.1.1 Procedure . 10 3.2 System = HC11 board + PC/DOS + procomm . 11 3.2.1 Procedure . 11 3.3 System = HC11 board + FreeBSD + X-windows + kermit . 11 3.4 Troubleshooting . 12 4 Assembler directives 14 4.1 Setting the Program Location Counter . 14 4.1.1 ORG | SET PROGRAM LOCATION COUNTER . 14 4.2 Setting Symbol and Label Values . 14 4.2.1 EQU | EQUATE SYMBOL TO A VALUE . 15 4.3 Memory Allocation . 15 4.3.1 RMB | RESERVE MEMORY BYTES . 15 4.3.2 FCC | FORM CONSTANT CHARACTER STRING . 15 4.3.3 FCB | FORM CONSTANT BYTE . 16 4.3.4 FDB | FORM DOUBLE BYTE CONSTANT . 16 4.3.5 FILL | FILL MEMORY . 16 4.3.6 BSZ | BLOCK STORAGE OF ZEROS . 16 4.3.7 ZMB | ZERO MEMORY BYTES (same as BSZ) . 16 4.4 Addressing Modes . 17 4.4.1 Register . 17 4.4.2 Zero Page and Absolute Addressing . 17 ii 4.4.3 Immediate . 17 4.4.4 Register Indirect (with offset) . 18 4.4.5 Bit Set/Clear . 18 4.4.6 Bit Test with Conditional Branch . 19 5 Assembler listing file format 20 A 68HC11 CPU Registers 22 B 68HC11 Instruction Set 23 C 68HC11 Vectors 27 C.1 Jump Vectors . 28 C.2 Buffalo Entry Points . 32 D Monitor Symbol Definitions 35 D.1 F1 symbols . 35 E Makefile Example 39 F Real{Time Interrupt Example 40 G Miscellaneous Information 43 G.1 RESET Bootup Code in BUFFALO ...................... 43 G.1.1 EVBU and BUFFALO .......................... 43 G.1.2 F1 and RMIT/CSE BUFFALO ...................... 43 G.2 Recovering from BULKALL with RMIT/CSE BUFFALO . 43 G.3 Enabling TRACE in BUFFALO ......................... 43 G.4 Setting A/D voltage range . 43 G.5 Mode setting for expanded mode . 44 G.6 Summary of Port Signals used by BUFFALO . 44 H 68HC11 Net Resources 45 I 68HC11 Overview 46 List of Tables 1 68HC11F1 system memory map. 8 2 EVBU 68HC11E9 system memory map. 9 iii 1 INTRODUCTION 1 1 Introduction There are a large number of 68HC11 devices and 68HC11 development systems available. It is possible for this generous choice to make initial use of a system confusing but fortunately, most of the low cost systems make use of the same monitor program, BUFFALO, which means that the programmer is presented with a common interface to the system and can make use of a common set of subroutine routines in the on-board BUFFALO ROM. Another characteristic of the 68HC11 family of devices, that they contain the same core set of internal peripherals, means users are presented with a fairly uniform piece of hardware to work with so confusion is avoided. Note that some recent devices now provide additional internal peripherals or have more flexible input/output ports. This document provides useful information for assembly language programmers who are just beginning to use a 68HC11-based µprocessor system. Code assembly and down- loading of object files is described for both UNIX and PC based software development environments, and a summary of assembler directives is provided. Appendices include a table of 68HC11 CPU instructions and a summary of important BUFFALO subroutine entry points and vectors. Where appropriate, specific information for the Motorola Universal Evaluation Board (EVBU) system and the University of Wollongong F1 system is given. The Motorola EVBU system supports a number of MC68HC11 variants including A8, E9, and 711E9 on a small PCB with a small prototyping area. These MC68HC11s have 512 bytes of EEPROM and 256 (A8) or 512 (E9,711E9) bytes of RAM. The A8 and E9 devices usually contain BUFFALO in ROM while the 711E9 contains EPROM that the user may program. Recently, the E series devices have had versions with larger EEPROM available, e.g. the 811E2 has 2K of EEPROM, while the A8 is no longer manufactured. The EVBU has an RS232 interface and a real time clock chip (MC68HC68T1) that is connected to the CPU via the serial peripheral bus. The Wollongong F1 system uses the MC68HC11F1FN device which contains similar internal peripherals to the A8 and E9 devices and the same amount of EEPROM but it has 0K bytes of internal ROM and 1K bytes of internal RAM. In this system, BUFFALO (and any other desired firmware) is stored in an external 32K EPROM. The board can also hold a 32K RAM device so tasks requiring additional storage are feasible. Much of the design of the system is in the public domain to assist the micro-controller enthusiast and the reference manual includes the complete circuit diagram and describes operation and construction of the CPU board plus the various configuration options (memory devices supported, etc). A list of part suppliers is included, with Australian and U.S.A. sources available for the (very) economical CPU PCB, a motor controller interface PCB, and a keypad and LCD module interface PCB. The various PCBs are relatively small and stack together in a compact manner suitable for mobile robot experiments. C language programming is also supported. Note that the F1 variant of the 68HC11 is available with clock frequencies of 8MHz (MC68HC11F1FN), 12MHz (MC68HC11F1FN3) and 16MHz (MC68HC11F1FN4) allowing a system \E" bus clock of 2MHz, 3MHz, and 4MHz respectively. Further details on this system may be obtained from the following sources: 1 INTRODUCTION 2 http://mirriwinni.cse.rmit.edu.au/~phillip/f1 • http://mirriwinni.cse.rmit.edu.au/~f1 • ftp://mirriwinni.cse.rmit.edu.au/pub/UoW • 1.1 Tools Many public domain tools exist for 68HC11 programmers, including: a 68HC11 assembler, as11, from Motorola; • a number of 68HC11 simulators, sim68hc11 by [email protected] and SIM68 by P. J. Fisch; • macro processors such as GNU m4 and GNU C cpp; and • C language support such as ICn a native C (subset) compiler (beta), and GNU gcc • 68HC11 port (no floats) by Otto Lind ([email protected]). Note that the as11 assembler and m4 macro processor are available for PC hosts (executa- bles) and UNIX hosts (source distribution). Section H lists internet sites from where the various tools may be obtained. In partic- ular, the ftp site ftp://mirriwinni.cse.rmit.edu.au/pub/uP/68HC11.local holds: zip archive files with names ending in .ZIP (uppercase) which contain copies of the tools • for PC hosts; files symbols.e9, symbols.f1w, symbols.f1p, and vectors which list symbols and • vectors for various 68HC11 systems; directory Sources which contains assembly language program examples, including file • memtest which is a basic memory test utility adapted from a Motorola 6800 monitor (the instructions for use are at the beginning of the source file); directory 68HC11 User Manual Examples which contains some assembly language pro- • gram examples distributed with the Motorola 68HC11 Reference Manual; directory buffalo-source which contains archives of the assembly language source and • hex files for various versions of the BUFFALO monitor program; and gzip{compressed tar archive file Motorola-8bit-asm-v2.09.tar.gz which is the source • for the cross assembler. A number of very economical tools are available for 68HC11 programmers, including: the HITECH integrated development systems | see http://www.hitech.com.au; • 1 INTRODUCTION 3 the ImageCraft C compiler (ICC), which runs under DOS and OS/2, provides a doc- • umented near ANSI C compiler, assembler, linker, and librarian; and the Dunfield Development Systems integrated development environment for the 68HC11 | for details, see file ftp://mirriwinni.cse.rmit.edu.au/pub/uP/FAQ/Microcontroller-primer+faq.
Recommended publications
  • Build a Swtpc 6800
    Southwest Technical Products Corporation 6800 Computer System The Southwest Technical Products 6800 computer system is based upon the Motorola MC6800 microprocessor unit (MPU) and its matching support devices. The 6800 system was chosen for our computer because this set of parts is currently in our opinion the "Benchmark Family" for microprocessor computer systems. It makes it possible for us to provide you with an outstanding computer system having a minimum of parts, but with outstanding versatility and ease of use. In addition to the outstanding hardware system, the Motorola 6800 has without question the most complete set of documentation yet made available for a microprocessor system. The 714 page Applications Manual, for example, contains material on programming techniques, system organization, input/output techniques, hardware characteristics, peripheral control techniques, and more. Also available is a Programmers Manual which details the various types of software available for the system and instructions for programming and using the unique interface system that is part of the 6800 system. The M6800 family of parts minimizes the number of, required components and support parts, provides extremely simple interfacing to external devices and has outstanding documentation. The MC6800 is an eight-bit parallel microprocessor with addressing capability of up to 45,536 words (BYTES) of data. The system is TTL compatible requiring only a single fine-volt power supply. All devices and memory in the 6800 computer family are connected to an 8-bit bi-directional data bus. In addition to this a 16-bit address bus is provided to specify memory location. This later bus is also used as a tool to specify the particular input/ output device to be selected when the 6800 family interface devices are used.
    [Show full text]
  • Exorciser USER's GUIDE
    M6809EXOR(D1) ®MOTOROLA M6809 EXORciser User's Guide MICROSYSTEMS M6809EXOR (Dl} SEPTEMBER 1979 M6809 EXORciser USER'S GUIDE The information in this document has been carefully checked and is believed to be entirely reliable. However, no res pons i bi 1ity is assumed for inaccuracies. Furthermore, Motorola reserves the right to make changes to any products herein to improve reliability, function, or design. Motorola does not assume any liability arising out of the application or use of any product or circuit described herein; neither does it convey any license under its patent rights nor the rights of others. EXORciser®, EXORdisk, and EXbug are trademarks of Motorola Inc. First Edition ©Copyright 1979 by Motorola Inc. TABLE OF CONTENTS Page CHAPTER 1 GENERAL INFORMATION 1.1 INTRODUCTION 1-1 1.2 FEATURES 1-1 1.3 SPECIFICATIONS 1-2 1.4 EQUIPMENT SUPPLIED 1-2 1.5 GENERAL DESCRIPTION 1-3 1.5.1 EXORciser Memory Parity 1-3 1.5.2 Dual Map Concepts 1-5 1.5.3 Second level Interrupt Feature 1-7 1.5.4 Dynamic System Bus 1-10 CHAPTER 2 INSTALLATION INSTRUCTIONS AND HARDWARE PREPARATION 2.1 INTRODUCTION 2-1 2.2 UNPACKING INSTRUCTIONS 2-1 2.3 INSPECTION 2-1 2.4 INSTALLATION INSTRUCTIONS 2-1 2.5 DATA TERMINAL SELECTION AND CONNECTIONS 2-2 2.5.1 RS-232C Interconnections 2-2 2.5.2 20mA Current loop Interconnections 2-2 2.6 PREPARATION OF SYSTEM MODULES 2-2 CHAPTER 3 OPERATING INSTRUCTIONS 3.1 INTRODUCTION 3-1 3.2 SWITCHES AND INDICATORS 3-1 3.2.1 Front Panel Switches and Indicators 3-1 3.2.2 Switches on the DEbug Module 3-2 3.3 INITIALIZATION 3-3 3.3.1
    [Show full text]
  • Go Forth with TTL !
    Go Forth with TTL ! The Gigatron TTL Color Computer Forth for a Very Unusual Processor Ken Boak SV Fig. Forth Day 2019 . In September of 1975, MOS Technology launched the 6502 at the Wescon75 Computer Conference in San Francisco. Chuck Peddle and his team had created a very lean, stripped down, small die cpu. Costing just $25, the 6502 was a fraction of the cost of its nearest competitor. At that time the Intel 8080 was $360 and the Motorola 6800 was $175 . The 6502 was clearly a disruptive usurper. 25 year old, HP Engineer, Steve Wozniak, realised that this new microprocessor would be a game-changer and went on to incorporate it into the small computer he was developing. That machine went on to become the Apple I. In 1975 7400 TTL was the “Bread and Butter” of logic design: 7400 series TTL integrated circuits were developed in the early 1960’s. Initially quite expensive so mainly used in Military and Aerospace applications. By the early 1970’s TTL had become a versatile family of standardised, low cost,. easy to use logic. Typically about $1 per device. 7400 series logic was widely used in the design of minicomputers, including the PDP-11, the Data General Nova 1200 and later models of PDP-8. TTL was a viable, faster and cheaper processing solution than the emerging 8-bit microprocessors such as MOS 6502, Intel 8080 and the Motorola 6800. Essential Reading 16-bit TTL CPU board from Data General Nova 1200 The Gigatron TTL Computer – What is it? Started as a Hackaday.io project in Spring 2017 by Marcel van Kervinck of The Hague, Netherlands.
    [Show full text]
  • Exploring Software Inefficiency With
    ZeroSpy: Exploring Software Inefficiency with Redundant Zeros Xin You∗, Hailong Yang∗y, Zhongzhi Luan∗, Depei Qian∗ and Xu Liuz Beihang University, China∗, North Carolina State University, USAz State Key Laboratory of Mathematical Engineering and Advanced Computing, Wuxi, Chinay fyouxin2015,hailong.yang,07680,[email protected]∗, [email protected] Abstract—Redundant zeros cause inefficiencies in which the 1 for(int i=0;i<1000;++i) { 2 A[i] = 0; B[i] = i; zero values are loaded and computed repeatedly, resulting in 3 } 4 ... unnecessary memory traffic and identity computation that waste 5 for(int i=0;i<1000;++i) memory bandwidth and CPU resources. Optimizing compilers 6 I C[i] = A[i]-B[i]; is difficult in eliminating these zero-related inefficiencies due to Listing 1. An example code working on redundant zeros, where all variables are 32-bit integers. limitations in static analysis. Hardware approaches, in contrast, optimize inefficiencies without code modification, but are not enough to fulfill the computation, which yields better cache widely adopted in commodity processors. In this paper, we 1 propose ZeroSpy - a fine-grained profiler to identify redundant usage and vectorization potentials . zeros caused by both inappropriate use of data structures and Actually, a larger number of real-world applications (e.g., useless computation. ZeroSpy also provides intuitive optimization deep neural network and high-efficiency video coding) have guidance by revealing the locations where the redundant zeros already been reported to contain a significant amount of happen in source lines and calling contexts. The experimental redundant zeros and achieved significant speedup from the results demonstrate ZeroSpy is capable of identifying redundant zeros in programs that have been highly optimized for years.
    [Show full text]
  • Lecture 1: Course Introduction G Course Organization G Historical Overview G Computer Organization G Why the MC68000? G Why Assembly Language?
    Lecture 1: Course introduction g Course organization g Historical overview g Computer organization g Why the MC68000? g Why assembly language? Microprocessor-based System Design 1 Ricardo Gutierrez-Osuna Wright State University Course organization g Grading Instructor n Exams Ricardo Gutierrez-Osuna g 1 midterm and 1 final Office: 401 Russ n Homework Tel:775-5120 g 4 problem sets (not graded) [email protected] n Quizzes http://www.cs.wright.edu/~rgutier g Biweekly Office hours: TBA n Laboratories g 5 Labs Teaching Assistant g Grading scheme Mohammed Tabrez Office: 339 Russ [email protected] Weight (%) Office hours: TBA Quizes 20 Laboratory 40 Midterm 20 Final Exam 20 Microprocessor-based System Design 2 Ricardo Gutierrez-Osuna Wright State University Course outline g Module I: Programming (8 lectures) g MC68000 architecture (2) g Assembly language (5) n Instruction and addressing modes (2) n Program control (1) n Subroutines (2) g C language (1) g Module II: Peripherals (9) g Exception processing (1) g Devices (6) n PI/T timer (2) n PI/T parallel port (2) n DUART serial port (1) g Memory and I/O interface (1) g Address decoding (2) Microprocessor-based System Design 3 Ricardo Gutierrez-Osuna Wright State University Brief history of computers GENERATION FEATURES MILESTONES YEAR NOTES Asia Minor, Abacus 3000BC Only replaced by paper and pencil Mech., Blaise Pascal, Pascaline 1642 Decimal addition (8 decimal figs) Early machines Electro- Charles Babbage Differential Engine 1823 Steam powered (3000BC-1945) mech. Herman Hollerith,
    [Show full text]
  • The Birth, Evolution and Future of Microprocessor
    The Birth, Evolution and Future of Microprocessor Swetha Kogatam Computer Science Department San Jose State University San Jose, CA 95192 408-924-1000 [email protected] ABSTRACT timed sequence through the bus system to output devices such as The world's first microprocessor, the 4004, was co-developed by CRT Screens, networks, or printers. In some cases, the terms Busicom, a Japanese manufacturer of calculators, and Intel, a U.S. 'CPU' and 'microprocessor' are used interchangeably to denote the manufacturer of semiconductors. The basic architecture of 4004 same device. was developed in August 1969; a concrete plan for the 4004 The different ways in which microprocessors are categorized are: system was finalized in December 1969; and the first microprocessor was successfully developed in March 1971. a) CISC (Complex Instruction Set Computers) Microprocessors, which became the "technology to open up a new b) RISC (Reduced Instruction Set Computers) era," brought two outstanding impacts, "power of intelligence" and "power of computing". First, microprocessors opened up a new a) VLIW(Very Long Instruction Word Computers) "era of programming" through replacing with software, the b) Super scalar processors hardwired logic based on IC's of the former "era of logic". At the same time, microprocessors allowed young engineers access to "power of computing" for the creative development of personal 2. BIRTH OF THE MICROPROCESSOR computers and computer games, which in turn led to growth in the In 1970, Intel introduced the first dynamic RAM, which increased software industry, and paved the way to the development of high- IC memory by a factor of four.
    [Show full text]
  • COSMIC C Cross Compiler for Motorola 68HC11 Family
    COSMIC C Cross Compiler for Motorola 68HC11 Family COSMIC’s C cross compiler, cx6811 for the Motorola 68HC11 family of microcontrollers, incorporates over twenty years of innovative design and development effort. In the field since 1986 and previously sold under the Whitesmiths brand name, cx6811 is reliable, field-tested and incorporates many features to help ensure your embedded 68HC11 design meets and exceeds performance specifications. The C Compiler package for Windows includes: COSMIC integrated development environment (IDEA), optimizing C cross compiler, macro assembler, linker, librarian, object inspector, hex file generator, object format converters, debugging support utilities, run-time libraries and a compiler command driver. The PC compiler package runs under Windows 95/98/ME/NT4/2000 and XP. Complexity of a more generic compiler. You also get header Key Features file support for many of the popular 68HC11 peripherals, so Supports All 68HC11 Family Microcontrollers you can access their memory mapped objects by name either ANSI C Implementation at the C or assembly language levels. Extensions to ANSI for Embedded Systems ANSI / ISO Standard C Global and Processor-Specific Optimizations This implementation conforms with the ANSI and ISO Optimized Function Calling Standard C specifications which helps you protect your C support for Internal EEPROM software investment by aiding code portability and reliability. C support for Direct Page Data C Runtime Support C support for Code Bank Switching C runtime support consists of a subset of the standard ANSI C support for Interrupt Handlers library, and is provided in C source form with the binary Three In-Line Assembly Methods package so you are free to modify library routines to match User-defined Code/Data Program Sections your needs.
    [Show full text]
  • M.Tech –Embedded System Design SEMESTER-I S.NO CODE
    CURRICULUM DEPARTMENT OF ELECTRONICS AND COMMUNICATION BRANCH: M.Tech –Embedded System Design SEMESTER-I S.NO CODE SUBJECT NAME L T P C 1 PMA105 Applied Mathematics for Electronics Engineers 3 1 0 4 2 PED101 Microcontroller Based System Design 3 0 0 3 3 PED102 Embedded Systems 3 0 0 3 4 PAE102 Advanced Digital System Design 3 0 0 3 5 PED1E1 Elective-I 3 0 0 3 6 PED1L1 Embedded System Design Lab-I 0 0 4 2 TOTAL CONTACT HOURS- 20 18 SEMESTER-II 1 PED101 ASIC Design 3 0 0 3 2 PED202 Software Technology for Embedded System 3 0 0 3 3 PED203 Real Time Systems 3 0 0 3 4 PED2E2 Elective-II 3 0 0 3 5 PED2E3 Elective-III 3 0 0 3 6 PED2L2 Embedded System Design Lab -II 0 0 4 2 TOTAL CONTACT HOURS -19 17 SEMESTER-III 1. PED3E4 Elective-IV 3 0 0 3 2. PED3E5 Elective-V 3 0 0 3 3. PED3E6 Elective-VI 3 0 0 3 4. PED3P1 Project work phase-I 0 0 12 6 TOTAL CONTACT HOURS-21 15 SEMESTER-IV 1 PED4P2 Project work phase-II 0 0 24 12 TOTAL CONTACT HOURS-24 12 TOTAL CREDITS FOR THE PROGRAMME-62 LIST OF ELECTIVES 1 PED 001 Design of Embedded System 3 0 0 3 2 PED 002 Embedded Control System 3 0 0 3 3 PED 003 Computer Vision and Image Understanding 3 0 0 3 4 PED 004 Distributed Embedded Computing 3 0 0 3 5 PED 005 Design of Digital Control System 3 0 0 3 6 PED 006 Crypto Analytic Systems 3 0 0 3 7 PED 007 Intelligent Embedded Systems 3 0 0 3 8 PAE 006 Artificial Intelligence and Expert systems 3 0 0 3 9 PED102 Embedded systems 3 0 0 3 10 PED201 ASIC Design 3 0 0 3 11 PVL002 Low power VLSI Design 3 0 0 3 12 PVL003 Analog VLSI Design 3 0 0 3 13 PVL004 VLSI Signal processing
    [Show full text]
  • 6502 Introduction
    6502 Introduction Philipp Koehn 18 September 2019 Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 1 some history Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 1971 2 • First microprocessor on an integrated circuit: Intel 4004 • 4-bit central processing unit, 12 bit address space (4KB) Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 1975 3 • MOS Technology 6502 • Dominant CPU in home computers for a decade (Atari, Apple II, Nintendo Entertainment System, Commodore PET) Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 1977 4 • Atari 2600 • Video game console: Pong, Pac Man, ... connected to TV Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 1980 5 • Commodore VIC20 • 1 MHz, 5KB RAM, BASIC, 3.5KB RAM, 176x184 3 bit color video Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 1982 6 • Commodore C64 • 64KB RAM, 320x200 4 bit color video Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 Commodore C64 7 • BASIC programming language, but serious programs written in assembly • No fancy stuff like multi-process, user accounts, virtual memory, etc. • Machine itself had no mass storage - had to buy tape drive, then floppy disk drive, machine was obsolete once hard drives came around Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 BASIC Demo 8 • Commands get executed (just like Python interpreter)
    [Show full text]
  • Download a Sample
    Preface Like many American kids in 1979, I woke up to find that Santa had left a brand new Atari VCS1 under the tree (thanks, Mom and Dad, for paying Santa’s invoice!). This was a pretty big deal for a six- year-old who could tell you the location and manufacturer of every standup arcade cabinet within a five mile radius. Having an “arcade in your home” wasn’t just a thing you saw on Silver Spoons, it was now a real thing. The sights and sounds that jumped o↵ of our little Panasonic color TV probably deserve a gigantic run-on sentence worthy of Dylan Thomas, as my brother and I bounced tiny pixellated missiles o↵ of walls in Combat, combed through the perplexing game modes of Space Invaders, battled angry duck-like dragons in Adventure, and became Superman as we put flickering bad guys in a flickering jail. These cartridges were opaque obelisks packaged in boxes with fantastically unattainable illustrations, available at K-Mart for $30 or so. You could tell these species of video games weren’t related to arcade games, though they had a unique look-and-feel of their own. We also had an Apple ][ by this time, so I tried to fit all of these creatures into a digital taxonomy. Atari games had colors and fast motion, but not as much as arcade games, and they never were as complex as Apple ][ games. What made them tick? Why were Activision games so much more detailed? Would the missile still blow up your spaceship if you turned the TV o↵? (Turns out the answer is yes.) 1 It wasn’t sold as “Atari 2600” until 1982.
    [Show full text]
  • The Ultimate C64 Overview Michael Steil, 25Th Chaos Communication Congress 2008
    The Ultimate C64 Overview Michael Steil, http://www.pagetable.com/ 25th Chaos Communication Congress 2008 Retrocomputing is cool as never before. People play Look and Feel C64 games in emulators and listen to SID music, but few people know much about the C64 architecture A C64 only needs to be connected to power and a TV and its limitations, and what programming was like set (or monitor) to be fully functional. When turned back then. This paper attempts to give a comprehen- on, it shows a blue-on-blue theme with a startup mes- sive overview of the Commodore 64, including its in- sage and drops into a BASIC interpreter derived from ternals and quirks, making the point that classic Microsoft BASIC. In order to load and save BASIC computer systems aren't all that hard to understand - programs or use third party software, the C64 re- and that programmers today should be more aware of quires mass storage - either a “datasette” cassette the art that programming once used to be. tape drive or a disk drive like the 5.25" Commodore 1541. Commodore History Unless the user really wanted to interact with the BA- SIC interpreter, he would typically only use the BA- Commodore Business Machines was founded in 1962 SIC instructions LOAD, LIST and RUN in order to by Jack Tramiel. The company specialized on elec- access mass storage. LOAD"$",8 followed by LIST tronic calculators, and in 1976, Commodore bought shows the directory of the disk in the drive, and the chip manufacturer MOS Technology and decided LOAD"filename",8 followed by RUN would load and to have Chuck Peddle from MOS evolve their KIM-1 start a program.
    [Show full text]
  • MEK6800D2 Manual 2Ed 1977.Pdf
    MOTOROLA Semiconductor Products Inc. MEK6800D2 MANUAL Circuit diagrams external to Motorola products are included as a means of illustrating typical Microprocessor applications; consequently, complete information sufficient for construction purposes is not necessarily given. The information in this manual has been carefully checked and is believed to be entirely reliable. However, no responsibility is assumed for inaccuracies. Furthermore, such information does not convey to the purchaser of the semiconductor devices described any license under the patent rights of Motorola Inc. or others. Motorola reserves the right to change specifications without notice. EXORciser, JBUG and MINlbug are trademarks of Motorola Inc. Second Edition © MOTOROLA INC., 1977 First Edition © 1976 "All Rights Reserved" Printed in U.S.A. TABLE OF CONTENTS CHAPTER 1: Introduction 1-1 General Description and Capability . 1-1 1-2 Preparation for Use . 1-4 1-2.1 Construction Hints ..................................................... 1-5 1-3 Start-up Procedure . 1-6 1-4 Operating Procedures . 1-6 1-4.1 Memory Examine and Change ............................................ 1-7 1-4.2 Escape (Abort) ........................................................ 1-7 1-4.3 Register Display ....................................................... 1-7 1-4.4 Go to User Program .................................................... 1-9 1-4.5 Punch from Memory to Tape ............................................. 1-9 1-4.6 Load from Tape to Memory .............................................
    [Show full text]