skip to main content
article
Free Access

Microcode simulator for Apple Macintosh

Published:01 December 1992Publication History
Skip Abstract Section

Abstract

No fewer than three microcode simulators have been described in this bulletin since 1987. Carlson's [1] runs on an IBM mainframe, Donaldson's [3] on DOS machines and Dunworth's [4] on DOS or unix machines. All have a traditional textual interface. We wanted a visual interface that would display a circuit diagram (figure 1) and let a user follow the execution of a microprogram by watching the action of the gates. The first version became operational in the fall of 1990 and has survived two academic years of use by undergraduates.Microcode has traditionally been written using an obtuse mnemonic with such instructions as "a=7, b=3, ab, add, ramf, mar=y". We did not want students to have to contend with that kind of syntax, so our users write microcode by responding to a series of dialogs. The user makes a choice either by the "point and click" technique or by typing a keystroke equivalent. For example, the keystroke corresponding to the addition operation is "+".When the input #1 dialog comes up, the user can put register 7 on input bus "a" by typing "7". Keystrokes are buffered, allowing "power programmers" to type as fast as they wish. The dialogs can keep up with most programmers on any of the various Mac-II models. Even on the slower Mac SE, the standard sequence of eight dialogues can be completed in approximately four seconds, which is considerably less time than it takes to flawlessly type "a=7, b=3, ab, add, ramf, mar=y". After two years of field testing, several improvements suggested by students have been incorporated into the editor. Students, with the exceptions of a few intransigent DOS zealots, are now generally satisfied with the operation of the microcode editor.

References

  1. 1. Carlson, D. "Simulated Microprogramming in the Classroom", ACM SIGSCE Bulletin, v. 19, #4, Dec. 1987, pp. 60-63. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2. Cline, B. Microprogramming Concepts and Techniques, Petrocelli Books, 1981.Google ScholarGoogle Scholar
  3. 3. Donaldson, J. "MicMac: A Microprogram Simulator for Courses in Computer Organization", ACM SIGSCE Bulletin, v. 19, #1, Feb. 1987, pp. 428-431. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4. Dunworth, A, and Upatising, V. "UMAC: A Simulated Microprogrammable Teaching Aid", ACM SIGSCE Bulletin, v. 21, #3, Sept. 1989, pp. 39-43. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5. Fuller, R. "PDP-11 Simulator for Apple Macintosh is Designed for Instructional Use", ACM SIGSCE Bulletin, v. 23, #3, Sept. 1991, pp. 17-19. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Microcode simulator for Apple Macintosh

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in

        Full Access

        • Published in

          cover image ACM SIGCSE Bulletin
          ACM SIGCSE Bulletin  Volume 24, Issue 4
          Dec. 1992
          67 pages
          ISSN:0097-8418
          DOI:10.1145/141837
          Issue’s Table of Contents

          Copyright © 1992 Author

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 1 December 1992

          Check for updates

          Qualifiers

          • article

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader
        About Cookies On This Site

        We use cookies to ensure that we give you the best experience on our website.

        Learn more

        Got it!