AminetAminet
Search:
86006 packages online
• About
• Recent
• Browse
• Search
• Upload
• Setup
• Services

demo/misc/saddle.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:Rotating wireframe saddle demo, 1.3+
Author:Paul Seibert (Desert Palms Software)
Uploader:Paul Seibert <paul seibert seibertconsulting com>
Type:demo/misc
Version:1.0
Architecture:m68k-amigaos >= 1.3
Date:2026-12-02
Requires:Nothing extra. Any Amiga, 512K is plenty.
Distribution:Aminet
Download:demo/misc/saddle.lha - View contents
Readme:demo/misc/saddle.readme
Downloads:1

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.


Contents of demo/misc/saddle.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
-rw-r--r--  1000/1000      123     290  42.4% -lh5- ac71 Dec  1 03:20 Saddle.info
-rwxr-xr-x  1000/1000    15364   25556  60.1% -lh5- aac4 Dec  1 03:20 Saddle/Saddle
-rw-r--r--  1000/1000      126     234  53.8% -lh5- ab44 Dec  1 03:20 Saddle/Saddle.info
-rw-r--r--  1000/1000     1994    3993  49.9% -lh5- deff Dec  1 03:20 Saddle/Saddle.readme
-rw-r--r--  1000/1000      133     257  51.8% -lh5- 5766 Dec  1 03:20 Saddle/Saddle.readme.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files   17740   30330  58.5%            Dec  2 02:04
Page generated in 0.001 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>