****************************************************************** * SND2STE.PRG - A SOUND PATCH FOR THE FALCON030 * ****************************************************************** SND2STE.PRG is a simple program to run in your auto folder at boot up. It can be run at any time in the boot sequence as it is 100% legal programming, although it should be run after Fpatch2 which claims to set the sound matrix and obviously before any programs which attempt to use the Falcon's DMA sound as an STE's. I wrote this patch after discovering that other available programs didn't reset all parts of the connection matrix to an STE compatible mode. This one does. It sets the following: Sound matrix is unlocked Sound source is set to DMA Play. Sound destination is set to DAC (headphone/tv/internal speaker) Sample rate prescaler is set to STE/TT compatible mode Sample rate is defaulted to 25kHz (not 6KHz as this is 'pause' mode on the Falcon) Play mode is set to 8 bit stereo No. of tracks for play/record is set to 1 Track 0 is connected for DMA play DMA interrupt is set to MFP i7, occurring at end of sample play Note that although these are the default settings, once they have been set, any program can change them using the normal methods for the STE. All settings are made using the appropriate XBIOS calls. Note on use with SuperBoot (v8.1): Superboot has the option to play a random sound using the DMA hardware at boot time. In order for this to work correctly on the Falcon, the following conditions must be satisfied : 1) FPATCH2.PRG must be run before SND2STE.PRG 2) SND2STE.PRG must be run before SUPERBT.PRG 3) SND2STE.PRG must be run _again_ after SUPERBT.PRG Condition (3) is required because Superboot sets something it shouldn't when it exits, causing the compatibility to be lost. I don't know what it is that it does wrong, but running the patch again afterwards fixes it. This can be done by having two copies of the patch in the AUTO folder, the second named SND2STE2.PRG or something similar. ****************************************************************** Disclaimer: This program is freeware. It may be distributed freely on condition that no profit is made from it. The author retains the copyright. The author takes no responsibility for any damage or inconvenience caused by the use or misuse of this program. The program is Copyright (C) 1994 to Daniel Hastings. ***************************************************************** Source code (assembler) is available on request. Any feedback from this program should be sent to me, Daniel Hastings at: Internet: cs93dlh@dcs.exeter.ac.uk D.L.Hastings@exeter.ac.uk FidoNet: 2:440/108.6 TurboNet: 100:1011/0.6 NeST: 90:102/140.6 AtariNet: 51:502/100.6 Snail mail: Aspenglow, Rectory Road, Alderbury, Salisbury, Wilts. SP5 3AD (England)