Short: Redirect SetFunction() to patch.library V2.0 Author: snfuchs@sokrates.franken.de Uploader: snfuchs sokrates franken de Type: util/misc Architecture: m68k-amigaos This one was written as a support program, for my patch.library. It patches the exec.library/SetFunction() to use patch.library instead of the normal OS-function. This version now requires at least kickstart V2.0 (V37). This release of PatchSetFunc (V2.0) fixes the following bugs: V2.0 ENHANCEMENT: Ported some parts of PatchSetFunc from asm to C ENHANCEMENT: PatchSetFunc now requires at least Kickstart V2.0 ENHANCEMNET: PatchSetFunc now accepts commandline options for setting certain parameters in patch.library. Setting the BreakForbid option may fix problems some people had with recoverable alerts from PatchSetFunc. ENHANCEMENT: Included the latest patch.library V6 BETA V1.54 FIX: GPFax was excluded from PatchSetFunc. It read directly from jumptables and therefore refused to exit. ENHANCEMENT: Included the new patch.library V6 BETA DOCUMENTATION: Added note about patch.library V5+ not working with VMM (Virtual Memory Manager) V1.53 FIX: Included the latest patch.library, which fixes possible crashes with PatchSetFunc. (This bug is more likely to show up with PatchSetFunc V1.50 and up) ENHANCEMENT: Removed some unnessary debug code. V1.52 FIX: reenabled use with Executive, as V2.0 seems to work alright FIX: No longer used for the monitor-program MSM (see Compatibility) ENHANCEMENT: Included the latest patch.library V5 release V1.51 FIX: In an attempt to get rid off direct reads to AbsExecBase in V1.41 I didn't always access the new field pc-relativ. (This fixes crashes, when installing and removing patches) (I still wonder how it could ever work on my system ) ENHANCEMENT: Anyway PatchSetFunc is fully pc-relativ now. ENHANCEMENT: Included the latest patch.library V5 beta V1.50 FIX: PatchSetFunc could cause crashes when patching various exec.library functions. This was also why the ReleaseSemphore patch of RetinaEmu (see V1.42) crashed. (This bug has been fixed, patches to ReleaseSemaphore() are reenabled.) V1.44 ENHANCEMENT: Removed some unnessary debug code V1.43 ENHANCEMENT: Workarounds for the NoBorder options of MCP and NewIcons (Note: All known No-Icon-Border programs depend on the value 8 residing on the stack to find out, if Workbench indents to draw icon borders or something else. This was never documented and may fail with future versions of the OS) DOCUMENTATION: Problems with NoIconBorder V1.42 FIX: No longer patches the exec.library function ReleaseSemaphore() (This fixes crashes with RetinaEmu) V1.41 ENHANCEMENT: Sets a private bit in the patch.library base structure, if active. DOCUMENTATION: Problems with NoDraw & NoFill V1.40 ENHANCEMENT: Automatically extends the stack to at least 2000 bytes for each patch, if patch.library V5+ is installed