skip navigational linksPJRC
Shopping Cart Download Website
Home Products Teensy Blog Forum
You are here: MIDI Drum Machine Firmware Overview

MIDI Drum Machine
Main Page
Features
Photos
Schematic
Circuit Board Layout
Firmware
selected Overview
Code Listing
MIDI Protocol Details

8051 Assembly Language Source Code

This code is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.

Download the code or browse an on-line copy.

This code is an original work by Paul Stoffregen, written in the Fall of 1991. This code has been placed in the public domain. You may use it without any restrictions. You may include it in your own projects, even commercial (for profit) products.

Code Overview

The overall operation of the code is a bit complex, because it services many sources of input using a combination of polling and interrupt handlers. Here is a flow chart that attempts to show how the code works:

flow chart diagram

TODO: Add some more explainations someday...

Memory Map

memory usage diagram

TODO: make a proper html table, instead of this gif image.

TODO: add some text that relates this stuff to a page about the drum machine's feature set.


The MIDI Drum Machine, Paul Stoffregen and Rod Seely.
Designed and constructed Fall, 1991. Project status: Complete.
http://www.pjrc.com/tech/midi-drums/firmware.html
Last updated: February 24, 2005
-- These drum-machine web pages are still under construction --
Questions, Comments?? <paul@pjrc.com>