AminetAminet
Search:
84750 packages online
About
Recent
Browse
Search
Upload
Setup
Services

demo/intro/warp-os4.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:A realtime picture 'gooing' SDL demo
Author:Emmanuel Marty, AmigaOS 4.0 compile by Spot / Up Rough
Uploader:Varthall / Up Rough <varti02 hotpop com>
Type:demo/intro
Architecture:ppc-amigaos
Date:2008-02-07
Download:demo/intro/warp-os4.lha - View contents
Readme:demo/intro/warp-os4.readme
Downloads:688

Warp - Realtime picture 'gooing' SDL demo. Version 1.1.4 (apr. 14, 1998)

This program is intended to be a demonstration of SDL, the Simple
DirectMedia Layer.

Compiling the demo:

Run 'make'

Running the demo :

Once the program is compiled, just run "warp" and enjoy.

Because I wanted the program to stay small and independant of any other
dynamic library installed in the system (e.g. libjpeg, libpng..), it reads
BMP picture files. You can use The Gimp to save to that format, or you
can always implement another loader, but this will grow the code beyond
necessity. Anyway, if you have another picture, you can do :

warp picturefile.bmp

to use this picture instead of the default one (leeloo.bmp ;).

The demo runs on its own, you can exit it by pressing any key.

Background :

I wrote this program just after I had started to contribute to the GGI
project, wishing at the time to write drivers for the chips I owned and
for which I had documentation - Matrox 1164SG (Mystique, an awesome board)
and ATI 3D RAGE II (blargh). The idea was to learn more about GGI
internals and to provide the project with a good demo, which was
lacking at the time. Matthias Grimrath wrote the Mystique driver,
the ATI chips didn't motivate anyone that much yet :), and I wrote
the driver for the Cyrix MediaGX chipset, in cooperation with Cyrix
themselves, which was a really interesting project. I did the libggi
port to IRIX and I manage the ggi-project domain name aswell, now,
and I want to hope I know GGI quite well. 

This demo has been written in an evening and most of a night (not
knowing anything about GGI when I started :). I hope you will like
the result.

(Sam:
 This demo was converted to SDL in about 2 and a half hours.  Thanks!
)

This is actually a routine that I had written in 680x0 assembler
on the Amiga, never used, then ported to 80x86 assembler, then ported
to C++ under BeOS, then ported to Java (you can see the Java version
on http://www.core.netnation.org/pages/warp_anita.html), then ported to
plain C for GGI today. Every time I ported it to a new architecture,
I have optimized some bits. I still think it can be done faster, but
on a P133, and with the demo compiled with egcs as -mpentium -O6, it
runs at full frame rate.

Enjoy ;)

Emmanuel Marty <core()ggi-project.org>

web: http://www.core.netnation.org
irc: core on undernet #linux
icq: uin 1153070 (please bear with my java-linux restricted icq client :P)

.. Spot / Up Rough 2006


Contents of demo/intro/warp-os4.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 2161    5986  36.1% -lh5- 20b0 Oct 17  2006 warp-1.1/Sources/config.status
[generic]                14398   50092  28.7% -lh5- bccc Dec 21  1999 warp-1.1/Sources/configure
[generic]                  279     416  67.1% -lh5- e413 Dec 21  1999 warp-1.1/Sources/configure.in
[generic]                 1604    7206  22.3% -lh5- d267 Dec 21  1999 warp-1.1/Sources/dowarp.c
[generic]                 1854    6276  29.5% -lh5- 480b Oct 17  2006 warp-1.1/Sources/dowarp.o
[generic]                 2233    5598  39.9% -lh5- a21f Dec  6  1999 warp-1.1/Sources/install-sh
[generic]                41572   65078  63.9% -lh5- a91b Oct  8  1999 warp-1.1/Sources/leeloo.bmp
[generic]                 1772    4304  41.2% -lh5- 4b4c Dec 21  1999 warp-1.1/Sources/main.c
[generic]                 1913    5048  37.9% -lh5- 8829 Oct 17  2006 warp-1.1/Sources/main.o
[generic]                 3023    9188  32.9% -lh5- 1610 Oct 17  2006 warp-1.1/Sources/Makefile
[generic]                   87     101  86.1% -lh5- fefb Dec  6  1999 warp-1.1/Sources/Makefile.am
[generic]                 2906    8789  33.1% -lh5- 79e9 Dec 21  1999 warp-1.1/Sources/Makefile.in
[generic]                 2135    6283  34.0% -lh5- b90d Dec  6  1999 warp-1.1/Sources/missing
[generic]                  380     722  52.6% -lh5- c7b6 Dec  6  1999 warp-1.1/Sources/mkinstalldirs
[generic]                  334     616  54.2% -lh5- e699 Dec 21  1999 warp-1.1/Sources/warp.h
[generic]               127678  317132  40.3% -lh5- e298 Oct 17  2006 warp-1.1/Warp
[generic]                41572   65078  63.9% -lh5- a91b Oct  8  1999 warp-1.1/leeloo.bmp
[generic]                 1317    2439  54.0% -lh5- 3764 Oct  8  1999 warp-1.1/README
[generic]                 2182    6036  36.1% -lh5- ff39 Dec 21  1999 warp-1.1/Sources/acinclude.m4
[generic]                 3733    9576  39.0% -lh5- f6f0 Dec 21  1999 warp-1.1/Sources/aclocal.m4
[generic]                  541    1193  45.3% -lh5- f52f Oct 17  2006 warp-1.1/Sources/config.cache
[generic]                  475    1255  37.8% -lh5- b162 Oct 17  2006 warp-1.1/Sources/config.log
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        22 files  254149  578412  43.9%            Feb  7 08:37
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>