Saddle 1.0 - (c) 2026 Desert Palms Software. Written by Paul Seibert.
Freeware.
Saddle is a homage to a classic demo from the AT&T UNIX PC: a green
wireframe sheet, draped over a cross like a tablecloth, turning slowly on
a black screen. The original ran on a 68010 with an MMU; this one is
written in C and 68000 assembly for AmigaOS 1.3 (V33) and runs unchanged
on 2.x and 3.x. It uses only the 1.3 operating system, so it works on a
stock A500 as well as on bigger machines. No FPU, no libraries, one
bitplane.
What you see
------------
* A 24x24 mesh, one turn in 15.5 seconds (the shape repeats after half a
turn), seen from a tilt of 69 units (about 24 degrees) at camera
distance 350.
* It starts opaque: parts of the sheet nearer to you hide the parts
behind them, so hidden lines are removed. Press O for the see-through
wireframe, where every edge is drawn.
* The window title shows frames per second first, then the mode and the
settings.
Keys
----
Esc, Q, mouse click or the close gadget quit
Space pause
O opaque / see-through
S next surface: saddle, crossed double saddle, peak and
ripple, inverted rimmed bowl, draped over an X (the
default)
+ and - grid size (more lines look better and run slower)
Up and Down tilt
[ and ] camera distance (perspective strength)
J and K height of the surface
G bright / dark green
Speed
-----
Measured on a stock A500 (68000 at 7 MHz, OCS) under WinUAE:
grid see-through opaque
24x24 8.1 fps 3.4 fps
40x40 3.1 fps 1.7 fps
(Benchmark figures with no wait for the vertical blank. The live demo
waits for it and shows a little less: about 3 fps for 24x24 opaque.)
Faster CPUs run it correspondingly faster. If it feels slow, press - to
make the grid coarser. The rotation is timed by the vertical blank, so
the speed of the turn stays the same whatever the frame rate.
Using it
--------
From Workbench, double-click the Saddle icon. From the CLI type saddle.
Copy the Saddle drawer anywhere you like.
Command line extras: saddle REPORT prints the built-in constants,
saddle BENCH [n] times the drawing, and saddle LINETEST compares the
blitter lines with the software line drawer (this one runs for minutes).
Technical notes
---------------
* The projection and the opaque horizon pass are 68000 assembly; the
see-through lines are drawn by the blitter in line mode and are
pixel-identical to the C line drawer (tested on 40,000 lines on the
emulated blitter and 420,736 lines against a model). The opaque
picture is a CPU pixel loop with a per-column horizon, identical to its
C reference.
* The animation is time-compensated: the turn advances by the number of
vertical blanks that really passed.
* Built with GCC 6.5 (bebbo's amiga-gcc) and vasm. 25K, 68000 code.
* Tested on Kickstart 1.3 (A500, OCS) and Kickstart 3.1 under WinUAE.
Not tested on real hardware.
History
-------
1.0 (30.11.2026) First release.
Copyright and distribution
--------------------------
Saddle is (c) 2026 Desert Palms Software, written by Paul Seibert.
Saddle is freeware. You may use it for free and copy it freely, as long
as the archive is passed on complete and unchanged and no money is
charged for it beyond the cost of the media. It may be put on Aminet,
cover disks and CD-ROM collections.
Saddle is provided "as is", without warranty of any kind. Use it at your
own risk.
Source code: https://github.com/PaulSeibert/amiga-saddle
Desert Palms Software makes new software for classic Amiga computers.
|