3 ms·
The first Macs had no display drivers. They were sending video pixel data from RAM directly to the electron gun of the video display (with some help from vario
by joezydeco 10y ago
The first Macs had no display drivers. They were sending video pixel data from RAM directly to the electron gun of the video display (with some help from various PAL/TTL glue and interrupts, natch [1]).
The toolbox that all 68K-based Macs used to draw stuff on the display was called QuickDraw, written in 68000 assembly language code by Bill Atkinson. It was descended from Bill's work on the Lisa and LisaGraf, the graphics toolbox used in that project. While the first APIs for Mac were indeed in Pascal (including MacPaint) the base toolkit was all in assembly for speed.
Apple recently donated the source code for QuickDraw and MacPaint (a historical work by Atkinson) to the Computer History Museum:
http://www.computerhistory.org/atchm/macpaint-and-quickdraw-source-code/ http://www.computerhistory.org/atchm/macpaint-and-quickdraw-...
[1] https://en.wikipedia.org/wiki/Macintosh_128K/512K_technical_details https://en.wikipedia.org/wiki/Macintosh_128K/512K_technical_...