PatchBeep v1.1 by F.Delacroix. This is another assembly program whose goal is to patch the DisplayBeep() function of the intuition.library so that a sound is played on calling this function,instead of the screen flashing in a silly way. Syntax: PatchBeep [] Arguments: SampleName/A SampleName is the name of the file that is to be played on DisplayBeep() call.It can either be an IFF file,in that case,only the BODY chunk will be taken in consideration,or a RAW file (no format),then the whole file will be played. The file will be loaded on calling the program.If everything went OK, PatchBeep will signal it by a "success!".If something went wrong (file doesn't exist,can't add a new task...),PatchBeep will indicate the failure and exit. Once the patch is installed,a new task is added to the system.This task is in waiting mode,and will only wake up to play the sound when required. The sound will be played every time a task calls the DisplayBeep() function in intuition.library. You can have an example by executing the small prog called DisplayBeep,which came along with PatchBeep. To remove the patch,just execute PatchBeep with no arguments.If you do PatchBeep ?,you will get some info about the program. PatchBeep is public domain,do whatever you want with it,but use it at your own risk. Send me greetings,suggestions,bug reports,money,menaces.... to: Frédéric DELACROIX 5 rue d'Artres 59269 QUERENAING FRANCE Pour les non-anglicistes: Voila un autre programme écrit en assembleur,dont le rôle est d'installer un patch sur la fonction DisplayBeep() d'intuition.library pour qu'un son soit joué quand elle est appelée,plutôt que de seulement faire bêtement clignoter l'écran. Syntaxe: PatchBeep [] Arguments: SampleName/A SampleName est le nom du fichier contenant le son à jouer quand Display- Beep() est appelée.Ce peut être soit un fichier IFF,auquel cas seul le chunk BODY sera pris en compte,ou un fichier RAW (sans format),le fichier sera alors intégralement joué. Ce fichier sera chargé dès que le programme sera appelé.Si tout se passe bien,PatchBeep le signalera par "Success!".Si quelque chose a foiré (le fichier n'existe pas,impossible d'ajouter une nouvelle tâche...),PatchBeep vous le dira et abandonnera. Une fois le patch installé,une nouvelle tâche est ajoutée au système.Cette tâche est en attente et ne se réveille que pour jouer le son quand on le réclame. Ce son sera joué à chaque fois qu'une tâche appelera la fonction Display- Beep() d'intuition.library.Vous en avez un exemple en exécutant le petit programme nommé DisplayBeep,fourni avec PatchBeep. Pour retirer le patch,éxécutez PatchBeep sans argument.Si vous faites PatchBeep ?,vous aurez quelques informations sur le programme. PatchBeep est dans le domaine public,faites-en ce que vous voulez mais vous l'utilisez à vos riques et périls.Envoyez vos:bonjours,suggestions,bugs reports,argent,menaces etc etc etc à: Frédéric DELACROIX 5 rue d'Artres 59269 QUERENAING FRANCE