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

demo/tp96/shaft7pch.lha

Mirror:Random
Showing:m68k-amigaosgeneric
No screenshot available
Short:040/060 patch for Bomb! Shaft7 demo from TP6
Uploader:amlaukka cc helsinki fi
Type:demo/tp6
Architecture:m68k-amigaos
Date:1997-01-09
Download:http://aminet.net/demo/tp96/shaft7pch.lha - View contents
Readme:http://aminet.net/demo/tp96/shaft7pch.readme
Downloads:472

Installation:

    Unpack the archive and apply the patches to each of the original
demo files with the supplied spatch utility.

spatch -pBombBump.pch BombBumb.mtp!
...

    Run the demo from cold boot with all the caches on. Note that the
module player in the demo doesn't seem to like Workbench.

Setpatch
shaft7.exe

Note! Do not apply this patch if you own M68030.

Description:

    The original version of the demo doesn't work on M68040 or M68060
because it uses self modifying code heavily and uses broken macros to
perform cache flushing. It would be a better idea to use exec.library
functions CacheClearE() or CacheClearU() to perform this task. Then
you can be rest assured that it will work on all processors.

    To the coder of the demo: Your macro used CINVA on 040 but this
doesn't work as intended because it only invalidates the cache lines
(dirty data is lost) and doesn't push the cache lines to memory. On
the other hand CPUSHA BC does the work correctly. Flushing of both
caches is necessary because data cache may hold the cache lines
containing the self modifying code. Other bugs include mostly
"cut&paste" errors. A few times the macro was before the self
modifying part and in some parts the processor_id variable was left
unitialized (equals to 020?) so it branched right after the CINVA
instruction.


Contents of demo/tp96/shaft7pch.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  141     156  90.4% -lh5- e0c8 Jan  2  1980 BombBump.pch
[generic]                  138     156  88.5% -lh5- f18a Jan  2  1980 Carottes.pch
[generic]                  134     148  90.5% -lh5- f83c Jan  2  1980 EnvBump.pch
[generic]                  132     148  89.2% -lh5- f5aa Jan  2  1980 FishBump.pch
[generic]                  151     164  92.1% -lh5- 3601 Jan  2  1980 Inside.pch
[generic]                  139     152  91.4% -lh5- 09b9 Jan  2  1980 InSpace.pch
[generic]                  151     200  75.5% -lh5- c202 Jan  2  1980 MakingVyper.pch
[generic]                  132     152  86.8% -lh5- d996 Jan  2  1980 MilkaBump.pch
[generic]                  133     144  92.4% -lh5- 911b Jan  2  1980 Openeye.pch
[generic]                  140     156  89.7% -lh5- 0366 Jan  2  1980 PhongMapping.pch
[generic]                  778    1434  54.3% -lh5- 2177 Jan  2  1980 shaft7pch.readme
[generic]                 9285   14636  63.4% -lh5- e89d Jan  2  1980 spatch
[generic]                  135     152  88.8% -lh5- 2536 Jan  2  1980 Temple.pch
[generic]                  148     196  75.5% -lh5- 2652 Jan  2  1980 ThePrayer.pch
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        14 files   11737   17994  65.2%            Jan  9  1997

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>