X-MOD Version 3.0 written 1994 by Lars Otte ==================================================== a simple Plasma-Fraktalprogram, BMP-Viewer & Modplayer This is the official Release, it's just for Fun, distribute it if you want! The Stack-Overflow-Bug and the Stay-in-Endless-Loop-Bug are fixed... Now with a Mouse controlled internal MODSHELL, that support other Modplayers too, and let you chose between 300 Mod's at once on the Screen !!! And a new 3D-Look MOD_Information Function is now implemented. For the Commandline-Options just enter "X-MOD /?" About the MOD playing Kernel: GoldPlay ver 1.01 Programmed by Sourcer of The CodeBlasters (Stein Norheim) Betatested and Bugfixed by Robban of Cascada (Robert Adolfsson) 'DIGITAL.MOD' is composed by Infinity of The CodeBlasters (Arttu Kataja) Turbo C implementation by Niklas Alfredsson GoldPlay 1.01 is distributed as SMILEWARE. That means that you may use and share this utility if: * You write who made the soundsystem * You not make any changes in the package ķ The Sounddevices: ĺ 01 Soundplayer/Covox at LPT1 (Mono) 02 Soundplayer/Covox at LPT2 (Mono) 03 SoundBlaster (Mono) 04 Internal Honker (Mono) 05 Two Soundplayers LPT1+2 (Stereo) 06 SoundBlaster Pro (Stereo) 07 Stereo SoundPlayer in LPT1 (Stereo) 08 Stereo SoundPlayer in LPT2 (Stereo) Ľ 1.02 The Overlay-File.... WHY ? GOLDPLAY.OVL is needed by the TPascal and C-version of GoldPlay. It consists of some data to the player. Badly enough works the library only in 'Memory Model: LARGE'. Lifs SUCKS!! I haven't tried the routine in anything else than Borland TCPP++ 3.0. I have also not figured out how'TCPP'should be configured to make it play in the IDE. End of Goldplay Information !!! ------------------------------------------------------------------------- The BMP-Viewer works in the compatible 320x200 256Color Graphics-Mode. Autozooming and Picture-centering are included... 1.Bit / 4.Bit / 8.Bit Windows Bitmap Pictures are supported! ------------------------------------------------------------------------- The Fraktal-Unit: Plasma like Fraktals (Landscape) Chose the Fraktal-Noise-Faktor (0...300) and see what's happen... ------------------------------------------------------------------------- The Starfield-Mode is a strongly modifyed version of my Starfield-code, now it is possible to overlay the Starfield over a BMP-Picture without destroying the Picture !!! ------------------------------------------------------------------------- The no-Screen-Output Mode is for working together with other Graphic-Programs / Viewer's... (like the registered Version of Qpeg) No Output don't destroy the Graphic/TextMode displayed on the Screen! not many MOD-PLayers have this usefull Option!!! ------------------------------------------------------------------------- In NO EVENT will Lars Otte be LIABLE for any Type of DAMAGES, or any kind of Problems. (like incompatibility Problems, or so...) I'am not liable for LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION OR THE LIKE, ARISING OUT OF THE USE OF, INTERRUPTION IN THE USE OF, OR INABILITY TO USE THIS SOFTWARE !!! Lars Otte guarantee for nothing, This is Freeware / Public Domain! Das bliche: der Haftungsausschlu -------------------------------------- Dieses Programm wurde von mir sorgfltig programmiert und sollte eigentlich nicht in der Lage sein, irgendeinen Schaden anzurichten. Aber wie dem auch sei: SIE BENUTZEN MEIN PROGRAMM AUF EIGENE GEFAHR. Ich bernehme keinerlei Haftung fr irgendwelche Schden an Leib und Leben, an Hard- und Software. Ich garantiere auch nicht, da mein Programm fr irgendeinen Einsatz geeignet ist; Dies ist der bliche Haftungsausschlu fr Public Domain, Freeware und Shareware Programme.... If someone want my C-Routines contact me by Email don't forget do say what C-Source-Code you want! and if you can, write in German Language... Email-address: drcaos@fhlip.EE.fh-lippe.de ----------------------------------------------------------------------------- and now some Info of how to build Soundcards: I have build two cheap Resitor DACs, and they give me a real good Stereo-Sound !!! Thanks to Mark J. Cox for this Information: 1. HOW TO MAKE A D/A CONVERTER FOR FIVE POUNDS A simple circuit for HiFi quality sound needs only a few components (and this circuit will work with other software). It even sounds better than a Sound Blaster for sampled output! You need: IC1 a ZN426E (about 3 pounds) (Ferranti or Plessey are UK manufacturers) C1 a 10micro-farad electrolytic capacitor (10V or greater) C2 a 4.7micro-farad electrolytic capacitor (10V or greater) R1 a 380ohm resistor (5%, 1/8W) CON1 a phono socket for connecting a lead to your amplifier CON2 a 25 way male D-type connector for your parrallel port A bit of 10 way cable - or 10 short wires. A +5v supply Zn426e +5V D-type pin no \ Ŀ (2) D0 Ĵ9 14Ĵ (3) D1 Ĵ10 (4) D2 Ĵ11 390 (5) D3 Ĵ12 (6) D4 Ĵ13 5Ĵ (7) D5 Ĵ1 6Ĵ + (8) D6 Ĵ2 4ijĴ> TO AMPLIFIER (9) D7 Ĵ3 7 10F + (may not be needed) 4.7F (25) GND GND 2. USING A DIFFERENT DAC Lots of people have found that they cannot get the ZN* chips outside the UK - so heres a circuit that will do the same as above.. Use a DAC0800 or DAC0801 or DAC0803 from National Semiconductors... DAC 080x Parallel Port Pin Ŀ0.01F 0.1F (2) D0 Ĵ12 16ĴĴ GND (3) D1 Ĵ11 (4) D2 Ĵ10 155k (5) D3 Ĵ9 (6) D4 Ĵ8 14Ŀ5k (7) D5 Ĵ7 13Ĵ (8) D6 Ĵ6 2Ĵ +5V (9) D7 Ĵ5 3 1 4Ĵ> TO AMPLIFIER 0.1F + 10F Ĵ (may not be needed) (25) GND GND The 0.01uF and 2x 0.1uF capacitors are Ceramic. Resistor values not critical 2. GETTING A +5V POWER SUPPLY Catalogues such as MAPLIN (uk) provide simple circuits for obtaining a +5v power supply (it only has to be 100mA maximum). Alternatively you could tap +5v off the keyboard connector or use 3 1.5volt batteries (or even 4 1.5volt batteries with two diodes in series to drop the voltage). In fact, anything that produces a voltage in the range 4.5 5.5 volts. (in fact you can even tap +5v from the game port). Don't forget to connect the 0v of your power supply to the GND rail shown. Heres a simple circuit for +5v from mains. Mains voltage is lethal so always get a qualified person to make this if you are unsure. Make certain that the mains voltage is completely isolated from the computer side and that it is impossible to touch - If you don't want to take the risk then don't make this circuit. Ŀ Ŀ+ Ŀ B Ĵ 7805 +5V ĴStep down Ĵ R + + Mains transformer 6V I C1 C2 C3 to 6VAC AC D Ĵ Ĵ G E 0V - C1 1000 F electrolytic capacitor (Circuit from Kenneth C2 0.1 F ceramic capactitor Aaron, Israel) C3 100 F electrolytic capacitor BRIDGE any diode bridge 3. HOW TO MAKE AN EVEN CHEAPER D/A For the price of 20 1% resistors and a plug, with no power supply needed you can make a D/A converter that sounds close to the IC one above (it seems only the UK can get a Plessey ZN426E) You need one plug for your amp, one for your parallel port and 9 20k and 9 10K resistors Use 1% resistors if possible and 20k sound much better than 22k Printer Port: signal pin 20k 20k D0 2 >İİ0v 20k 10k D1 3 >İĴ 20k 10k D2 4 >İĴ 20k 10k D3 5 >İĴ 20k 10k D4 6 >İĴ 20k 10k D5 7 >İĴ 20k 10k D6 8 >İĴ 20k 10k D7 9 >İĴ 20k 10k 100nF Ĵ> TO AMPLIFIER 10k GND 20 >> 0v Thanks to Harry Stox for the above circuit. Again, make sure all the 0v lines are connected together. The 100nF capacitor may not be needed, try removing it if this circuit sounds poor. 4. STEREO-ON-1 BOARD It is possible to play in stereo with only one parallel port (MODPLAY version 2.00 onwards) using the circuit below. MODPLAY will automatically detect this circuit if it is present and work out what address it is at so you can plug it into any of your parallel ports. MODPLAY needs no further options and will default to playing through this device. The +5v supply can be anywhere between 4.5 and 5.5 volts so it could be run from three 1.5v batteries. (Or from four rechargable batteries as these are only 1.2v) * Stereo-on-1 works from MODPLAY 2.03 onwards where it did not in 2.00 * You can use your stereo-on-1 board with other programs that require a single D/A on the port as follows: Find out what address your port is at (LPT1 = 0378, LPT2 = 0278) and add 2 (LPT1 = 037A, LPT2 = 027A). Go into DEBUG and type o 37a,3 (replacing 37a with the port address) q Then all sound directed to the parallel port will come out of both channels. ZN428 Ŀ 390 Ĵ11 6ı+5v Ĵ12 7 Ĵ13 3NC Ĵ14 + 10F Ĵ15 5ijĶ> Left out Ĵ16 0v> 20 >0v Ĵ1 10+5v Ĵ2 90v 14 >ijijijijijijijijĴ4 8 11 >Ĵ ZN428 + 1F Ŀ Ķ0v 9 >ijijijijijijijĴ11 D7 VRIN 6 8 >ijijijijijijĴ12 D6 VROUT 7 NC 7 >ijijijijijĴ13 D5 NC 3 NC 6 >ijijijijĴ14 D4 + 10F 5 >ijijijĴ15 D3 OUT 5Ķ> Right out 4 >ijijĴ16 D2 0v> 3 >ijĴ1 D1 +V 10+5v 2 >Ĵ2 D0 0v 90v 1 >Ĵ4 !EN 0v 8 25 pin male D connector Notes: Make sure all the 0v lines are connected together and connected to the 0v line of your power source. Also, make sure the +5v lines are connected together. The lines marked 'NC' do not need to be connected. If a ZN428 is not available, any D/A with input latches will work - the D/A should latch the data bus when pin 4 (!EN) is low. ij = No connection, = joined The above circuit (Stereo-on-1) is (C) Mark J Cox 1991, 29 Lundie Close Stenson Fields, Derby DE2 3AN; and is supplied for personal use only. For any other use, please contact the author at the address above. If this circuit is abstracted or incorporated into any other document or circuit then that document or documentation supplied with that circuit must contain this paragraph of text. Any commercial use where not agreed by written contract with the author (Mark J Cox) is prohibited. 13. STEREO AMPLIFIER For those of you who have built a stereo DAC and haven't enough inputs to your Amplifier - Kenneth Aaron has supplied this circuit which is designed to give a high power (11W per channel) high quality, low interference, single rail supply amplifier! Enable >Ŀ +12v + 10FĿ 0v 7 13 3 1 Left Left 470nF Ĵ4 2 Speaker >Ĵ Ĵ5 TDA 7370 14 Right Right 470nF Ĵ11 15 Speaker >Ĵ Ĵ12 +Ĵ6 8 9 10NC 47F 0v Make sure that 0v of the +12v supply is connected to all the 0v connections on the main circuit. The enable line has to be tied to +12v to 'switch on' the amp Mark J Cox Electronic Mail: 29 Lundie Close m.j.h.cox@bradford.ac.uk Stenson Fields Derby, UK If that fails - try: DE2 3AN bc732@cleveland.freenet.edu