Home » Archimedes archive » Micro User » MU 1991-10.adf » PD-Stuff » Music/!PlayerMod/Bits/STmod-Docs
Music/!PlayerMod/Bits/STmod-Docs
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Micro User » MU 1991-10.adf » PD-Stuff |
Filename: | Music/!PlayerMod/Bits/STmod-Docs |
Read OK: | ✔ |
File size: | 09A2 bytes |
Load address: | 0000 |
Exec address: | 0000 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Archimedes archive » Micro User » MU 1992-02.adf » PD » !PlayerMod/UserBits/STmod-Docs
- Archimedes archive » Micro User » MU 1991-10.adf » PD-Stuff » Music/!PlayerMod/Bits/STmod-Docs
File contents
------------------------------------------------------------------------------- Background SoundTracker ModulePlayer v1.04 30-Aug-1990 17:23 ------------------------------------------------------------------------------- Coding & design by ALT_Man This little module will play the specified Amiga-soundtracker module until told to stop. It allocates space from the RMA to fit the module in so it's best to be at the supervisor '*' prompt when you load tunes. Use *PM to load the PlayerModule. Start a tune going using: *PlayMod <modulename> where <modulename> is the name of an Amiga soundtracker module. From version 1.00, automatic selection of 15 or 31 instrument format is performed. Note: Using a *PlayMod while one tune is playing will cause the first tune to be stopped and the second one loaded & started. Stop a tune playing with: *PlayStop Show information about a tune with: *PlayStatus This shows song name (not filename!), 15/31 instrument format, tune length, and module length. Set channel separation with: *PlayStereo <0|1> Where 0 is Archimedes channels (slight bias left/right so tunes can be heard out of single-speaker archies) and 1 is Amiga channels (full left/right). Sample rate is currently fixed at 29Khz per channel. Takes appx 25%-ish CPU time. Contact points: Voice: (0749) 72234 (ask for Hugo) (0831) 444192 (VodaFone) Data : (0749) 679794 (300-2400 - 1 line ) (0749) 670030 (300-HST/V32 - 2 lines) Email: Prestel - 045847608, CIX - altman Snail: Hugo Fiennes, Burcott Manor, Wells, Somerset, BA5 1NH Have fun, y'all! ALT_Man Version 1.03 ------------ - If you have problems with modules giving address exceptions: it is probably that the player can't work out what format the file is in: if the player finds a &78 (decimal 120, ascii 'x') at position &1D7 in the file it loads, it assumes it is a 15 instrument file. If you have 15 instrument files without this byte, load an editor (eg !Edit) and find byte &1D7 (decimal 471) using f5, and key [copy] (to delete that character), and then [x] (must be lowercase, this is the hex &78). Then the module will play just fine. Version 1.04 ------------ - Just got filetype allocation from Acorn. Official filetype for soundtracker modules is now &cb6.
00000000 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 00000040 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a |---------------.| 00000050 42 61 63 6b 67 72 6f 75 6e 64 20 53 6f 75 6e 64 |Background Sound| 00000060 54 72 61 63 6b 65 72 20 4d 6f 64 75 6c 65 50 6c |Tracker ModulePl| 00000070 61 79 65 72 20 20 20 20 20 20 20 20 20 20 20 20 |ayer | 00000080 20 20 20 20 20 20 20 20 76 31 2e 30 34 20 33 30 | v1.04 30| 00000090 2d 41 75 67 2d 31 39 39 30 20 31 37 3a 32 33 0a |-Aug-1990 17:23.| 000000a0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 000000e0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a |---------------.| 000000f0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000120 20 20 20 20 20 43 6f 64 69 6e 67 20 26 20 64 65 | Coding & de| 00000130 73 69 67 6e 20 62 79 20 41 4c 54 5f 4d 61 6e 0a |sign by ALT_Man.| 00000140 0a 54 68 69 73 20 6c 69 74 74 6c 65 20 6d 6f 64 |.This little mod| 00000150 75 6c 65 20 77 69 6c 6c 20 70 6c 61 79 20 74 68 |ule will play th| 00000160 65 20 73 70 65 63 69 66 69 65 64 20 41 6d 69 67 |e specified Amig| 00000170 61 2d 73 6f 75 6e 64 74 72 61 63 6b 65 72 20 6d |a-soundtracker m| 00000180 6f 64 75 6c 65 20 75 6e 74 69 6c 0a 74 6f 6c 64 |odule until.told| 00000190 20 74 6f 20 73 74 6f 70 2e 20 49 74 20 61 6c 6c | to stop. It all| 000001a0 6f 63 61 74 65 73 20 73 70 61 63 65 20 66 72 6f |ocates space fro| 000001b0 6d 20 74 68 65 20 52 4d 41 20 74 6f 20 66 69 74 |m the RMA to fit| 000001c0 20 74 68 65 20 6d 6f 64 75 6c 65 20 69 6e 20 73 | the module in s| 000001d0 6f 20 69 74 27 73 0a 62 65 73 74 20 74 6f 20 62 |o it's.best to b| 000001e0 65 20 61 74 20 74 68 65 20 73 75 70 65 72 76 69 |e at the supervi| 000001f0 73 6f 72 20 27 2a 27 20 70 72 6f 6d 70 74 20 77 |sor '*' prompt w| 00000200 68 65 6e 20 79 6f 75 20 6c 6f 61 64 20 74 75 6e |hen you load tun| 00000210 65 73 2e 20 55 73 65 20 2a 50 4d 20 74 6f 20 6c |es. Use *PM to l| 00000220 6f 61 64 0a 74 68 65 20 50 6c 61 79 65 72 4d 6f |oad.the PlayerMo| 00000230 64 75 6c 65 2e 0a 0a 53 74 61 72 74 20 61 20 74 |dule...Start a t| 00000240 75 6e 65 20 67 6f 69 6e 67 20 75 73 69 6e 67 3a |une going using:| 00000250 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000260 20 2a 50 6c 61 79 4d 6f 64 20 3c 6d 6f 64 75 6c | *PlayMod <modul| 00000270 65 6e 61 6d 65 3e 0a 77 68 65 72 65 20 3c 6d 6f |ename>.where <mo| 00000280 64 75 6c 65 6e 61 6d 65 3e 20 69 73 20 74 68 65 |dulename> is the| 00000290 20 6e 61 6d 65 20 6f 66 20 61 6e 20 41 6d 69 67 | name of an Amig| 000002a0 61 20 73 6f 75 6e 64 74 72 61 63 6b 65 72 20 6d |a soundtracker m| 000002b0 6f 64 75 6c 65 2e 20 46 72 6f 6d 20 76 65 72 73 |odule. From vers| 000002c0 69 6f 6e 0a 31 2e 30 30 2c 20 61 75 74 6f 6d 61 |ion.1.00, automa| 000002d0 74 69 63 20 73 65 6c 65 63 74 69 6f 6e 20 6f 66 |tic selection of| 000002e0 20 31 35 20 6f 72 20 33 31 20 69 6e 73 74 72 75 | 15 or 31 instru| 000002f0 6d 65 6e 74 20 66 6f 72 6d 61 74 20 69 73 20 70 |ment format is p| 00000300 65 72 66 6f 72 6d 65 64 2e 0a 0a 4e 6f 74 65 3a |erformed...Note:| 00000310 20 55 73 69 6e 67 20 61 20 2a 50 6c 61 79 4d 6f | Using a *PlayMo| 00000320 64 20 77 68 69 6c 65 20 6f 6e 65 20 74 75 6e 65 |d while one tune| 00000330 20 69 73 20 70 6c 61 79 69 6e 67 20 77 69 6c 6c | is playing will| 00000340 20 63 61 75 73 65 20 74 68 65 20 66 69 72 73 74 | cause the first| 00000350 20 74 75 6e 65 0a 20 20 20 20 20 20 74 6f 20 62 | tune. to b| 00000360 65 20 73 74 6f 70 70 65 64 20 61 6e 64 20 74 68 |e stopped and th| 00000370 65 20 73 65 63 6f 6e 64 20 6f 6e 65 20 6c 6f 61 |e second one loa| 00000380 64 65 64 20 26 20 73 74 61 72 74 65 64 2e 0a 0a |ded & started...| 00000390 53 74 6f 70 20 61 20 74 75 6e 65 20 70 6c 61 79 |Stop a tune play| 000003a0 69 6e 67 20 77 69 74 68 3a 20 20 20 20 20 20 20 |ing with: | 000003b0 20 20 20 20 20 20 20 20 20 20 2a 50 6c 61 79 53 | *PlayS| 000003c0 74 6f 70 20 20 20 20 20 20 20 20 20 20 20 20 20 |top | 000003d0 20 20 20 20 20 0a 0a 53 68 6f 77 20 69 6e 66 6f | ..Show info| 000003e0 72 6d 61 74 69 6f 6e 20 61 62 6f 75 74 20 61 20 |rmation about a | 000003f0 74 75 6e 65 20 77 69 74 68 3a 20 20 20 20 20 20 |tune with: | 00000400 20 2a 50 6c 61 79 53 74 61 74 75 73 0a 54 68 69 | *PlayStatus.Thi| 00000410 73 20 73 68 6f 77 73 20 73 6f 6e 67 20 6e 61 6d |s shows song nam| 00000420 65 20 28 6e 6f 74 20 66 69 6c 65 6e 61 6d 65 21 |e (not filename!| 00000430 29 2c 20 31 35 2f 33 31 20 69 6e 73 74 72 75 6d |), 15/31 instrum| 00000440 65 6e 74 20 66 6f 72 6d 61 74 2c 20 74 75 6e 65 |ent format, tune| 00000450 20 6c 65 6e 67 74 68 2c 20 61 6e 64 0a 6d 6f 64 | length, and.mod| 00000460 75 6c 65 20 6c 65 6e 67 74 68 2e 0a 0a 53 65 74 |ule length...Set| 00000470 20 63 68 61 6e 6e 65 6c 20 73 65 70 61 72 61 74 | channel separat| 00000480 69 6f 6e 20 77 69 74 68 3a 20 20 20 20 20 20 20 |ion with: | 00000490 20 20 20 20 20 20 20 2a 50 6c 61 79 53 74 65 72 | *PlaySter| 000004a0 65 6f 20 3c 30 7c 31 3e 0a 57 68 65 72 65 20 30 |eo <0|1>.Where 0| 000004b0 20 69 73 20 41 72 63 68 69 6d 65 64 65 73 20 63 | is Archimedes c| 000004c0 68 61 6e 6e 65 6c 73 20 28 73 6c 69 67 68 74 20 |hannels (slight | 000004d0 62 69 61 73 20 6c 65 66 74 2f 72 69 67 68 74 20 |bias left/right | 000004e0 73 6f 20 74 75 6e 65 73 20 63 61 6e 20 62 65 20 |so tunes can be | 000004f0 68 65 61 72 64 0a 6f 75 74 20 6f 66 20 73 69 6e |heard.out of sin| 00000500 67 6c 65 2d 73 70 65 61 6b 65 72 20 61 72 63 68 |gle-speaker arch| 00000510 69 65 73 29 20 61 6e 64 20 31 20 69 73 20 41 6d |ies) and 1 is Am| 00000520 69 67 61 20 63 68 61 6e 6e 65 6c 73 20 28 66 75 |iga channels (fu| 00000530 6c 6c 20 6c 65 66 74 2f 72 69 67 68 74 29 2e 0a |ll left/right)..| 00000540 0a 53 61 6d 70 6c 65 20 72 61 74 65 20 69 73 20 |.Sample rate is | 00000550 63 75 72 72 65 6e 74 6c 79 20 66 69 78 65 64 20 |currently fixed | 00000560 61 74 20 32 39 4b 68 7a 20 70 65 72 20 63 68 61 |at 29Khz per cha| 00000570 6e 6e 65 6c 2e 20 54 61 6b 65 73 20 61 70 70 78 |nnel. Takes appx| 00000580 20 32 35 25 2d 69 73 68 20 43 50 55 0a 74 69 6d | 25%-ish CPU.tim| 00000590 65 2e 0a 0a 43 6f 6e 74 61 63 74 20 70 6f 69 6e |e...Contact poin| 000005a0 74 73 3a 0a 0a 20 20 20 20 20 20 56 6f 69 63 65 |ts:.. Voice| 000005b0 3a 20 28 30 37 34 39 29 20 20 37 32 32 33 34 20 |: (0749) 72234 | 000005c0 28 61 73 6b 20 66 6f 72 20 48 75 67 6f 29 0a 20 |(ask for Hugo). | 000005d0 20 20 20 20 20 20 20 20 20 20 20 20 28 30 38 33 | (083| 000005e0 31 29 20 34 34 34 31 39 32 20 28 56 6f 64 61 46 |1) 444192 (VodaF| 000005f0 6f 6e 65 29 0a 20 20 20 20 20 20 44 61 74 61 20 |one). Data | 00000600 3a 20 28 30 37 34 39 29 20 36 37 39 37 39 34 20 |: (0749) 679794 | 00000610 28 33 30 30 2d 32 34 30 30 20 20 20 20 2d 20 31 |(300-2400 - 1| 00000620 20 6c 69 6e 65 20 29 0a 20 20 20 20 20 20 20 20 | line ). | 00000630 20 20 20 20 20 28 30 37 34 39 29 20 36 37 30 30 | (0749) 6700| 00000640 33 30 20 28 33 30 30 2d 48 53 54 2f 56 33 32 20 |30 (300-HST/V32 | 00000650 2d 20 32 20 6c 69 6e 65 73 29 0a 20 20 20 20 20 |- 2 lines). | 00000660 20 45 6d 61 69 6c 3a 20 50 72 65 73 74 65 6c 20 | Email: Prestel | 00000670 2d 20 30 34 35 38 34 37 36 30 38 2c 20 43 49 58 |- 045847608, CIX| 00000680 20 2d 20 61 6c 74 6d 61 6e 0a 20 20 20 20 20 20 | - altman. | 00000690 53 6e 61 69 6c 3a 20 48 75 67 6f 20 46 69 65 6e |Snail: Hugo Fien| 000006a0 6e 65 73 2c 20 42 75 72 63 6f 74 74 20 4d 61 6e |nes, Burcott Man| 000006b0 6f 72 2c 20 57 65 6c 6c 73 2c 20 53 6f 6d 65 72 |or, Wells, Somer| 000006c0 73 65 74 2c 20 42 41 35 20 31 4e 48 0a 0a 48 61 |set, BA5 1NH..Ha| 000006d0 76 65 20 66 75 6e 2c 20 79 27 61 6c 6c 21 0a 0a |ve fun, y'all!..| 000006e0 41 4c 54 5f 4d 61 6e 20 20 20 20 20 20 20 20 0a |ALT_Man .| 000006f0 0a 56 65 72 73 69 6f 6e 20 31 2e 30 33 0a 2d 2d |.Version 1.03.--| 00000700 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 2d 20 49 66 |----------..- If| 00000710 20 79 6f 75 20 68 61 76 65 20 70 72 6f 62 6c 65 | you have proble| 00000720 6d 73 20 77 69 74 68 20 6d 6f 64 75 6c 65 73 20 |ms with modules | 00000730 67 69 76 69 6e 67 20 61 64 64 72 65 73 73 20 65 |giving address e| 00000740 78 63 65 70 74 69 6f 6e 73 3a 20 69 74 20 69 73 |xceptions: it is| 00000750 20 70 72 6f 62 61 62 6c 79 0a 20 20 74 68 61 74 | probably. that| 00000760 20 74 68 65 20 70 6c 61 79 65 72 20 63 61 6e 27 | the player can'| 00000770 74 20 77 6f 72 6b 20 6f 75 74 20 77 68 61 74 20 |t work out what | 00000780 66 6f 72 6d 61 74 20 74 68 65 20 66 69 6c 65 20 |format the file | 00000790 69 73 20 69 6e 3a 20 69 66 20 74 68 65 20 70 6c |is in: if the pl| 000007a0 61 79 65 72 20 66 69 6e 64 73 20 20 61 20 26 37 |ayer finds a &7| 000007b0 38 20 28 64 65 63 69 6d 61 6c 20 31 32 30 2c 20 |8 (decimal 120, | 000007c0 61 73 63 69 69 20 27 78 27 29 20 61 74 20 70 6f |ascii 'x') at po| 000007d0 73 69 74 69 6f 6e 20 26 31 44 37 20 69 6e 20 74 |sition &1D7 in t| 000007e0 68 65 20 66 69 6c 65 20 69 74 20 6c 6f 61 64 73 |he file it loads| 000007f0 2c 20 69 74 0a 20 20 61 73 73 75 6d 65 73 20 69 |, it. assumes i| 00000800 74 20 69 73 20 61 20 31 35 20 69 6e 73 74 72 75 |t is a 15 instru| 00000810 6d 65 6e 74 20 66 69 6c 65 2e 20 49 66 20 79 6f |ment file. If yo| 00000820 75 20 68 61 76 65 20 31 35 20 69 6e 73 74 72 75 |u have 15 instru| 00000830 6d 65 6e 74 20 66 69 6c 65 73 20 77 69 74 68 6f |ment files witho| 00000840 75 74 0a 20 20 74 68 69 73 20 62 79 74 65 2c 20 |ut. this byte, | 00000850 6c 6f 61 64 20 61 6e 20 65 64 69 74 6f 72 20 28 |load an editor (| 00000860 65 67 20 21 45 64 69 74 29 20 61 6e 64 20 66 69 |eg !Edit) and fi| 00000870 6e 64 20 62 79 74 65 20 26 31 44 37 20 28 64 65 |nd byte &1D7 (de| 00000880 63 69 6d 61 6c 20 34 37 31 29 20 75 73 69 6e 67 |cimal 471) using| 00000890 0a 20 20 66 35 2c 20 61 6e 64 20 6b 65 79 20 5b |. f5, and key [| 000008a0 63 6f 70 79 5d 20 28 74 6f 20 64 65 6c 65 74 65 |copy] (to delete| 000008b0 20 74 68 61 74 20 63 68 61 72 61 63 74 65 72 29 | that character)| 000008c0 2c 20 61 6e 64 20 74 68 65 6e 20 5b 78 5d 20 28 |, and then [x] (| 000008d0 6d 75 73 74 20 62 65 0a 20 20 6c 6f 77 65 72 63 |must be. lowerc| 000008e0 61 73 65 2c 20 74 68 69 73 20 69 73 20 74 68 65 |ase, this is the| 000008f0 20 68 65 78 20 26 37 38 29 2e 20 54 68 65 6e 20 | hex &78). Then | 00000900 74 68 65 20 6d 6f 64 75 6c 65 20 77 69 6c 6c 20 |the module will | 00000910 70 6c 61 79 20 6a 75 73 74 20 66 69 6e 65 2e 0a |play just fine..| 00000920 0a 56 65 72 73 69 6f 6e 20 31 2e 30 34 0a 2d 2d |.Version 1.04.--| 00000930 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 2d 20 4a 75 |----------..- Ju| 00000940 73 74 20 67 6f 74 20 66 69 6c 65 74 79 70 65 20 |st got filetype | 00000950 61 6c 6c 6f 63 61 74 69 6f 6e 20 66 72 6f 6d 20 |allocation from | 00000960 41 63 6f 72 6e 2e 20 4f 66 66 69 63 69 61 6c 20 |Acorn. Official | 00000970 66 69 6c 65 74 79 70 65 20 66 6f 72 0a 20 20 73 |filetype for. s| 00000980 6f 75 6e 64 74 72 61 63 6b 65 72 20 6d 6f 64 75 |oundtracker modu| 00000990 6c 65 73 20 69 73 20 6e 6f 77 20 26 63 62 36 2e |les is now &cb6.| 000009a0 0a 0a |..| 000009a2