| Offscreen - Displays a graphics more intelligently than in PICTLoad or Sprite Movement. This time, an offscreen block of memory is set up and the picture is loaded into it invisibly (instead of being drawn on the screen before being copied to that space). Now with fixed memory leak in Offscreen.h.
| added 8.28.04, updated 9.06.04 |
Offscreen.sit - Read source code in browser - Offscreen.h header file |
| NoMenuBar - Hides the menu bar. Uses precise low memory location and might not be compatible with later MacOS, but that shouldn't be a concern for this website, right?
| added 6.01.04 |
NoMenuBar.sit - Read source code in browser |
| Accolay violin concerto - An application of the square-wave synthetizer for a piece of music. This heavily relies on my notes.h header file. This plays the first few bars of the solo violin part of the Accolay violin concerto, while courageously dealing with double stops and broken chords using only the limited 1-channel capability of the square wave synthetizer ;-). The music is hard-coded in the main function of the source code - it'd be more intelligent to build up some kind of scripting system and have the program read music from text files. In case you don't have access to an old-enough macintosh, hear the results in a mp3 of a mic recording of my Mac SE playing it.
| 5.31.04 |
Accolay.sit - Read source code in browser - Notes.h header file |
| PICTLoad - Uses SFGetFile, a dialog which lets the user fish for a PICT data file, which is loaded and then displayed.
| 5.31.04 |
PICTLoad.sit - Read source code in browser |
| Square-Wave demo - This program displays a list of the count values of 5 octaves worth of notes around the middle C. The values represent the "count" variable used in a Tones array. I cannot guarantee compability of the noise production aspect of this program beyond Mac SE platforms.
| 5.31.04 |
swdemo.sit - Read source code in browser - Notes.h header file |
| BeepClock - The program emits a short system beep every 1 second. This program illustrates regularly timed events (however, they are taken care of in the loop and are not set as interrupts).
| 5.13.04 |
BeepClock.sit - Read source code in browser |
| Buttons - Things the program does: Displays a check box, radio buttons (2 choices) and 2 buttons - one which reacts as soon as it's hit; the other, as soon as the mouse is released (they both emit a system beep). The selection made with radio buttons affect the duration of the system beep (will only be relevant on old compact macs, probably prior to System 7).
| 5.04.04 |
controls.sit - Read source code in browser |
| Sprite Movement - Things the program does: Sets up a window, loads a resource file, loads a PICT resource, displays a PICT, uses CopyBits to copy video RAM <-> RAM, detects keyboard presses to move the image.
| 4.13.04 |
SpriteMovement.sit Alternate - Read source code in browser |