Copyright: This material is Copyright ©1984 Apple Inc. and is made available only for non-commercial use.
The content is provided “as is” for educational and research purposes only. CHM makes no representations or warranties of any kind.
This is the source code for MacPaint version 1.3.
It was originally released to the public on July 18, 2010.
MacPaint is the drawing program application which interacts with the user, interprets mouse and keyboard requests, and decides what is to be drawn where. The high-level logic is written in Apple Pascal, packaged in a single file with 5,822 lines. There are an additional 3,583 lines of code in assembler language for the underlying Motorola 68000 microprocessor, which implement routines needing high performance and some interfaces to the operating system.
Thanks to Apple Inc. and the late Steve Jobs for giving us permission to make this historic source code available to the world for appreciation and study.
The information above is adapted from https://computerhistory.org/blog/macpaint-and-quickdraw-source-code/ that contains additional information and links.