CODINGSOURCES ★ BRUCE ABBOTT GAC FAST FILL PATCH : FASTER PICTURE DRAWING FOR GAC ADVENTURE GAMES ★

Bruce Abbott GAC Fast Fill Patch : Faster picture drawing for GAC adventure gamesBruce Abbott GAC Fast Fill Patch
★ Ce texte vous est présenté dans sa version originale ★ 
 ★ This text is presented to you in its original version ★ 
 ★ Este texto se presenta en su versión original ★ 
 ★ Dieser Text wird in seiner Originalfassung präsentiert ★ 

Here's a patch for people who love playing games created with Graphic Adventure Creator, but hate waiting while the pictures render. My code dramatically speeds up filling areas, and also eliminates unnecessary drawing of the picture frame after each fill command. The result is up to 8 times faster rendering and more enjoyable game play.

I originally wrote this patch in 1986. Sadly the source code was lost when I gave the CPC664 to my father a few years ago, so I had to write it again from scratch! The good news is that this second version is even faster than the original. :)

If you play games in WinAPE or WinCPC then the easiest way to apply my patch is simply run the game, then load and assemble the source code "gac-fill.asm" into memory. This only takes a few seconds, but has to be done every time the game is run (including each section of a multi-part game).

If you want to permanently patch a game then run the BASIC program 'PATCH.BAS" (found in the disk file "gac_patch.dsk"), insert your game disk, then enter the name of the executable to patch (a binary file typically around 40K long) and it will create a patched version of the file. After it returns to the prompt you should reset the computer/emulator to ensure that its memory is cleaned out. This procedure is quite straightforward, but there are a few things to watch out for:-

  1. The files that need patching may be read-only and/or hidden, in which case you should change their attributes before patching them.
  2. My patch doesn't overwrite any files. If the game is multi-part then you might need to delete each original file after patching it, to reclaim space on the disk.
  3. The original file name may not end in ".BIN". It could end in ".BAS" or have no extension. Depending on the particular extension and whether or not you type it in, the patched file may be created with a different name. To continue running the game via its loader you may need to rename the patched file to match the original.

NOTES:

GAC executables are standalone binary files which load at address &0040 (wiping out any BASIC program that was there) and can be run by simply typing RUN"". Some games are started via a short BASIC loader which allows you select the part you wish to run or display an intro screen etc. but this has no effect on the main game.

On the included disk file are two versions of the game "Timer Traveler" - one is the original, and the other is the faster 'patched' version. You can see how well the patch works by running each one in turn. To try out the patching procedure run "PATCH.BAS" and enter the name "TIME.BAS". This will create a new file "TIME.BAS" and rename the original to "TIME.BAK".

The .asm files on the disk are for reference only, they are not required for patching files or running the game.

CPCWIKI

★ YEAR: 2013
★ CONFIG: AMSDOS + 64K
★ AUTHOR: Bruce Abbott
★ UPDATES:

  • Version 1.1, which avoids redrawing the whole picture frame by repairing it after each fill. For this patch I had to steal space used by the frame redraw routine for my code. As far as I can tell this routine is not used anywhere else. However, if some other part of the game does try to call it then it will probably crash! I think some beta testing would be a good idea, so until it is proved to be stable I am only providing the source code (for use with WinAPE etc.).
  • Version 1.2 constrains the fill to inside the picture area, so there is no need to 'repair' the sides of the picture frame. Large fills are a tiny bit slower, but small fills are faster. The picture "Cabina De Navegacion" now renders in 3 seconds.

★ SITE: http://www.cpcwiki.eu/forum/games/faster-picture-drawing-for-gac-adventure-games/

★ AMSTRAD CPC ★ DOWNLOAD ★

Bonus:
» Bruce  Abbott  GAC  Fast  Fill  Patch  v1.0DATE: 2019-06-03
DL: 217
TYPE: text
SiZE: 5Ko
NOTE:

» Bruce  Abbott  GAC  Fast  Fill  Patch  v1.0DATE: 2019-06-03
DL: 206
TYPE: ZIP
SiZE: 67Ko
NOTE: 40 Cyls
.HFE: Χ

» Bruce  Abbott  GAC  Fast  Fill  Patch  v1.1DATE: 2019-06-03
DL: 214
TYPE: text
SiZE: 6Ko
NOTE:

» Bruce  Abbott  GAC  Fast  Fill  Patch  v1.2DATE: 2019-06-03
DL: 215
TYPE: text
SiZE: 6Ko
NOTE:

★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser...

Lien(s):
» Coding Src's » Rigor Mortis (Sourcepack by Odiesoft and REX/BENG )
» Coding Src's » 3D-Draw (Amstrad Games Book)
» Coding Src's » CPCRetroDev 2013 Sources pack collection
» Coding Src's » Wolf 3D sourcepack (Richard Wilson)
» Coding Src's » Karl's Treasure Hunt (unasmbled by Dominique Bernard)
» Coding Src's » ROM game run from cartridge
Je participe au site:
» Vous avez des infos personnel, des fichiers que nous ne possédons pas concernent ce programme ?
» Vous avez remarqué une erreur dans ce texte ?
» Aidez-nous à améliorer cette page : en nous contactant via le forum ou par email.

CPCrulez[Content Management System] v8.7-desktop/c
Page créée en 399 millisecondes et consultée 1038 fois

L'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent  du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko.