home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 29 / amigaformatcd29.iso / -readerstuff- / ian_greenway / readme < prev   
Encoding:
Text File  |  1998-06-02  |  7.8 KB  |  219 lines

  1. README for QuakePatch V0.4
  2.  
  3. YOU USE THIS PROGRAM AT YOUR OWN RISK! I MAKE NO GUARANTEES ABOUT ITS
  4. RELIABILITY OR FITNESS FOR PURPOSE. I TAKE NO RESPONSIBILITY FOR ANY DAMAGE
  5. OR LOSS THAT MAY OCCUR AS A RESULT OF USING THIS PROGRAM.
  6.  
  7. But, hey, it works ok for me...
  8.  
  9.  
  10. Short Description:
  11. ==================
  12.  
  13. This is a small patch program that may make Quake Amiga run up to 20-50%
  14. faster framerate when using a 68040/68060.
  15.  
  16. It will also work with QuakePlayer V0.96.
  17.  
  18. It does not modify any program files.
  19.  
  20.  
  21. For those who never read readme's longer than 3 lines:
  22.      Run QuakePatch before Quake. See if it makes a difference.
  23.      If not, read this file.
  24.  
  25.  
  26. What Is This?
  27. =============
  28.  
  29. If you haven't got a 68040 or 68060, this program is no use to you. The FPU
  30. you are using (you have got an fpu, haven't you?) will be a 68881/2 and will
  31. not have the problems outlined below.
  32.  
  33. Trying not to be too techy, basically the 68040 and 68060 do not have full
  34. support for all the FPU instructions which were in a 68882.  Quake uses a lot
  35. of FPU code and it has been written for a 68882.  Your 68060.library will
  36. cover for the missing instructions by emulation, but this is very slow
  37. compared to real in-line code.  To improve performance you can run 
  38. CyberPatcher or OxyPatcher which real-time patch running programs in memory
  39. with calls to fast replacement routines.  Unfortunately, my version of
  40. CyberPatcher (V1.152) does not catch all of the problem instructions in Quake.
  41.  
  42. QuakePatch can be considered to be a very small and specific CyberPatcher-type
  43. program for use only with Quake Amiga.  It will only react to Quake and will
  44. not affect other programs. It replaces specific instruction *sequences* with
  45. optimised code which performs a similar function.  The code surrounding the
  46. problem instructions has been examined to see exactly how accurate the
  47. replacement code needs to be so it does not waste time doing an unneccessarily
  48. precise emulation.  QuakePatch code is written in assembly language for speed.
  49.  
  50. I have tested this program with my A1200, Blizzard'060, 16Mb, AGA, but I am not
  51. able to test it with '040 or gfx cards.  If there's a problem, tell me what it
  52. is in as much detail as possible and I'll try to fix it.
  53.  
  54.  
  55. How To Use: (Ah, at last..)
  56. ===========
  57.  
  58. I haven't thought of a simple way to activate the patch on a per-game basis
  59. which would be easily installable, yet.  Probably the best way to use it is
  60. to copy the QaukePatch program into your C: directory (or anywhere else you
  61. feel like) and execute it as part of the startup.  Edit your S:User-Startup to
  62. include the line:
  63.  
  64. C:QuakePatch
  65.  
  66. Assuming you put it in C:.  No "run" or "<>nil:" is required.
  67.  
  68. OR you could run it manually before starting Quake.
  69.  
  70. You may wish to try out the patch to ensure it works ok before installing it
  71. permanently.
  72.  
  73. NOTE: To gain full benefit, so that QuakePatch can catch all the instructions
  74. it deals with, it should be started AFTER Cyberpatcher/Oxypatcher and BEFORE
  75. Quake. (The above S:User-Startup installation may not meet those conditions,
  76. for eg, if you are starting Cyberpatcher in WBStartup.)  On the other hand,
  77. the majority of the speed increase is gained in those parts NOT dealt with
  78. by Cyberpatcher, in which case QuakePatch can be started anytime, including
  79. when Quake is running.
  80.  
  81. DO NOT give the QuakePatch program a Workbench tool icon, because this version
  82. is *CLI ONLY* and will crash your computer if run from WB.
  83.  
  84. The next release of this patch will include possibility to start it in the
  85. WBstartup drawer, but for now.... not.
  86.  
  87.  
  88. Trying It Out: (The whole point..)
  89. ==============
  90.  
  91. To get an idea of what sort of improvement you get with your machine
  92. configuration, try the following:
  93.  
  94. 1) DON'T install or run QuakePatch. Just copy it somewhere on your harddrive.
  95.  
  96. 2) Open a Shell window on Workbench.
  97.  
  98. 3) Run Quake in the normal way.
  99.  
  100. 4) Start a Single Player New game.
  101.  
  102. 5) Move to some place in the Start Room
  103.  
  104. 6) Get the Quake Console to pop down. (The ~' key)
  105.  
  106. 7) Set screensize to 100% by the menu.
  107.  
  108. 8) Type TIMEREFRESH in the quake console.
  109.  
  110. 9) Wait a few seconds, then note the Frames Per Sec. reading. (About 4-7)
  111.  
  112. 10) Flip back to WB by pressing Left-Amiga-M.
  113.  
  114. 11) Run QuakePatch from the Shell window.
  115.  
  116. 12) Flip back to Quake.
  117.  
  118. 13) Do a TIMEREFRESH again.
  119.  
  120. 14) Note the (hopefully) improved reading. (About 6-10)
  121.  
  122.  
  123.  
  124. Some Points to Note:
  125. ====================
  126.  
  127. 1) On my 64MHz (overclocked) Blizzard '060 on AGA, I get a framerate increase
  128. from about 6.5fps unpatched to 9.5fps patched (45% increase) on average.  This
  129. permits me to play on an 80% size 320*200 NTSC screen at about 10fps ave.
  130.  
  131. 2) Timerefresh is a pretty poor way of judging framerate.  It is highly
  132. dependent on where you're standing, since it rotates your view 360° and times
  133. it.  If you look straight down at the floor and try it you will get a very
  134. high framerate compared to standing in a complex room and viewing the walls.
  135. Walk about and try different places to see what sort of speeds you get.
  136.  
  137. 3) Timerefresh seems buggy with some screensizes less than 100%. It sometimes
  138. trashes memory, so don't blame me or Quakepatch if this happens when doing
  139. this test!
  140.  
  141. 4) Although the computer reports these numbers, the subjective increase is
  142. quite slight.  Perhaps it would be more apparent for those users with fast
  143. graphics cards because there may be too much C2P overhead on AGA. (If
  144. someone could tell me about that at all, please?...)
  145.  
  146. 5) You really must run Cyberpatcher or similar in addition to this patch as
  147. there are a number of other emulation overheads to take care of. If not
  148. you are really not getting the performance you could.
  149.  
  150. 6) You cannot remove the QuakePatch once it has run. If you run it again, it
  151. will install itself again.  This will not harm anything (hopefully) but will
  152. consume approx 1K of ram and fractionally slow down any non-cyberpatched
  153. 68060.library emulations.
  154.  
  155. 7) Users of OxyPatcher may not notice any significant speed increase since
  156. the offending instructions may be patched already.  I have no way of testing
  157. this.
  158.  
  159. 8) If ClickBOOM release update patches for Quake that modify the sections of
  160. code that QuakePatch uses, then QuakePatch will no longer work.  This wont
  161. prevent Quake from running, it just may slow it down again.
  162.  
  163.  
  164. ========================================
  165.  
  166. I would like to congratulate ClickBOOM/PXL for producing an excellent port of
  167. Quake to the Amiga.  The presentation, with the nice packaging, easy install
  168. script, instructions/poster and full original CD audio really makes it worth
  169. buying.
  170.  
  171.  
  172.  
  173. Distribution/Usage Conditions: (The usual stuff)
  174. ==============================
  175.  
  176. 1) This program remains Copyright the author.
  177.  
  178. 2) It is in the popular concept of "Freeware": You may copy the program
  179.    and accompanying file(s) for free, but it is not Public Domain: you
  180.    may NOT reverse-engineer and modify it.
  181.  
  182. 3) You MUST distribute this readme file when you distribute the program
  183.    file.
  184.  
  185. 4) You may NOT sell or otherwise distribute this program for profit. Nor
  186.    may you include it as part of a profit-making package.
  187.  
  188. 5) You may NOT distribute modified or incomplete versions of this program.
  189.  
  190. 6) You may not impose modified distribution conditions when you copy this
  191.    program.
  192.  
  193. 7) RIGHTS TO USE OR DISTRIBUTE THIS PROGRAM IN CONJUNCTION WITH ILLEGAL
  194.    COPIES OF QUAKE AMIGA IS EXPRESSLY DENIED.
  195.  
  196. 8) ClickBOOM/PXL have special rights with regard to this program: They may
  197.    include it with any distribution of Amiga-related material, and they may
  198.    contact me for the sourcecode if they so wish.
  199.  
  200. 9) Quake Amiga is Copyright ClickBOOM, Pxl Computers and ID Software.
  201.  
  202. 10) I do not have any connection with the producers of Quake: do not direct
  203.     any queries or bug reports to them; do not direct queries about Quake
  204.     to me!
  205.  
  206.  
  207. ========================================================================
  208.  
  209.  
  210.  
  211. If you want to send bug-reports or (civilised!) comments to me,
  212. I am:
  213.  
  214. Ian Greenway
  215. 7 Tolwin Walk
  216. Norwich
  217. NR3 4TP
  218. UK
  219.