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

game/shoot/tfquake.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:Quake for 68060 Amigas without an FPU
Author:terriblefire
Uploader:stephen terriblefire com (terriblefire)
Type:game/shoot
Version:1.0
Architecture:m68k-amigaos >= 3.0
Date:2026-11-18
Requires:68030 or better (made for 68060), AGA or RTG, 32MB Fast RAM
Download:game/shoot/tfquake.lha - View contents
Readme:game/shoot/tfquake.readme
Downloads:2

TFQuake
=======

This version of Quake was created by combining PocketQuake, NovaCoder's
c2p, Hand Optimizations and AI Analysis and a lot of time.

How it was made: NovaCoder's AmiQuake 1.36 source was brought up with
m68k-amigaos-gcc 6.5, and its floating point renderer replaced with Dan
East's PocketQuake fixed point one. Every frame was then timed stage by
stage on a real A4000 with a TF4060, and the slowest stages rewritten in
68060 assembly, one at a time. Each rewrite was checked against the C it
replaced, pixel for pixel, in an emulator and by screenshots on the real
machine, and kept only if it made the frame faster.


What it is
----------

Quake for Amigas whose CPU has no FPU: an EC or LC 68060, or a card that
runs its FPU-less. It is made for the 68060, and also runs on a 68040 or
a 68030, slowly on the 68030. It is NovaCoder's AmiQuake 1.36 with
the renderer replaced by PocketQuake's fixed point (integer) one, and the
parts that take the time rewritten in hand-scheduled 68060 assembly:

  - wall texture spans, perspective corrected every 32 pixels
  - z-buffer spans
  - the edge scan
  - world faces into edges (clipping, projection)
  - alias models (transform, projection, triangle setup and drawing)
  - water, slime and lava (also used by the FPU builds)

NovaCoder's c2p is used for AGA. No FPU instruction is executed anywhere.


Speed
-----

timedemo demo1, A4000 with a TF4060 (68060 at 100 MHz, no FPU used):

  AmiQuakeNoFPU (AGA, 320x200)            19.5 fps
  AmiQuakeRTGNoFPU (ZZ9000, 320x200)      19.7 fps (with -stats)

The original no-FPU build of AmiQuake 1.36 ran this at about 16 fps on
the same machine. For comparison, AmiQuake's FPU build, with the FPU in
use, on an A3000 with the same TF4060 card at 100 MHz:

  AmiQuake 1.36 FPU build (AGA, 320x200)  17.4 fps (with -stats)

So without an FPU this runs Quake faster than the original FPU build
does with one.


Files
-----

  TFQuake/AmiQuakeNoFPU      AGA (needs an AGA machine)
  TFQuake/AmiQuakeRTGNoFPU   RTG: CyberGraphX, Picasso96 or PrismRTG
  (each with its icon) and this readme


Installing
----------

You need the Quake data files, which are not included: id1/pak0.pak
(shareware or full version) and id1/pak1.pak (full version only).

1. Make a drawer for Quake, with an "id1" drawer inside it.
2. Copy pak0.pak (and pak1.pak) into id1.
3. Copy AmiQuakeNoFPU and/or AmiQuakeRTGNoFPU, with their icons, into
   the Quake drawer.
4. Start it from its icon, or from a Shell in the Quake drawer:

     stack 400000
     AmiQuakeNoFPU

From a Shell, set a stack of 400000 bytes first as above; the icons set
their own. Quake uses a 16 MB heap plus the screen buffers, so have
plenty of Fast RAM.


RTG screen modes
----------------

The RTG build looks for 8-bit (256 colour) RTG modes of these sizes:
320x200, 320x240, 320x256, 640x400, 640x480, 800x600 and 1024x768. It
starts in 320x240 (or the first of 320x200, 320x256, 640x480 it finds)
and remembers the mode you pick in the video menu in RTG_default.mode.
Larger modes look better but run much slower: every pixel costs.

CyberGraphX is used when it is there; without it (or with -nocgx) the
screen is written with WriteChunkyPixels.


Options
-------

  -nosound       no sound (a little faster)
  -spans16       perspective correct walls every 16 pixels as Quake does
                 (the default is 32: faster, a texel off here and there
                 on steep walls)
  -stats         with "timedemo": time each stage of the frame, write
                 STATS.TXT and quit at the end
  -trace         write every console message to PI0:quake/trace.txt as it
                 happens (for an A314 user tracking down a crash)
  -nocgx         RTG build: don't use cybergraphics.library

In the console, "quit now" quits without the "really quit?" menu.

A benchmark, from a Shell in the Quake drawer:

  AmiQuakeNoFPU -nosound -stats +timedemo demo1


Source
------

Quake is (c) id Software and released under the GNU General Public
License version 2; so is this version. id Software's Quake source is at:

  https://github.com/id-Software/Quake

The game data files are not covered by the GPL and are not included.


Credits
-------

  id Software            Quake, and its source under the GPL
  NovaCoder              AmiQuake 1.36 and its c2p
  Dan East               PocketQuake's fixed point renderer
  terriblefire           this version


Contents of game/shoot/tfquake.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
-rwxr-xr-x     0/0      318282  594072  53.6% -lh5- dda9 Nov 17 15:50 TFQuake/AmiQuakeNoFPU
-rw-r--r--     0/0       10484   15805  66.3% -lh5- 3c89 Nov 17 15:50 TFQuake/AmiQuakeNoFPU.info
-rwxr-xr-x     0/0      318168  593332  53.6% -lh5- 2e4f Nov 17 15:50 TFQuake/AmiQuakeRTGNoFPU
-rw-r--r--     0/0       10484   15805  66.3% -lh5- 3c89 Nov 17 15:50 TFQuake/AmiQuakeRTGNoFPU.info
-rw-r--r--     0/0        2188    4710  46.5% -lh5- 52ed Nov 17 15:50 tfquake.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files  659606 1223724  53.9%            Nov 18 00:24
Page generated in 0.04 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>