Downloads AP

Various source code downloads

Index (in order of relevance)


C code projects that use enviro64.h.  Also: the C script for MPW.

The mOS and utility library (2024.02.12, 2.1MB):
— all licensed freeware, GNU GPL v2

mOS (2024.02.12)
A growing graphics and input library written in portable C, with an MS Windows shell, without the aid of SDL or QuickTime.  Among its features: text editing; 32-bit control objects; Events (with 160 keys); fixed-point graphics; internal depth and endian conversion; true color patterns; scaling; dithering; regions; PICT, GIF, JPEG, BMP, TrueType and color font support (TT requires FreeType 2.5.x).  Depths up to 31 bit/10:11:10 supported.  Recent updates: text editing upgrades (including superscript/subscript, text search), bug fixes, drag & drop, main screen resizing with mouse, and script tracing.
snddec (2023.09.25)
Audio decoder and sound manager capable of various sound file formats, Mac OS and Apple IIgs sound resources, raw bufferCmd/soundCmd or ROM sound; handles decompression of all Classic Mac OS codecs, CD/XA and more.  It also handles sample looping, wave and tone synth, and internally supports OGG Vorbis/Opus (included), FAAD2 and mpg123 1.28.2 (not included).
ResEx (2023.08.15)
Resource extractor, updater, and for rebuilding Mac OS resource fork maps that have been abruptly truncated.  Written in ANSI C (portable).  Implementation includes: loading a Mac OS or Apple IIGS resource map, and importing resources into Win module form.  Also handles files formated in MacBinary.
Interpreter v1.9.9 (2023.10.04)
Recent updates include handling of 0xM.MpN numbers, compliance, C/PEMDAS ordering, 80-bit and base-ten internal accuracy, and bug fixes.

reveng 1.3 (2021.10.18) (145KB)
My M68K reverse engineering tool.  The purpose: making assembly text for optimizing your own code.  It has the ability to generate and processes labels and switch cases.  It also recognizes trap extensions via installed 'rTrS' resources, some unnamed library modules and reading of far-model CodeWarrior apps.  Features a new and improved disassembler that handles all 68K series opcodes, versus the buggy old, buggy built-in disassembler.

...incomplete/unused...

Character sets (rev. 2010.12.23) (15KB)
Contains MIB enum switches, a character set transcoder, several built-in readers, writers).  An executable source is provided for a basic character map reader.
hex2font.c (2010.12.26, 3.5KB gzipped)
ANSI executable for use with the hex format you find on czyborra.com.  Produces a FORM (Big Endian) format font for now.

Assembly programs/tools (usually no libraries required).

XDBt (rev. 2007.12.27) and (rev. 2008.01.11)
Contains my very own 68040 FPU emulator.  I broke it somewhere along the line in trying to dynamically change registers.  You’ll have to fix some of the major bugs to get it to work, and that is where the 2007 revision comes in...  Single/double subnormals are not handled correctly, but all but that and the packed decimal code rewrite are implemented.  I have also multiple revisions in a 2005 archive.
singlemath.a (2013.12.21) (36KB, zipped)
Single (floating-point) emulation for MC68020-compatible CPUs.  Loaded with comments.  Add, Subtract, Multiply, Divide, Compare, Scale, Square root and integer conversion are fully implemented, except for math error exceptions (not used by most programs) and rounding mode (always nearest).  Accurate resuls.  The latest releases include single-to-text (w. optional maximum digit count) and add the option to reflect the result in the CCR for all operations (except _cnvs2t).  All known bugs have been fixed.  Archive contains a build (in MacBinary 2).
scrnBox.a (rev. 2011.03.23) (13.1KB gzipped), scrnBox.sit (3.5KB, Sound Manager 3.x)
Some audiovisual routines, all depths.  Timing: preloaded colors—put the cursor at topleft corner for user colors; invert-cursor w/ mouse down—all depth colors put on screen (24-bit would require 224 screen pixels though); blitter test.  Sound is CD-quality, noise and rect. channels implemented; MouseV=volume, MouseH adjusts pitch.
subcyc.a (2011.04.06) (5.4KB gzipped)
A 16-bit “virtual machine” adaptation of the interpreter.  It’s also where I introduce the fast 16-bit sqrt—no division/multiplication, two tables (768B).
tim.a (2014.03.19) (12KB gzipped)
Calculates the number of cycles for any CPU instruction or routine.  Contains a list of timings and a bunch of notes/documentation for the MC68040 and the M68K family in general.
wio.a (2011.03.23) (7.5KB gzip), wio.sit (4.1KB)
For transferring a file via audio.  I did this thinking it would serve as an alternative, as obsolescence has crept in on Iomega Zip drives.
hsv.a (2011.03.12) (5.7KB gzipped)
Hue-Saturation-Value (HSV) translation and image linear interpolation demo.  The HSV routine I wrote takes 64 bits of data (32-bit hue, 16:16 S/V)—more than Apple’s Color Picker.

AppleScripts™

Tex-Edit Scripts 2008 (2008.12.18), 2009 (2009.12.18), 2010 (2010.12.29), 2011 (2011.02.01), 2012 (2012.04.22), and 2014 (2014.12.04)
Contains creations and updates that are very useful.  The 2009 revisions of HTML->Mac and Mac->HTML are able to process all non-ASCII MacRoman characters.  They even recognize left-indentation.  Unfortunately, due to how complex things have gotten with HTML, XHTML, CSS, etc., the results are limited.  They do their best at processing style sheets (isolated elements; no classes or IDs).  The newer Mac2HTML preserves whitespace and the Mac OS Roman encoding — or UTF-16 encoding so long as it was saved to disk as such.  The newer Mac2HTML only works with modern browsers that recognize preformatted text styling (IE not expected to work with it!).

C tools/shell programs — I'm liquidating!!

New Developments with C (3.01KB StuffIt)
Two files written in C++ (made by me), one is a scaling program designed to go faster than 'CopyBits', and the other renders a circle 100% anti-aliased without scaling.
AudioWarp (revision 2006.06.01)
A shell environment with a lot of C source programs; the sources include type-1 PICT making, math stuff (where fastsine came from), experimental file transmission over audio, other sound stuff, as well as a QT animation (movie) maker.  If you’re a programmer, this might be interesting to you.
MacTools (rev. 2007.02.05)
Another shell... with stuff.  Failure.

Small HyperText/Pascal (Ancient) Programs

3D Program (154KB StuffIt)
My old 3-D program.  It is only a wire-frame version, but it still works, features an obsolete "Dumbit" stack that enables you to manually create 3D files.  Version 2 is available in the HyperXDB directory.
Old software
Contains a bunch of old software I made, including "Hex Ed" (viewer) and "FileToRes" (resource <-> data file, change file info).

Fonts

FontRasterizer (2009.05.11) (51KB)
Was going to be a part of Pict Fontier... brings up the installed list of fonts to render, makes an antialiased Pict Fontier document.
zt-Mac Font Mods (2011.01.09) (5KB)
My Windows-1252 and UTF-8 versions of the zt-Mac font.  Helpful for reading text w/o modifying it.

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[   ]3dpgm.sit2011-08-05 05:51 154K 
[   ]C2012-03-01 01:17 4.3K 
[TXT]HEADER.html2024-02-13 02:23 14K 
[   ]Mac2HTML-2012.sit2012-04-24 00:32 13K 
[   ]OLDSW.SIT2011-08-05 05:51 67K 
[   ]XDBtolder.sit2011-08-05 05:51 328K 
[   ]aw1-6.zip2011-08-05 05:51 150K 
[   ]charsets.zip2011-08-05 05:51 15K 
[TXT]enviro64.h2023-10-05 03:41 33K 
[   ]faad2.7z2022-09-24 07:09 337K 
[   ]fontrast.sit2011-08-05 05:51 50K 
[   ]hex2font.c.gz2011-08-05 05:51 3.6K 
[   ]hsv-110312.a.gz2011-08-05 05:51 5.6K 
[   ]instest-110325.a.gz2011-08-05 05:51 7.0K 
[   ]interp165.7z2013-03-30 20:14 57K 
[TXT]kook.c2012-10-13 01:35 1.9K 
[   ]libSDLppj.zip2013-06-07 00:41 9.6K 
[   ]mactools.zip2011-08-05 05:51 51K 
[   ]mkfilter.zip2022-11-05 20:28 11K 
[   ]mos.7z2024-02-13 02:23 2.1M 
[   ]mpg123.7z2021-07-28 02:45 356K 
[   ]newcpp.sit2011-08-05 05:51 3.0K 
[   ]pcm-nes.zip2015-11-28 20:01 39K 
[   ]povexamp.sit2011-08-05 05:51 460K 
[   ]reveng.zip2021-10-18 22:34 145K 
[   ]scrnBox-110323.a.gz2011-08-05 05:51 13K 
[   ]scrnBox.a.gz2011-08-05 05:51 5.8K 
[   ]scrnBox.sit2011-08-05 05:51 3.4K 
[   ]singlemath.a2011-08-05 05:51 14K 
[   ]singlemath.zip2013-12-22 21:00 15K 
[   ]spanner-110505.a.gz2011-08-05 05:51 8.1K 
[   ]spanner-kb.zip2016-05-31 22:02 107K 
[   ]spanner.7z2014-03-11 23:59 99K 
[   ]spanner.sit2011-08-05 05:51 13K 
[   ]subcyc-110406.a.gz2011-08-05 05:51 5.3K 
[   ]teas2008.sit2011-08-05 05:51 148K 
[   ]teas2009.sit2011-08-05 05:51 111K 
[   ]teas2010.sit2011-08-05 05:51 20K 
[   ]teas2011.sit2011-08-05 05:51 17K 
[   ]tim-110730.a.gz2011-08-05 23:20 7.2K 
[   ]tim.a.gz2014-04-04 21:55 12K 
[   ]utility.7z2015-01-18 23:53 499K 
[   ]wio-110323.a.gz2011-08-05 05:51 7.4K 
[   ]wio.sit2011-08-05 05:51 4.1K 
[   ]xdbt010d.zip2011-08-05 05:51 70K 
[   ]xdbt011d.zip2011-08-05 05:51 77K 
[   ]ztFonts.sit2011-08-05 05:51 5.0K