Squeak

From EDM2
Jump to: navigation, search
Squeaklogo.png

Squeak is a rapid prototyping environment.

History

The multi-platform open source Smalltalk environment originally released in 1996 by the Apple Research Labs (ARL) and based on the older "Smalltalk-80 for the Macintosh" that was an unofficial Apple product from 1985 onwards. The original Apple implementation was a little backward because it was based on Smalltalk-80 Version 1 that Apple had got a free redistribution licence for alongside a few other companies. Later version however required a hefty licence fee from MIT and the company decided to stick with the outdated R1 language rather than cough up the licence fee. When Squeak was released as an open source software it had an updated GUI but archaic language features.

Ports

There exists three different ports of Squeak for OS/2:

This is basically UNIX Squeak quickly ported to OS/2, as a text mode application it works correctly on OS/2, but for the graphics environment you will need an X11 server (although it will obviously work with a PM based X11 server if as well).
This port solves the problem of the display environment by using DIVE, the game oriented display API from IBM, quite innovative and if you have a hardware accelerated DIVE on your machine the port is actually faster than the original Mac and MS Windows versions.
  • Cheese - A native PM port by Boris G. Chr. Shingarov

Of the three the DIVE based port and Cheese are by far the most interesting. The DIVE based port imitates the original BitBlt Apple environment exactly by using DIVE which is quite an innovative approach that works well. It even interpolates the available colours to allow you to display a larger colour palette than you are actually using, useful if your version of DIVE shows a noticeable slowdown with larger colour palettes. Early versions lacked support for sound and networking but that had been remedied by version 3, however even the last version 3.5 still does not have support for MIDI, serial port or joysticks.

Versions

Squeak DIVE 3.5 for OS/2
  • Latest DIVE Version: 3.5 (2003/06/05) squeakos2vm.zip
  • Latest Cheese version: Cheese5
  • Last known UNIX port: 1.3
  • Last known DOS version: 2.0 (Squeak 2.1)

Prerequisites

DIVE Squeak port
  • Long filename support (install Squeak on a HPFS or network drive)
  • DIVE video DLLs (Installed by default by OS/2 Warp 4 Multimedia Support, but can be added to any OS/2)
  • DART audio DLLs (Installed when installing an audio card, but can be added even without one)
  • Video mode with at least 256 colours, and support for DIVE (any driver should work)
UNIX Squeak port
  • Any X11 server

Publications

  • Mark J. Guzdial: Squeak: Object-Oriented Design with Multimedia Applications - Prentice Hall 2000, ISBN 0-13-028028-3
  • Mark J. Guzdial; Kimberly M. Rose: Squeak: Open Personal Computing and Multimedia – Prentice Hall 2001, ISBN 0-13-028091-7
  • Gene Korienek; Tom Wrensch; Doug Dechow: Squeak: A Quick Trip to ObjectLand – Addison-Wesley 2001, ISBN 0-201-73114-2
  • Stéphane Ducasse: Squeak: Learn Programming with Robots - Apress 2006, ISBN 1-59059-491-6
  • Andrew P. Black; Stéphane Ducasse; Oscar Nierstrasz; Damien Pollet; Damien Cassou; Marcus Denker: Squeak by Example - Third edition - Square Bracket Associates 2010, ISBN 3-9523341-0-3 (Source code)

License

Links

Forks
  • Embedded Squeak 1.0 (Squeak 2.2) - For Win9x console, can be easily ported to DOS or OS/2.
  • Pharo - A fork of Squeak, no OS/2 version so far.
  • CUIS - Another fork of Squeak, with emphasis on smaller more coherent system, no OS/2 version yet.
  • SqueakJS - A Squeak VM in JavaScript