Home » Archimedes archive » Micro User » MU 1991-01.adf » PD-Stuff » !STmodmake/!STracker/STmod-DOCS

!STmodmake/!STracker/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-01.adf » PD-Stuff
Filename: !STmodmake/!STracker/STmod-DOCS
Read OK:
File size: 0F2D bytes
Load address: 0000
Exec address: 0000
Duplicates

There are 2 duplicate copies of this file in the archive:

File contents
-------------------------------------------------------------------------------
Background SoundTracker ModulePlayer                    v1.03 28-Mar-1990 00:16
-------------------------------------------------------------------------------
                                                     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.

Sample rate is currently fixed at 29Khz per channel. Takes appx 25%-ish CPU time.
                                        
This is now supplied in a RISC OS-type application: the directory includes this
file, the 'PM' module, the programs 'playmoda' (plays 15 instrument modules,
commented source), and 'playmoda2' (plays 31 instrument modules).

Contact points:

      Voice: (0749)  72234 (ask for Hugo)
      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
                                                                  
Please note that the code contained in this player and in 'playmoda' and
'playmoda2' is copyright (c)1988/1989/1990 Hugo Fiennes and may not be used in
any commercial programs without prior permission from me. Use in public domain
demos, your own programs is permitted, as is copying of the ENTIRE !STracker
directory (not parts of it so as everyone gets all the files!). Please send me
a copy of any demos you do using this routine (or any other routine!) so I can
update the demo-library on my BBS!

Have fun, y'all!

ALT_Man        
                 
Version 0.06 (first release version)
------------
                                    
Version 0.07
------------

- My address/contant numbers updated as we have moved!

Version 1.00
------------

- Now autoselects 15/31 instrument files. 32 instrument player source included.

Version 1.01
------------

- 32 instrument play now fixed!
                                     
Version 1.02
------------

- BIG problem with me not clearing top bit of picth incase it was used in 31
  instrument tunes!

Version 1.03
------------

- Fixed now so it never (fingers crossed) loses notes, I was storing a word instead
  of a byte in the 'newdata' bit (blush). PlayModA and PlayModA2 also updated with
  this fix! The problem ONLY occurred if the buffer filling was interrupted by the
  'intr' routine (ie new note data), ie this was is you were running the player
  off interrupts. If you ran off VSYNC's (eg in main demo loop or whatever) then
  it is fine. Still, it's fixed now!

- 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.
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 33 20 32 38  |        v1.03 28|
00000090  2d 4d 61 72 2d 31 39 39  30 20 30 30 3a 31 36 0a  |-Mar-1990 00:16.|
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 61 6d  |ule length...Sam|
00000470  70 6c 65 20 72 61 74 65  20 69 73 20 63 75 72 72  |ple rate is curr|
00000480  65 6e 74 6c 79 20 66 69  78 65 64 20 61 74 20 32  |ently fixed at 2|
00000490  39 4b 68 7a 20 70 65 72  20 63 68 61 6e 6e 65 6c  |9Khz per channel|
000004a0  2e 20 54 61 6b 65 73 20  61 70 70 78 20 32 35 25  |. Takes appx 25%|
000004b0  2d 69 73 68 20 43 50 55  20 74 69 6d 65 2e 0a 20  |-ish CPU time.. |
000004c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000004e0  20 20 20 20 20 20 20 0a  54 68 69 73 20 69 73 20  |       .This is |
000004f0  6e 6f 77 20 73 75 70 70  6c 69 65 64 20 69 6e 20  |now supplied in |
00000500  61 20 52 49 53 43 20 4f  53 2d 74 79 70 65 20 61  |a RISC OS-type a|
00000510  70 70 6c 69 63 61 74 69  6f 6e 3a 20 74 68 65 20  |pplication: the |
00000520  64 69 72 65 63 74 6f 72  79 20 69 6e 63 6c 75 64  |directory includ|
00000530  65 73 20 74 68 69 73 0a  66 69 6c 65 2c 20 74 68  |es this.file, th|
00000540  65 20 27 50 4d 27 20 6d  6f 64 75 6c 65 2c 20 74  |e 'PM' module, t|
00000550  68 65 20 70 72 6f 67 72  61 6d 73 20 27 70 6c 61  |he programs 'pla|
00000560  79 6d 6f 64 61 27 20 28  70 6c 61 79 73 20 31 35  |ymoda' (plays 15|
00000570  20 69 6e 73 74 72 75 6d  65 6e 74 20 6d 6f 64 75  | instrument modu|
00000580  6c 65 73 2c 0a 63 6f 6d  6d 65 6e 74 65 64 20 73  |les,.commented s|
00000590  6f 75 72 63 65 29 2c 20  61 6e 64 20 27 70 6c 61  |ource), and 'pla|
000005a0  79 6d 6f 64 61 32 27 20  28 70 6c 61 79 73 20 33  |ymoda2' (plays 3|
000005b0  31 20 69 6e 73 74 72 75  6d 65 6e 74 20 6d 6f 64  |1 instrument mod|
000005c0  75 6c 65 73 29 2e 0a 0a  43 6f 6e 74 61 63 74 20  |ules)...Contact |
000005d0  70 6f 69 6e 74 73 3a 0a  0a 20 20 20 20 20 20 56  |points:..      V|
000005e0  6f 69 63 65 3a 20 28 30  37 34 39 29 20 20 37 32  |oice: (0749)  72|
000005f0  32 33 34 20 28 61 73 6b  20 66 6f 72 20 48 75 67  |234 (ask for Hug|
00000600  6f 29 0a 20 20 20 20 20  20 44 61 74 61 20 3a 20  |o).      Data : |
00000610  28 30 37 34 39 29 20 36  37 39 37 39 34 20 28 33  |(0749) 679794 (3|
00000620  30 30 2d 32 34 30 30 20  20 20 20 2d 20 31 20 6c  |00-2400    - 1 l|
00000630  69 6e 65 20 29 0a 20 20  20 20 20 20 20 20 20 20  |ine ).          |
00000640  20 20 20 28 30 37 34 39  29 20 36 37 30 30 33 30  |   (0749) 670030|
00000650  20 28 33 30 30 2d 48 53  54 2f 56 33 32 20 2d 20  | (300-HST/V32 - |
00000660  32 20 6c 69 6e 65 73 29  0a 20 20 20 20 20 20 45  |2 lines).      E|
00000670  6d 61 69 6c 3a 20 50 72  65 73 74 65 6c 20 2d 20  |mail: Prestel - |
00000680  30 34 35 38 34 37 36 30  38 2c 20 43 49 58 20 2d  |045847608, CIX -|
00000690  20 61 6c 74 6d 61 6e 0a  20 20 20 20 20 20 53 6e  | altman.      Sn|
000006a0  61 69 6c 3a 20 48 75 67  6f 20 46 69 65 6e 6e 65  |ail: Hugo Fienne|
000006b0  73 2c 20 42 75 72 63 6f  74 74 20 4d 61 6e 6f 72  |s, Burcott Manor|
000006c0  2c 20 57 65 6c 6c 73 2c  20 53 6f 6d 65 72 73 65  |, Wells, Somerse|
000006d0  74 2c 20 42 41 35 20 31  4e 48 0a 20 20 20 20 20  |t, BA5 1NH.     |
000006e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000710  20 20 20 20 20 20 20 20  20 20 20 20 20 0a 50 6c  |             .Pl|
00000720  65 61 73 65 20 6e 6f 74  65 20 74 68 61 74 20 74  |ease note that t|
00000730  68 65 20 63 6f 64 65 20  63 6f 6e 74 61 69 6e 65  |he code containe|
00000740  64 20 69 6e 20 74 68 69  73 20 70 6c 61 79 65 72  |d in this player|
00000750  20 61 6e 64 20 69 6e 20  27 70 6c 61 79 6d 6f 64  | and in 'playmod|
00000760  61 27 20 61 6e 64 0a 27  70 6c 61 79 6d 6f 64 61  |a' and.'playmoda|
00000770  32 27 20 69 73 20 63 6f  70 79 72 69 67 68 74 20  |2' is copyright |
00000780  28 63 29 31 39 38 38 2f  31 39 38 39 2f 31 39 39  |(c)1988/1989/199|
00000790  30 20 48 75 67 6f 20 46  69 65 6e 6e 65 73 20 61  |0 Hugo Fiennes a|
000007a0  6e 64 20 6d 61 79 20 6e  6f 74 20 62 65 20 75 73  |nd may not be us|
000007b0  65 64 20 69 6e 0a 61 6e  79 20 63 6f 6d 6d 65 72  |ed in.any commer|
000007c0  63 69 61 6c 20 70 72 6f  67 72 61 6d 73 20 77 69  |cial programs wi|
000007d0  74 68 6f 75 74 20 70 72  69 6f 72 20 70 65 72 6d  |thout prior perm|
000007e0  69 73 73 69 6f 6e 20 66  72 6f 6d 20 6d 65 2e 20  |ission from me. |
000007f0  55 73 65 20 69 6e 20 70  75 62 6c 69 63 20 64 6f  |Use in public do|
00000800  6d 61 69 6e 0a 64 65 6d  6f 73 2c 20 79 6f 75 72  |main.demos, your|
00000810  20 6f 77 6e 20 70 72 6f  67 72 61 6d 73 20 69 73  | own programs is|
00000820  20 70 65 72 6d 69 74 74  65 64 2c 20 61 73 20 69  | permitted, as i|
00000830  73 20 63 6f 70 79 69 6e  67 20 6f 66 20 74 68 65  |s copying of the|
00000840  20 45 4e 54 49 52 45 20  21 53 54 72 61 63 6b 65  | ENTIRE !STracke|
00000850  72 0a 64 69 72 65 63 74  6f 72 79 20 28 6e 6f 74  |r.directory (not|
00000860  20 70 61 72 74 73 20 6f  66 20 69 74 20 73 6f 20  | parts of it so |
00000870  61 73 20 65 76 65 72 79  6f 6e 65 20 67 65 74 73  |as everyone gets|
00000880  20 61 6c 6c 20 74 68 65  20 66 69 6c 65 73 21 29  | all the files!)|
00000890  2e 20 50 6c 65 61 73 65  20 73 65 6e 64 20 6d 65  |. Please send me|
000008a0  0a 61 20 63 6f 70 79 20  6f 66 20 61 6e 79 20 64  |.a copy of any d|
000008b0  65 6d 6f 73 20 79 6f 75  20 64 6f 20 75 73 69 6e  |emos you do usin|
000008c0  67 20 74 68 69 73 20 72  6f 75 74 69 6e 65 20 28  |g this routine (|
000008d0  6f 72 20 61 6e 79 20 6f  74 68 65 72 20 72 6f 75  |or any other rou|
000008e0  74 69 6e 65 21 29 20 73  6f 20 49 20 63 61 6e 0a  |tine!) so I can.|
000008f0  75 70 64 61 74 65 20 74  68 65 20 64 65 6d 6f 2d  |update the demo-|
00000900  6c 69 62 72 61 72 79 20  6f 6e 20 6d 79 20 42 42  |library on my BB|
00000910  53 21 0a 0a 48 61 76 65  20 66 75 6e 2c 20 79 27  |S!..Have fun, y'|
00000920  61 6c 6c 21 0a 0a 41 4c  54 5f 4d 61 6e 20 20 20  |all!..ALT_Man   |
00000930  20 20 20 20 20 0a 20 20  20 20 20 20 20 20 20 20  |     .          |
00000940  20 20 20 20 20 20 20 0a  56 65 72 73 69 6f 6e 20  |       .Version |
00000950  30 2e 30 36 20 28 66 69  72 73 74 20 72 65 6c 65  |0.06 (first rele|
00000960  61 73 65 20 76 65 72 73  69 6f 6e 29 0a 2d 2d 2d  |ase version).---|
00000970  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 20 20 20 20 20 20  |---------.      |
00000980  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000990  20 20 20 20 20 20 20 20  20 20 20 20 20 20 0a 56  |              .V|
000009a0  65 72 73 69 6f 6e 20 30  2e 30 37 0a 2d 2d 2d 2d  |ersion 0.07.----|
000009b0  2d 2d 2d 2d 2d 2d 2d 2d  0a 0a 2d 20 4d 79 20 61  |--------..- My a|
000009c0  64 64 72 65 73 73 2f 63  6f 6e 74 61 6e 74 20 6e  |ddress/contant n|
000009d0  75 6d 62 65 72 73 20 75  70 64 61 74 65 64 20 61  |umbers updated a|
000009e0  73 20 77 65 20 68 61 76  65 20 6d 6f 76 65 64 21  |s we have moved!|
000009f0  0a 0a 56 65 72 73 69 6f  6e 20 31 2e 30 30 0a 2d  |..Version 1.00.-|
00000a00  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 0a 2d 20 4e  |-----------..- N|
00000a10  6f 77 20 61 75 74 6f 73  65 6c 65 63 74 73 20 31  |ow autoselects 1|
00000a20  35 2f 33 31 20 69 6e 73  74 72 75 6d 65 6e 74 20  |5/31 instrument |
00000a30  66 69 6c 65 73 2e 20 33  32 20 69 6e 73 74 72 75  |files. 32 instru|
00000a40  6d 65 6e 74 20 70 6c 61  79 65 72 20 73 6f 75 72  |ment player sour|
00000a50  63 65 20 69 6e 63 6c 75  64 65 64 2e 0a 0a 56 65  |ce included...Ve|
00000a60  72 73 69 6f 6e 20 31 2e  30 31 0a 2d 2d 2d 2d 2d  |rsion 1.01.-----|
00000a70  2d 2d 2d 2d 2d 2d 2d 0a  0a 2d 20 33 32 20 69 6e  |-------..- 32 in|
00000a80  73 74 72 75 6d 65 6e 74  20 70 6c 61 79 20 6e 6f  |strument play no|
00000a90  77 20 66 69 78 65 64 21  0a 20 20 20 20 20 20 20  |w fixed!.       |
00000aa0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000ab0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 0a 56  |              .V|
00000ac0  65 72 73 69 6f 6e 20 31  2e 30 32 0a 2d 2d 2d 2d  |ersion 1.02.----|
00000ad0  2d 2d 2d 2d 2d 2d 2d 2d  0a 0a 2d 20 42 49 47 20  |--------..- BIG |
00000ae0  70 72 6f 62 6c 65 6d 20  77 69 74 68 20 6d 65 20  |problem with me |
00000af0  6e 6f 74 20 63 6c 65 61  72 69 6e 67 20 74 6f 70  |not clearing top|
00000b00  20 62 69 74 20 6f 66 20  70 69 63 74 68 20 69 6e  | bit of picth in|
00000b10  63 61 73 65 20 69 74 20  77 61 73 20 75 73 65 64  |case it was used|
00000b20  20 69 6e 20 33 31 0a 20  20 69 6e 73 74 72 75 6d  | in 31.  instrum|
00000b30  65 6e 74 20 74 75 6e 65  73 21 0a 0a 56 65 72 73  |ent tunes!..Vers|
00000b40  69 6f 6e 20 31 2e 30 33  0a 2d 2d 2d 2d 2d 2d 2d  |ion 1.03.-------|
00000b50  2d 2d 2d 2d 2d 0a 0a 2d  20 46 69 78 65 64 20 6e  |-----..- Fixed n|
00000b60  6f 77 20 73 6f 20 69 74  20 6e 65 76 65 72 20 28  |ow so it never (|
00000b70  66 69 6e 67 65 72 73 20  63 72 6f 73 73 65 64 29  |fingers crossed)|
00000b80  20 6c 6f 73 65 73 20 6e  6f 74 65 73 2c 20 49 20  | loses notes, I |
00000b90  77 61 73 20 73 74 6f 72  69 6e 67 20 61 20 77 6f  |was storing a wo|
00000ba0  72 64 20 69 6e 73 74 65  61 64 0a 20 20 6f 66 20  |rd instead.  of |
00000bb0  61 20 62 79 74 65 20 69  6e 20 74 68 65 20 27 6e  |a byte in the 'n|
00000bc0  65 77 64 61 74 61 27 20  62 69 74 20 28 62 6c 75  |ewdata' bit (blu|
00000bd0  73 68 29 2e 20 50 6c 61  79 4d 6f 64 41 20 61 6e  |sh). PlayModA an|
00000be0  64 20 50 6c 61 79 4d 6f  64 41 32 20 61 6c 73 6f  |d PlayModA2 also|
00000bf0  20 75 70 64 61 74 65 64  20 77 69 74 68 0a 20 20  | updated with.  |
00000c00  74 68 69 73 20 66 69 78  21 20 54 68 65 20 70 72  |this fix! The pr|
00000c10  6f 62 6c 65 6d 20 4f 4e  4c 59 20 6f 63 63 75 72  |oblem ONLY occur|
00000c20  72 65 64 20 69 66 20 74  68 65 20 62 75 66 66 65  |red if the buffe|
00000c30  72 20 66 69 6c 6c 69 6e  67 20 77 61 73 20 69 6e  |r filling was in|
00000c40  74 65 72 72 75 70 74 65  64 20 62 79 20 74 68 65  |terrupted by the|
00000c50  0a 20 20 27 69 6e 74 72  27 20 72 6f 75 74 69 6e  |.  'intr' routin|
00000c60  65 20 28 69 65 20 6e 65  77 20 6e 6f 74 65 20 64  |e (ie new note d|
00000c70  61 74 61 29 2c 20 69 65  20 74 68 69 73 20 77 61  |ata), ie this wa|
00000c80  73 20 69 73 20 79 6f 75  20 77 65 72 65 20 72 75  |s is you were ru|
00000c90  6e 6e 69 6e 67 20 74 68  65 20 70 6c 61 79 65 72  |nning the player|
00000ca0  0a 20 20 6f 66 66 20 69  6e 74 65 72 72 75 70 74  |.  off interrupt|
00000cb0  73 2e 20 49 66 20 79 6f  75 20 72 61 6e 20 6f 66  |s. If you ran of|
00000cc0  66 20 56 53 59 4e 43 27  73 20 28 65 67 20 69 6e  |f VSYNC's (eg in|
00000cd0  20 6d 61 69 6e 20 64 65  6d 6f 20 6c 6f 6f 70 20  | main demo loop |
00000ce0  6f 72 20 77 68 61 74 65  76 65 72 29 20 74 68 65  |or whatever) the|
00000cf0  6e 0a 20 20 69 74 20 69  73 20 66 69 6e 65 2e 20  |n.  it is fine. |
00000d00  53 74 69 6c 6c 2c 20 69  74 27 73 20 66 69 78 65  |Still, it's fixe|
00000d10  64 20 6e 6f 77 21 0a 0a  2d 20 49 66 20 79 6f 75  |d now!..- If you|
00000d20  20 68 61 76 65 20 70 72  6f 62 6c 65 6d 73 20 77  | have problems w|
00000d30  69 74 68 20 6d 6f 64 75  6c 65 73 20 67 69 76 69  |ith modules givi|
00000d40  6e 67 20 61 64 64 72 65  73 73 20 65 78 63 65 70  |ng address excep|
00000d50  74 69 6f 6e 73 3a 20 69  74 20 69 73 20 70 72 6f  |tions: it is pro|
00000d60  62 61 62 6c 79 20 74 68  61 74 0a 20 20 74 68 65  |bably that.  the|
00000d70  20 70 6c 61 79 65 72 20  63 61 6e 27 74 20 77 6f  | player can't wo|
00000d80  72 6b 20 6f 75 74 20 77  68 61 74 20 66 6f 72 6d  |rk out what form|
00000d90  61 74 20 74 68 65 20 66  69 6c 65 20 69 73 20 69  |at the file is i|
00000da0  6e 3a 20 69 66 20 74 68  65 20 70 6c 61 79 65 72  |n: if the player|
00000db0  20 66 69 6e 64 73 20 61  0a 20 20 26 37 38 20 28  | finds a.  &78 (|
00000dc0  64 65 63 69 6d 61 6c 20  31 32 30 2c 20 61 73 63  |decimal 120, asc|
00000dd0  69 69 20 27 78 27 29 20  61 74 20 70 6f 73 69 74  |ii 'x') at posit|
00000de0  69 6f 6e 20 26 31 44 37  20 69 6e 20 74 68 65 20  |ion &1D7 in the |
00000df0  66 69 6c 65 20 69 74 20  6c 6f 61 64 73 2c 20 69  |file it loads, i|
00000e00  74 20 61 73 73 75 6d 65  73 20 69 74 0a 20 20 69  |t assumes it.  i|
00000e10  73 20 61 20 31 35 20 69  6e 73 74 72 75 6d 65 6e  |s a 15 instrumen|
00000e20  74 20 66 69 6c 65 2e 20  49 66 20 79 6f 75 20 68  |t file. If you h|
00000e30  61 76 65 20 31 35 20 69  6e 73 74 72 75 6d 65 6e  |ave 15 instrumen|
00000e40  74 20 66 69 6c 65 73 20  77 69 74 68 6f 75 74 20  |t files without |
00000e50  74 68 69 73 20 62 79 74  65 2c 0a 20 20 6c 6f 61  |this byte,.  loa|
00000e60  64 20 61 6e 20 65 64 69  74 6f 72 20 28 65 67 20  |d an editor (eg |
00000e70  21 45 64 69 74 29 20 61  6e 64 20 66 69 6e 64 20  |!Edit) and find |
00000e80  62 79 74 65 20 26 31 44  37 20 28 64 65 63 69 6d  |byte &1D7 (decim|
00000e90  61 6c 20 34 37 31 29 20  75 73 69 6e 67 20 66 35  |al 471) using f5|
00000ea0  2c 20 61 6e 64 20 6b 65  79 0a 20 20 5b 63 6f 70  |, and key.  [cop|
00000eb0  79 5d 20 28 74 6f 20 64  65 6c 65 74 65 20 74 68  |y] (to delete th|
00000ec0  61 74 20 63 68 61 72 61  63 74 65 72 29 2c 20 61  |at character), a|
00000ed0  6e 64 20 74 68 65 6e 20  5b 78 5d 20 28 6d 75 73  |nd then [x] (mus|
00000ee0  74 20 62 65 20 6c 6f 77  65 72 63 61 73 65 2c 20  |t be lowercase, |
00000ef0  74 68 69 73 20 69 73 20  74 68 65 0a 20 20 68 65  |this is the.  he|
00000f00  78 20 26 37 38 29 2e 20  54 68 65 6e 20 74 68 65  |x &78). Then the|
00000f10  20 6d 6f 64 75 6c 65 20  77 69 6c 6c 20 70 6c 61  | module will pla|
00000f20  79 20 6a 75 73 74 20 66  69 6e 65 2e 0a           |y just fine..|
00000f2d