AminetAminet
Search:
85839 packages online
• About
• Recent
• Browse
• Search
• Upload
• Setup
• Services

gfx/misc/ToasterPatch.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:Fixes Editor crash and DOS\7 detection
Author:Brian Carpignano
Uploader:sabc0306-amiga yahoo com (Brian Carpignano)
Type:gfx/misc
Version:1.0
Architecture:m68k-amigaos
Date:2026-11-14
Requires:NewTek Video Toaster Editor 4.2
Download:gfx/misc/ToasterPatch.lha - View contents
Readme:gfx/misc/ToasterPatch.readme
Downloads:16

This unofficial patch fixes two compatibility problems in the NewTek
Video Toaster Editor 4.2 executable (dated 20-Apr-1998).  This was done 
with the help of ChatGPT.

The patches address a crash when accessing volume properties on systems
without a Flyer board, and the failure to display volumes using the
DOS\7 disk type identifier.

PATCHES

1) Flyer library / FlyerBase crash fix

The original Editor calls FlyerDriveInfo() without first checking
whether FlyerBase is available.

On systems without a Flyer board, FlyerBase can be NULL. The original
library-vector call then attempts to execute through an invalid address,
causing a crash.

The patch checks FlyerBase before calling FlyerDriveInfo().

When FlyerBase is available, the original FlyerDriveInfo() call is
preserved. When it is not available, the Editor follows the normal
non-Flyer volume handling path.

This allows the volume-properties panel to be used on systems without
a Flyer board, rather than crashing when the user selects a volume and
opens its properties.

2) DOS\7 volume recognition

The original Editor's volume-list code recognizes a limited set of
AmigaDOS disk type identifiers, including DOS\0 through DOS\5.

Volumes reporting the DOS\7 identifier are not recognized by the
original code and can consequently be omitted from the Editor's
device/volume list.

The patch adds recognition for DOS\7, allowing these volumes to be
included in the Editor's volume list and selected for use.

The change is intended to improve compatibility with newer AmigaOS
configurations and filesystems that report DOS\7.

TESTING

The corrected combined patch has been tested on an Amiga A4000T.

Testing confirmed:

The Editor opens and runs without the previously observed crash.
The volume-properties panel opens successfully.
No MuForce hits were observed during the reported testing.
Volumes/devices using the DOS\7 identifier appear in the Editor.
The Flyer-related crash is no longer observed on the test system.

INSTALLATION

A legally obtained copy of the original NewTek Video Toaster Editor
4.2 executable is required.

Double-click InstallPatch and it will go into the TOASTER:Programs 
directory and rename "edit" to "edit_original" and use the supplied
spatch to create a new patched "edit" from "edit_original".  

The patch is intended for the exact Editor version identified below.
Do not apply it to other versions of the program.

SUPPORTED EXECUTABLE

Program:  Video Toaster Editor
Version:  4.2
Date:     20-Apr-1998
Platform: AmigaOS / Motorola 680x0

DISCLAIMER

This is an unofficial, user-developed compatibility patch. It is not
created, endorsed, or supported by NewTek.

The patch is provided without warranty. Always retain an unmodified
backup of the original executable.

NewTek and Video Toaster are trademarks of their respective owners.
This distribution is not affiliated with or endorsed by NewTek.

HISTORY
Version 1.0
*Added conditional FlyerBase check to prevent invalid Flyer library
vector calls when no Flyer library base is available.
*Added DOS\7 volume recognition.
*Combined both fixes into one patched Editor executable.
*Corrected a branch-displacement error found during initial DOS\7
patch testing.
*Confirmed successful operation in subsequent testing.


Contents of gfx/misc/ToasterPatch.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                   3143    6056  51.9% -lh5- dc13 Nov 13 12:29 ToasterPatch.info
[Amiga]                    115     225  51.1% -lh5- 21fb Nov 13 12:24 ToasterPatch/InstallPatch
[Amiga]                   2194    5080  43.2% -lh5- c8e7 Nov 13 12:20 ToasterPatch/InstallPatch.info
[Amiga]                  14469   21776  66.4% -lh5- 6467 Nov 13 11:27 ToasterPatch/edit_patch.pch
[Amiga]                    909    1298  70.0% -lh5- b524 Nov 13 11:57 ToasterPatch/ToasterPatch.readme.info
[Amiga]                   1594    3534  45.1% -lh5- 4c6f Nov 13 11:51 ToasterPatch/ToasterPatch.readme
[Amiga]                   9285   14636  63.4% -lh5- e89d Nov 13 11:30 ToasterPatch/spatch
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         7 files   31709   52605  60.3%            Nov 14 01:19
Page generated in 0.04 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>