Slashdot Mirror


MacPaint Source Code Released to Museum

gbooch writes "The Computer History Museum, located in Mountain View, California, is not only a museum of hardware but also a museum of software. Today, with the permission of Apple, the Museum has made available the original source code of MacPaint. MacPaint was written by Bill Atkinson, a member of the original Macintosh development team. Originally called MacSketch, he based it on his earlier LisaSketch (also called SketchPad) for the Apple Lisa computer. Bill started work on the Macintosh version in early 1983. "

16 of 175 comments (clear)

  1. Oh wow by Ancient_Hacker · · Score: 4, Insightful

    Oh wow, I still remember the first time I saw MacPaint-- there was nothing like it. Bill Atkinson did a superb job, shoehorning all those features so they could run in 128K of RAM.

    He just barely made it-- I remember trying to find how much memory my desk accessory could use while MacPaint was running, and when you did a "print preview", the available RAM went down to like 1800 bytes! Yikes!

  2. Re:As goes Apple... by Codename+Dutchess · · Score: 3, Informative

    Uh... id has been doing this for years. And id doesn't wait 27 years to do it, either.

    ftp://ftp.idsoftware.com/idstuff/source/

  3. Whaaaa? by Sponge+Bath · · Score: 4, Interesting

    ;
    ; FUNCTION Monkey: BOOLEAN;
    ;
    TST MonkeyLives ;IS THE MONKEY ACTIVE ?

    Funcy monkey.

    1. Re:Whaaaa? by Anonymous Coward · · Score: 4, Informative

      If that's in the source, I think at one time Apple had some testing harness that sent random click events to programs to see if it would crash. That might be what is meant by the monkey.

    2. Re:Whaaaa? by Anonymous Coward · · Score: 5, Informative

      Explanation: it was a reference to Apple's automated testing framework, as per the zero-score reply you can't see:

      http://folklore.org/StoryView.py?project=Macintosh&story=Monkey_Lives.txt

  4. Abandonware by jabberw0k · · Score: 4, Interesting
    Assuming the source code is still kept in useful form by a company that is not ashamed of it, there is little to lose and much goodwill to be gained by releasing "abandonware" -- but those are two large assumptions, aren't they?

    I have released my HDOS, CP/M, and MS-DOS product source code from the 1980s; there were a few other software packages I sold back then, but I no longer have readable floppies with enough bits of source to release them.

  5. Nothing on Mac OS X by Anonymous Coward · · Score: 5, Insightful

    Funny how Macs now lack the equivalent of MacPaint.

  6. Re:As goes Apple... by Vnuce · · Score: 3, Funny

    Heck, I'm not even interested in Office 2010 now :)

  7. Probably infringes some 1987 mspaint patent by originalhack · · Score: 4, Funny


    The problem with this is that Apple was so innovative that they can infringe patents for ideas that other large companies came up with years later.

  8. Folklore.org by suntory · · Score: 5, Informative

    It has been mentioned a few times here in /., but http://folklore.org/ has a great collection of short stories about MacPaint. Worth the reading for every geek out there

  9. Re:As goes Apple... by Digital+Vomit · · Score: 4, Insightful

    Hopefully this starts a trend where companies release their source to the world once they're done with it.

    That was kind of the point with the concept of "copyright": that the copyrighted work in question would enter the public domain after a short time in order to enrich society as a whole.

    What *should* be happening, at the very least, is that a full copy (including source and binaries, in the case of software) of any copyrighted work be placed in government escrow so that it can be released to the public after the copyright expires (which should be about five or ten years, in the case of software).

    How sad that copyright law has been twisted so terribly by the rich and powerful to the detriment of human civilization.

    --
    Modern copyright is theft of culture from everyone and it retards the progress of the useful arts and sciences.
  10. MacPaint is an example of good code by master_p · · Score: 4, Informative

    I've looked at the source and it shows many good programming traits, like variable and procedure naming that makes sense, separation of concerns (each procedure is short and does only one or two things; and it's procedural), etc. The code is very easy to follow. It shows that good programming is more about the programmer than the programming language.

  11. What no comment like RIP JSB? by 140Mandak262Jamuna · · Score: 3, Funny

    Without cryptic comments like 1750 ; RIP JSB the source code is not very entertaining.

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
  12. "Best program ever written" by Sits · · Score: 4, Interesting

    I remember watching a NerdTV interview with Andy Hertzfeld which made mention of MacPaint. Now I've done a search, I've found the transcript of Andy's interview on the web. I'll quote the section I was thinking of:

    [...] an older guy got up and said he thought MacPaint was probably the best program ever written. Was it possible for him to see the source code? It turns out the person asking the question was Don Knuth [...]

    Sounds like Bill Atkinson can cite you and Knuth as fans :)

  13. Did anyone spot this one... by Linker3000 · · Score: 4, Funny

    ;
    ; Wrist Test - see if user is gripping left front
    ; edge of mouse as this will cause drawing
    ; performance to drop-off
    ;
    FUNCTION WristTest : Boolean;


    Uncanny eh!?

    --
    AT&ROFLMAO
  14. Re:As goes Apple... by qubezz · · Score: 3, Informative

    This is perhaps the most ill-constructed wealth of ignorance posted on Slashdot for a while, at least without original intent to be tardy.

    Copyright protects creative works. Whereas published works may have required copyright notice on the work (before 1989), or deposit with the Library of Congress, unpublished works have never required a copyright notice for protection. If you created it, you have the copyright on it, and can take protective action against others distributing copies of your work.

    Patents protect exclusive distribution of inventions. We do not do the exact same thing with patents. Patents allow you to take legal action and prohibit competitors from making infringing products.

    Trade secrets are secrets as long as they are kept secret, but 'infringing' products are not actionable. You have not publicly declared that you invented something, so if someone else invents it they can use it too (and might even be able to patent it if you haven't created prior art implementing your invention). There are only legal covenants (and criminal liability in some states) to prevent employee disclosure, theft, or espionage. Trade secrets can include non-copyrightable or non-patentable things such as the formula for Red Bull.

    Software, which is currently under discussion, can have all: patentable (think Amazon one-click checkout patent), under copyright (as the Amazon web server software is, even if undisclosed), and contain trade secrets (such as server cloud optimization routines to speed processing).

    If you work for Apple and released the source code to 1984's Macintosh File System you would be breaching your non-disclosure trade secret agreement with Apple. The disclosed software would still be covered by copyright, and features or inventions implemented in the software may be covered by patents too. Many software patents are so vague in their description (merely describing the end result or user interface) that the actual implementation in code may indeed be a trade secret too.