home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / q / qtm / QTM
Unknown  |  1996-06-03  |  15.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% gt2 Kopftext: 'HELP(' default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 48 45 4c 50 28 00 00 00 | c9 00 00 00 bc 00 00 00 |HELP(...|........|
|00000010| 2c 00 00 00 00 fd ff ff | 00 00 00 00 88 00 00 00 |,.......|........|
|00000020| 00 01 00 00 00 00 00 00 | 24 00 00 00 44 49 52 24 |........|$...DIR$|
|00000030| 90 00 00 00 90 00 00 00 | d8 39 00 00 46 fd ff ff |........|.9..F...|
|00000040| 58 da 85 d8 4b 02 00 00 | 13 00 00 00 00 00 00 00 |X...K...|........|
|00000050| 21 52 6f 6f 74 00 00 00 | 08 03 00 00 46 fd ff ff |!Root...|....F...|
|00000060| 11 b8 04 d8 24 00 00 00 | 13 00 00 00 00 00 00 00 |....$...|........|
|00000070| 21 43 6f 6e 66 69 67 75 | 72 65 00 00 2c 03 00 00 |!Configu|re..,...|
|00000080| 46 fd ff ff 82 60 09 d8 | 48 03 00 00 13 01 00 00 |F....`..|H.......|
|00000090| 00 00 00 00 51 54 4d 5f | 00 00 00 00 b8 39 00 00 |....QTM_|.....9..|
|000000a0| 45 fc ff ff c3 d8 0e e3 | 20 00 00 00 13 00 00 00 |E.......| .......|
|000000b0| 00 00 00 00 21 50 72 65 | 00 00 00 00 46 52 45 45 |....!Pre|....FREE|
|000000c0| 4a 02 00 00 ff ff ff ff | 23 50 61 72 65 6e 74 20 |J.......|#Parent |
|000000d0| 53 74 72 6f 6e 67 48 65 | 6c 70 3a 21 4d 65 6e 75 |StrongHe|lp:!Menu|
|000000e0| 0a 23 50 72 65 66 69 78 | 20 51 54 4d 5f 0a 23 42 |.#Prefix| QTM_.#B|
|000000f0| 61 63 6b 67 72 6f 75 6e | 64 20 57 69 6d 70 20 31 |ackgroun|d Wimp 1|
|00000100| 0a 23 66 48 31 3a 51 54 | 4d 0a 23 66 48 33 3a 28 |.#fH1:QT|M.#fH3:(|
|00000110| 51 75 65 75 65 20 54 68 | 65 20 4d 75 73 69 63 29 |Queue Th|e Music)|
|00000120| 0a 23 4c 69 6e 65 0a 23 | 54 61 62 6c 65 20 43 6f |.#Line.#|Table Co|
|00000130| 6c 75 6d 6e 73 20 34 0a | 3c 43 6c 65 61 72 3e 0a |lumns 4.|<Clear>.|
|00000140| 3c 44 4d 41 42 75 66 66 | 65 72 3e 0a 3c 45 66 66 |<DMABuff|er>.<Eff|
|00000150| 65 63 74 43 6f 6e 74 72 | 6f 6c 3e 0a 3c 49 6e 66 |ectContr|ol>.<Inf|
|00000160| 6f 3e 0a 3c 4c 6f 61 64 | 3e 0a 3c 50 61 75 73 65 |o>.<Load|>.<Pause|
|00000170| 3e 0a 3c 50 6c 61 79 53 | 61 6d 70 6c 65 3e 0a 3c |>.<PlayS|ample>.<|
|00000180| 50 6f 73 3e 0a 3c 52 65 | 61 64 50 6c 61 79 69 6e |Pos>.<Re|adPlayin|
|00000190| 67 54 69 6d 65 3e 0a 3c | 52 65 61 64 53 61 6d 70 |gTime>.<|ReadSamp|
|000001a0| 6c 65 54 61 62 6c 65 3e | 0a 3c 52 65 61 64 53 65 |leTable>|.<ReadSe|
|000001b0| 71 75 65 6e 63 65 54 61 | 62 6c 65 3e 0a 3c 52 65 |quenceTa|ble>.<Re|
|000001c0| 61 64 53 70 65 65 64 3e | 0a 3c 52 65 61 64 56 55 |adSpeed>|.<ReadVU|
|000001d0| 4c 65 76 65 6c 73 3e 0a | 3c 52 65 6d 6f 76 65 43 |Levels>.|<RemoveC|
|000001e0| 68 61 6e 6e 65 6c 3e 0a | 3c 52 65 73 74 6f 72 65 |hannel>.|<Restore|
|000001f0| 43 68 61 6e 6e 65 6c 3e | 0a 3c 53 65 74 53 61 6d |Channel>|.<SetSam|
|00000200| 70 6c 65 53 70 65 65 64 | 3e 0a 3c 53 6f 6e 67 4c |pleSpeed|>.<SongL|
|00000210| 65 6e 67 74 68 3e 0a 3c | 53 6f 6e 67 53 74 61 74 |ength>.<|SongStat|
|00000220| 75 73 3e 0a 3c 53 74 61 | 72 74 3e 0a 3c 53 74 65 |us>.<Sta|rt>.<Ste|
|00000230| 72 65 6f 3e 0a 3c 53 74 | 6f 70 3e 0a 3c 56 6f 6c |reo>.<St|op>.<Vol|
|00000240| 75 6d 65 3e 0a 3c 56 55 | 42 61 72 43 6f 6e 74 72 |ume>.<VU|BarContr|
|00000250| 6f 6c 3e 0a 23 45 6e 64 | 74 61 62 6c 65 0a 23 4c |ol>.#End|table.#L|
|00000260| 69 6e 65 3b 41 6c 69 67 | 6e 20 43 65 6e 74 72 65 |ine;Alig|n Centre|
|00000270| 3b 57 72 61 70 20 4f 66 | 66 0a 48 65 6c 70 20 74 |;Wrap Of|f.Help t|
|00000280| 65 78 74 20 69 73 20 62 | 79 20 7b 2a 7d 50 68 6f |ext is b|y {*}Pho|
|00000290| 65 6e 69 78 20 26 20 51 | 75 61 6e 74 75 6d 7b 2a |enix & Q|uantum{*|
|000002a0| 7d 2c 20 a9 20 31 39 39 | 33 2d 34 0a 7b 2f 7d 53 |}, . 199|3-4.{/}S|
|000002b0| 74 72 6f 6e 67 48 65 6c | 70 7b 2f 7d 20 76 65 72 |trongHel|p{/} ver|
|000002c0| 73 69 6f 6e 20 62 79 20 | 3c 44 61 76 65 20 54 68 |sion by |<Dave Th|
|000002d0| 6f 6d 61 73 3d 3e 46 69 | 6c 65 74 79 70 65 73 3a |omas=>Fi|letypes:|
|000002e0| 41 75 74 68 6f 72 73 5f | 44 61 76 65 54 68 6f 6d |Authors_|DaveThom|
|000002f0| 61 73 3e 2c 20 32 6e 64 | 20 4a 75 6e 20 31 39 39 |as>, 2nd| Jun 199|
|00000300| 36 20 28 72 32 29 00 00 | 44 41 54 41 24 00 00 00 |6 (r2)..|DATA$...|
|00000310| 23 43 6f 6d 6d 61 6e 64 | 73 0a 66 53 74 64 0a 57 |#Command|s.fStd.W|
|00000320| 72 61 70 20 4f 6e 0a 23 | 45 6e 64 0a 44 49 52 24 |rap On.#|End.DIR$|
|00000330| 48 03 00 00 48 03 00 00 | 74 06 00 00 46 ff ff ff |H...H...|t...F...|
|00000340| 14 eb 04 d8 21 03 00 00 | 13 00 00 00 00 00 00 00 |....!...|........|
|00000350| 43 6c 65 61 72 00 00 00 | 98 09 00 00 46 ff ff ff |Clear...|....F...|
|00000360| 24 46 1a c5 3a 02 00 00 | 13 00 00 00 00 00 00 00 |$F..:...|........|
|00000370| 44 4d 41 42 75 66 66 65 | 72 00 00 00 d4 0b 00 00 |DMABuffe|r.......|
|00000380| 46 ff ff ff 6c 47 1a c5 | 9c 03 00 00 13 00 00 00 |F...lG..|........|
|00000390| 00 00 00 00 45 66 66 65 | 63 74 43 6f 6e 74 72 6f |....Effe|ctContro|
|000003a0| 6c 00 00 00 70 0f 00 00 | 46 ff ff ff 47 51 1a c5 |l...p...|F...GQ..|
|000003b0| 24 04 00 00 13 00 00 00 | 00 00 00 00 49 6e 66 6f |$.......|....Info|
|000003c0| 00 00 00 00 94 13 00 00 | 46 ff ff ff a3 3d 1a c5 |........|F....=..|
|000003d0| e0 02 00 00 13 00 00 00 | 00 00 00 00 4c 6f 61 64 |........|....Load|
|000003e0| 00 00 00 00 74 16 00 00 | 46 ff ff ff 94 60 1a c5 |....t...|F....`..|
|000003f0| e2 00 00 00 13 00 00 00 | 00 00 00 00 50 61 75 73 |........|....Paus|
|00000400| 65 00 00 00 58 17 00 00 | 46 ff ff ff 46 69 1a c5 |e...X...|F...Fi..|
|00000410| 77 02 00 00 13 00 00 00 | 00 00 00 00 50 6c 61 79 |w.......|....Play|
|00000420| 53 61 6d 70 6c 65 00 00 | d0 19 00 00 46 ff ff ff |Sample..|....F...|
|00000430| c4 74 1a c5 98 01 00 00 | 13 00 00 00 00 00 00 00 |.t......|........|
|00000440| 50 6f 73 00 68 1b 00 00 | 46 ff ff ff 16 0d 1b c5 |Pos.h...|F.......|
|00000450| d1 04 00 00 13 00 00 00 | 00 00 00 00 52 65 61 64 |........|....Read|
|00000460| 50 6c 61 79 69 6e 67 54 | 69 6d 65 00 3c 20 00 00 |PlayingT|ime.< ..|
|00000470| 46 ff ff ff 2c 23 1b c5 | 1b 03 00 00 13 00 00 00 |F...,#..|........|
|00000480| 00 00 00 00 52 65 61 64 | 53 61 6d 70 6c 65 54 61 |....Read|SampleTa|
|00000490| 62 6c 65 00 58 23 00 00 | 46 ff ff ff b1 39 1b c5 |ble.X#..|F....9..|
|000004a0| 19 01 00 00 13 00 00 00 | 00 00 00 00 52 65 61 64 |........|....Read|
|000004b0| 53 65 71 75 65 6e 63 65 | 54 61 62 6c 65 00 00 00 |Sequence|Table...|
|000004c0| 74 24 00 00 46 ff ff ff | 48 44 1b c5 e9 02 00 00 |t$..F...|HD......|
|000004d0| 13 00 00 00 00 00 00 00 | 52 65 61 64 53 70 65 65 |........|ReadSpee|
|000004e0| 64 00 00 00 60 27 00 00 | 46 ff ff ff bb 5c 1b c5 |d...`'..|F....\..|
|000004f0| f1 01 00 00 13 00 00 00 | 00 00 00 00 52 65 61 64 |........|....Read|
|00000500| 56 55 4c 65 76 65 6c 73 | 00 00 00 00 54 29 00 00 |VULevels|....T)..|
|00000510| 46 ff ff ff 5b 6a 1b c5 | a4 01 00 00 13 00 00 00 |F...[j..|........|
|00000520| 00 00 00 00 52 65 6d 6f | 76 65 43 68 61 6e 6e 65 |....Remo|veChanne|
|00000530| 6c 00 00 00 f8 2a 00 00 | 46 ff ff ff 7c 7a 1b c5 |l....*..|F...|z..|
|00000540| 78 01 00 00 13 00 00 00 | 00 00 00 00 52 65 73 74 |x.......|....Rest|
|00000550| 6f 72 65 43 68 61 6e 6e | 65 6c 00 00 70 2c 00 00 |oreChann|el..p,..|
|00000560| 46 ff ff ff c7 83 1b c5 | c0 01 00 00 13 00 00 00 |F.......|........|
|00000570| 00 00 00 00 53 65 74 53 | 61 6d 70 6c 65 53 70 65 |....SetS|ampleSpe|
|00000580| 65 64 00 00 30 2e 00 00 | 46 ff ff ff 78 8b 1b c5 |ed..0...|F...x...|
|00000590| ed 00 00 00 13 00 00 00 | 00 00 00 00 53 6f 6e 67 |........|....Song|
|000005a0| 4c 65 6e 67 74 68 00 00 | 20 2f 00 00 46 ff ff ff |Length..| /..F...|
|000005b0| 52 be 1b c5 43 01 00 00 | 13 00 00 00 00 00 00 00 |R...C...|........|
|000005c0| 53 6f 6e 67 53 74 61 74 | 75 73 00 00 64 30 00 00 |SongStat|us..d0..|
|000005d0| 46 ff ff ff 29 c7 1b c5 | 8b 00 00 00 13 00 00 00 |F...)...|........|
|000005e0| 00 00 00 00 53 74 61 72 | 74 00 00 00 f0 30 00 00 |....Star|t....0..|
|000005f0| 46 ff ff ff 7c e6 1b c5 | 12 04 00 00 13 00 00 00 |F...|...|........|
|00000600| 00 00 00 00 53 74 65 72 | 65 6f 00 00 04 35 00 00 |....Ster|eo...5..|
|00000610| 46 ff ff ff ea eb 1b c5 | c4 00 00 00 13 00 00 00 |F.......|........|
|00000620| 00 00 00 00 53 74 6f 70 | 00 00 00 00 c8 35 00 00 |....Stop|.....5..|
|00000630| 46 ff ff ff f1 f5 1b c5 | 76 01 00 00 13 00 00 00 |F.......|v.......|
|00000640| 00 00 00 00 56 6f 6c 75 | 6d 65 00 00 40 37 00 00 |....Volu|me..@7..|
|00000650| 46 ff ff ff 1a 0b 1c c5 | 78 02 00 00 13 00 00 00 |F.......|x.......|
|00000660| 00 00 00 00 56 55 42 61 | 72 43 6f 6e 74 72 6f 6c |....VUBa|rControl|
|00000670| 00 00 00 00 44 41 54 41 | 21 03 00 00 51 54 4d 5f |....DATA|!...QTM_|
|00000680| 43 6c 65 61 72 20 20 28 | 26 34 37 45 34 34 29 0a |Clear (|&47E44).|
|00000690| 45 6e 74 72 79 0a 20 09 | 52 30 09 3d 20 2d 31 20 |Entry. .|R0.= -1 |
|000006a0| 74 6f 20 63 6f 6e 76 65 | 72 74 20 73 61 6d 70 6c |to conve|rt sampl|
|000006b0| 65 73 20 62 61 63 6b 20 | 74 6f 20 73 69 67 6e 65 |es back |to signe|
|000006c0| 64 20 6c 69 6e 65 61 72 | 20 66 6f 72 6d 61 74 0a |d linear| format.|
|000006d0| 20 09 20 09 3d 20 5c 3c | 3e 2d 31 20 64 6f 6e 27 | . .= \<|>-1 don'|
|000006e0| 74 20 63 6f 6e 76 65 72 | 74 20 73 61 6d 70 6c 65 |t conver|t sample|
|000006f0| 73 0a 0a 4e 6f 20 65 72 | 72 6f 72 20 69 73 20 72 |s..No er|ror is r|
|00000700| 65 70 6f 72 74 65 64 20 | 69 66 20 74 68 65 72 65 |eported |if there|
|00000710| 20 69 73 20 6e 6f 74 20 | 61 20 73 6f 6e 67 20 6c | is not |a song l|
|00000720| 6f 61 64 65 64 2e 0a 0a | 54 68 69 73 20 53 57 49 |oaded...|This SWI|
|00000730| 20 77 69 6c 6c 20 73 74 | 6f 70 20 74 68 65 20 74 | will st|op the t|
|00000740| 75 6e 65 20 70 6c 61 79 | 69 6e 67 2c 20 61 6e 64 |une play|ing, and|
|00000750| 20 72 65 6c 65 61 73 65 | 20 74 68 65 20 6d 65 6d | release| the mem|
|00000760| 6f 72 79 20 75 73 65 64 | 20 66 6f 72 20 74 68 65 |ory used| for the|
|00000770| 20 73 6f 6e 67 20 28 69 | 66 20 69 74 20 77 61 73 | song (i|f it was|
|00000780| 20 6c 6f 61 64 65 64 20 | 69 6e 74 6f 20 52 4d 41 | loaded |into RMA|
|00000790| 29 2e 20 54 68 65 20 74 | 75 6e 65 20 63 61 6e 27 |). The t|une can'|
|000007a0| 74 20 62 65 20 72 65 73 | 74 61 72 74 65 64 20 61 |t be res|tarted a|
|000007b0| 66 74 65 72 20 74 68 69 | 73 20 63 6f 6d 6d 61 6e |fter thi|s comman|
|000007c0| 64 2c 20 75 6e 6c 65 73 | 73 20 69 74 20 69 73 20 |d, unles|s it is |
|000007d0| 72 65 6c 6f 61 64 65 64 | 20 28 66 72 6f 6d 20 75 |reloaded| (from u|
|000007e0| 73 65 72 20 6d 65 6d 6f | 72 79 2c 20 6f 72 20 64 |ser memo|ry, or d|
|000007f0| 69 73 63 20 65 74 63 2e | 29 20 75 73 69 6e 67 20 |isc etc.|) using |
|00000800| 74 68 65 20 53 57 49 20 | 3c 51 54 4d 5f 4c 6f 61 |the SWI |<QTM_Loa|
|00000810| 64 3e 2e 0a 0a 54 68 65 | 20 63 75 72 72 65 6e 74 |d>...The| current|
|00000820| 20 73 6f 6e 67 20 63 61 | 6e 20 6f 6e 6c 79 20 62 | song ca|n only b|
|00000830| 65 20 72 65 6c 6f 61 64 | 65 64 20 66 72 6f 6d 20 |e reload|ed from |
|00000840| 75 73 65 72 20 28 6e 6f | 74 20 51 54 4d 73 29 20 |user (no|t QTMs) |
|00000850| 6d 65 6d 6f 72 79 20 61 | 66 74 65 72 20 61 20 53 |memory a|fter a S|
|00000860| 57 49 20 51 54 4d 5f 43 | 6c 65 61 72 20 69 66 20 |WI QTM_C|lear if |
|00000870| 74 68 65 20 73 61 6d 70 | 6c 65 73 20 68 61 76 65 |the samp|les have|
|00000880| 20 62 65 65 6e 20 63 6f | 6e 76 65 72 74 65 64 20 | been co|nverted |
|00000890| 62 61 63 6b 20 74 6f 20 | 73 69 67 6e 65 64 20 6c |back to |signed l|
|000008a0| 69 6e 65 61 72 20 66 6f | 72 6d 61 74 20 28 66 6f |inear fo|rmat (fo|
|000008b0| 72 6d 20 74 68 65 20 6c | 6f 67 61 72 69 74 68 6d |rm the l|ogarithm|
|000008c0| 69 63 20 66 6f 72 6d 61 | 74 20 74 68 61 74 20 74 |ic forma|t that t|
|000008d0| 68 65 72 65 20 77 65 72 | 65 20 63 6f 6e 76 65 72 |here wer|e conver|
|000008e0| 74 65 64 20 74 6f 20 77 | 68 65 6e 20 74 68 65 20 |ted to w|hen the |
|000008f0| 73 6f 6e 67 20 77 61 73 | 20 6c 6f 61 64 65 64 29 |song was| loaded)|
|00000900| 2e 20 54 68 69 73 20 63 | 61 6e 20 62 65 20 64 6f |. This c|an be do|
|00000910| 6e 65 20 62 79 20 73 65 | 74 74 69 6e 67 20 52 30 |ne by se|tting R0|
|00000920| 20 74 6f 20 2d 31 20 62 | 65 66 6f 72 65 20 63 61 | to -1 b|efore ca|
|00000930| 6c 6c 69 6e 67 20 51 54 | 4d 5f 43 6c 65 61 72 2e |lling QT|M_Clear.|
|00000940| 20 53 65 65 20 51 54 4d | 5f 4c 6f 61 64 20 66 6f | See QTM|_Load fo|
|00000950| 72 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 6f 6e |r inform|ation on|
|00000960| 20 28 72 65 29 6c 6f 61 | 64 69 6e 67 20 61 20 73 | (re)loa|ding a s|
|00000970| 6f 6e 67 20 74 68 61 74 | 20 69 73 20 61 6c 72 65 |ong that| is alre|
|00000980| 61 64 79 20 73 74 6f 72 | 65 64 20 69 6e 20 6d 65 |ady stor|ed in me|
|00000990| 6d 6f 72 79 2e 00 00 00 | 44 41 54 41 3a 02 00 00 |mory....|DATA:...|
|000009a0| 51 54 4d 5f 44 4d 41 42 | 75 66 66 65 72 20 20 28 |QTM_DMAB|uffer (|
|000009b0| 26 34 37 45 34 41 29 0a | 45 78 69 74 0a 20 09 52 |&47E4A).|Exit. .R|
|000009c0| 30 20 3d 20 61 64 64 72 | 65 73 73 20 6f 66 20 6c |0 = addr|ess of l|
|000009d0| 61 73 74 20 75 73 65 64 | 20 44 4d 41 20 73 6f 75 |ast used| DMA sou|
|000009e0| 6e 64 20 62 75 66 66 65 | 72 2e 0a 0a 42 79 20 75 |nd buffe|r...By u|
|000009f0| 73 69 6e 67 20 74 68 69 | 73 20 53 57 49 2c 20 69 |sing thi|s SWI, i|
|00000a00| 74 20 77 6f 75 6c 64 20 | 62 65 20 70 6f 73 73 69 |t would |be possi|
|00000a10| 62 6c 65 20 74 6f 20 69 | 6d 70 6c 65 6d 65 6e 74 |ble to i|mplement|
|00000a20| 20 73 6f 75 6e 64 20 6f | 75 74 70 75 74 20 6f 73 | sound o|utput os|
|00000a30| 63 69 6c 6c 6f 73 63 6f | 70 65 73 2c 20 6f 72 20 |cillosco|pes, or |
|00000a40| 76 6f 6c 75 6d 65 20 61 | 63 74 69 76 61 74 65 64 |volume a|ctivated|
|00000a50| 20 28 72 65 61 6c 29 20 | 56 55 20 62 61 72 73 2e | (real) |VU bars.|
|00000a60| 20 54 68 65 20 64 61 74 | 61 20 69 6e 20 74 68 65 | The dat|a in the|
|00000a70| 20 44 4d 41 20 62 75 66 | 66 65 72 20 69 73 20 73 | DMA buf|fer is s|
|00000a80| 74 6f 72 65 64 20 61 73 | 3a 20 5b 63 31 5d 2c 5b |tored as|: [c1],[|
|00000a90| 63 32 5d 2c 5b 63 33 5d | 2c 5b 63 30 5d 2c 5b 63 |c2],[c3]|,[c0],[c|
|00000aa0| 31 5d 2c 5b 63 32 5d 2e | 2e 2e 65 74 63 2c 20 31 |1],[c2].|..etc, 1|
|00000ab0| 20 62 79 74 65 20 66 6f | 72 20 65 61 63 68 20 63 | byte fo|r each c|
|00000ac0| 68 61 6e 6e 65 6c 2e 20 | 54 68 65 20 44 4d 41 20 |hannel. |The DMA |
|00000ad0| 62 75 66 66 65 72 20 73 | 69 7a 65 20 75 73 65 64 |buffer s|ize used|
|00000ae0| 20 62 79 20 51 54 4d 20 | 69 73 20 32 30 38 2a 5c | by QTM |is 208*\|
|00000af0| 3c 6e 75 6d 20 6f 66 20 | 63 68 61 6e 6e 65 6c 73 |<num of |channels|
|00000b00| 5c 3e 20 6c 6f 6e 67 2e | 20 53 65 65 20 50 52 4d |\> long.| See PRM|
|00000b10| 73 20 66 6f 72 20 6d 6f | 72 65 20 69 6e 66 6f 2e |s for mo|re info.|
|00000b20| 0a 0a 54 68 65 20 61 64 | 64 72 65 73 73 20 72 65 |..The ad|dress re|
|00000b30| 74 75 72 6e 65 64 20 69 | 6e 20 52 30 20 77 69 6c |turned i|n R0 wil|
|00000b40| 6c 20 6f 6e 6c 79 20 62 | 65 20 61 63 63 75 72 61 |l only b|e accura|
|00000b50| 74 65 20 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |te if th|ere is a|
|00000b60| 20 73 6f 6e 67 20 70 6c | 61 79 69 6e 67 20 77 68 | song pl|aying wh|
|00000b70| 69 6c 65 20 69 74 20 69 | 73 20 63 61 6c 6c 65 64 |ile it i|s called|
|00000b80| 2e 20 49 66 20 61 20 73 | 6f 6e 67 20 68 61 73 20 |. If a s|ong has |
|00000b90| 6e 6f 74 20 62 65 65 6e | 20 70 6c 61 79 65 64 20 |not been| played |
|00000ba0| 62 65 66 6f 72 65 20 74 | 68 69 73 20 69 73 20 63 |before t|his is c|
|00000bb0| 61 6c 6c 65 64 2c 20 74 | 68 65 6e 20 52 30 20 77 |alled, t|hen R0 w|
|00000bc0| 69 6c 6c 20 72 65 74 75 | 72 6e 20 7a 65 72 6f 65 |ill retu|rn zeroe|
|00000bd0| 64 2e 00 00 44 41 54 41 | 9c 03 00 00 51 54 4d 5f |d...DATA|....QTM_|
|00000be0| 45 66 66 65 63 74 43 6f | 6e 74 72 6f 6c 20 20 28 |EffectCo|ntrol (|
|00000bf0| 26 34 37 45 34 37 29 0a | 45 6e 74 72 79 0a 20 09 |&47E47).|Entry. .|
|00000c00| 52 30 20 3d 20 65 66 66 | 65 63 74 20 6e 75 6d 62 |R0 = eff|ect numb|
|00000c10| 65 72 20 28 26 30 2d 26 | 46 2c 26 45 30 2d 26 45 |er (&0-&|F,&E0-&E|
|00000c20| 46 20 2d 20 28 66 6f 72 | 20 27 45 27 20 65 66 66 |F - (for| 'E' eff|
|00000c30| 65 63 74 73 29 29 0a 20 | 09 52 31 20 3d 20 6e 65 |ects)). |.R1 = ne|
|00000c40| 77 20 73 74 61 74 65 20 | 6f 66 20 65 66 66 65 63 |w state |of effec|
|00000c50| 74 20 28 30 2d 6f 66 66 | 2f 31 2d 6f 6e 29 0a 45 |t (0-off|/1-on).E|
|00000c60| 78 69 74 0a 20 09 52 30 | 20 3d 20 70 72 65 76 69 |xit. .R0| = previ|
|00000c70| 6f 75 73 20 65 66 66 65 | 63 74 20 73 74 61 74 65 |ous effe|ct state|
|00000c80| 20 77 6f 72 64 20 28 26 | 30 2d 26 46 29 20 31 20 | word (&|0-&F) 1 |
|00000c90| 62 69 74 20 70 65 72 20 | 65 66 66 65 63 74 2c 20 |bit per |effect, |
|00000ca0| 31 36 20 62 69 74 73 0a | 20 09 52 31 20 3d 20 70 |16 bits.| .R1 = p|
|00000cb0| 72 65 76 69 6f 75 73 20 | 65 66 66 65 63 74 20 73 |revious |effect s|
|00000cc0| 74 61 74 65 20 77 6f 72 | 64 20 28 26 45 30 2d 26 |tate wor|d (&E0-&|
|00000cd0| 45 46 29 20 20 20 20 20 | 20 22 20 20 20 20 20 20 |EF) | " |
|00000ce0| 20 20 20 20 20 20 22 0a | 0a 56 20 66 6c 61 67 20 | ".|.V flag |
|00000cf0| 73 65 74 20 69 66 20 74 | 68 65 20 65 66 66 65 63 |set if t|he effec|
|00000d00| 74 20 6e 75 6d 62 65 72 | 20 77 61 73 20 6f 75 74 |t number| was out|
|00000d10| 20 6f 66 20 72 61 6e 67 | 65 0a 0a 54 68 69 73 20 | of rang|e..This |
|00000d20| 53 57 49 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |SWI can |be used |
|00000d30| 74 6f 20 63 68 61 6e 67 | 65 20 74 68 65 20 73 74 |to chang|e the st|
|00000d40| 61 74 65 20 6f 66 20 61 | 6e 79 20 65 66 66 65 63 |ate of a|ny effec|
|00000d50| 74 20 28 61 73 20 73 65 | 65 6e 20 62 79 20 74 68 |t (as se|en by th|
|00000d60| 65 20 51 54 4d 20 65 66 | 66 65 63 74 20 68 61 6e |e QTM ef|fect han|
|00000d70| 64 6c 65 72 73 29 2e 20 | 44 69 73 61 62 6c 69 6e |dlers). |Disablin|
|00000d80| 67 20 65 66 66 65 63 74 | 73 20 77 69 6c 6c 20 73 |g effect|s will s|
|00000d90| 74 6f 70 20 51 54 4d 20 | 74 61 6b 69 6e 67 20 61 |top QTM |taking a|
|00000da0| 6e 79 20 61 63 74 69 6f | 6e 20 6f 76 65 72 20 74 |ny actio|n over t|
|00000db0| 68 65 6d 20 65 67 2e 20 | 44 69 73 61 62 6c 69 6e |hem eg. |Disablin|
|00000dc0| 67 20 65 66 66 65 63 74 | 20 26 46 20 77 69 6c 6c |g effect| &F will|
|00000dd0| 20 6e 6f 74 20 61 6c 6c | 6f 77 20 73 70 65 65 64 | not all|ow speed|
|00000de0| 2f 74 65 6d 70 6f 20 63 | 68 61 6e 67 65 73 20 74 |/tempo c|hanges t|
|00000df0| 6f 20 74 61 6b 65 20 70 | 6c 61 63 65 2c 20 61 6e |o take p|lace, an|
|00000e00| 64 20 74 68 65 20 73 6f | 6e 67 20 6d 61 79 20 73 |d the so|ng may s|
|00000e10| 6f 75 6e 64 20 74 6f 6f | 20 66 61 73 74 20 6f 72 |ound too| fast or|
|00000e20| 20 73 6c 6f 77 2e 20 20 | 4f 6e 63 65 20 72 65 2d | slow. |Once re-|
|00000e30| 65 6e 61 62 6c 65 64 2c | 20 74 68 65 20 65 66 66 |enabled,| the eff|
|00000e40| 65 63 74 28 73 29 20 77 | 69 6c 6c 20 62 65 20 72 |ect(s) w|ill be r|
|00000e50| 75 6e 20 61 73 20 75 73 | 75 61 6c 20 61 67 61 69 |un as us|ual agai|
|00000e60| 6e 2e 0a 0a 54 68 65 20 | 63 6f 6e 74 65 6e 74 73 |n...The |contents|
|00000e70| 20 6f 66 20 52 30 20 61 | 6e 64 20 52 31 20 6f 6e | of R0 a|nd R1 on|
|00000e80| 20 65 78 69 74 20 61 72 | 65 20 61 20 63 6f 70 79 | exit ar|e a copy|
|00000e90| 20 6f 66 20 74 68 65 20 | 65 66 66 65 63 74 20 77 | of the |effect w|
|00000ea0| 6f 72 64 73 20 75 73 65 | 64 20 62 79 20 51 54 4d |ords use|d by QTM|
|00000eb0| 20 2d 20 65 61 63 68 20 | 68 61 73 20 31 36 20 62 | - each |has 16 b|
|00000ec0| 69 74 73 20 75 73 65 64 | 2c 20 65 61 63 68 20 62 |its used|, each b|
|00000ed0| 69 74 20 72 65 70 72 65 | 73 65 6e 74 69 6e 67 20 |it repre|senting |
|00000ee0| 74 68 65 20 73 74 61 74 | 65 20 6f 66 20 74 68 61 |the stat|e of tha|
|00000ef0| 74 20 65 66 66 65 63 74 | 20 30 2d 6f 66 66 2c 20 |t effect| 0-off, |
|00000f00| 31 2d 6f 6e 2e 20 52 30 | 20 63 6f 6e 74 61 69 6e |1-on. R0| contain|
|00000f10| 73 20 74 68 65 20 66 6c | 61 67 73 20 66 6f 72 20 |s the fl|ags for |
|00000f20| 74 68 65 20 6e 6f 72 6d | 61 6c 20 65 66 66 65 63 |the norm|al effec|
|00000f30| 74 73 20 28 26 30 2d 26 | 46 29 2c 20 52 31 20 63 |ts (&0-&|F), R1 c|
|00000f40| 6f 6e 74 61 69 6e 73 20 | 74 68 65 20 66 6c 61 67 |ontains |the flag|
|00000f50| 73 20 66 6f 72 20 74 68 | 65 20 27 45 27 20 65 66 |s for th|e 'E' ef|
|00000f60| 66 65 63 74 73 20 28 26 | 45 30 2d 26 45 46 29 2e |fects (&|E0-&EF).|
|00000f70| 44 41 54 41 24 04 00 00 | 51 54 4d 5f 49 6e 66 6f |DATA$...|QTM_Info|
|00000f80| 20 20 28 26 34 37 45 34 | 35 29 0a 45 78 69 74 0a | (&47E4|5).Exit.|
|00000f90| 20 09 52 30 20 3d 20 70 | 6f 69 6e 74 65 72 20 74 | .R0 = p|ointer t|
|00000fa0| 6f 20 74 72 61 63 6b 20 | 6e 61 6d 65 20 28 6c 65 |o track |name (le|
|00000fb0| 6e 67 74 68 20 32 30 20 | 62 79 74 65 73 2c 20 30 |ngth 20 |bytes, 0|
|00000fc0| 20 74 65 72 6d 69 6e 61 | 74 65 64 29 0a 20 09 52 | termina|ted). .R|
|00000fd0| 31 20 3d 20 70 6f 69 6e | 74 65 72 20 74 6f 20 61 |1 = poin|ter to a|
|00000fe0| 75 74 68 6f 72 20 6e 61 | 6d 65 20 28 6c 65 6e 67 |uthor na|me (leng|
|00000ff0| 74 68 20 32 32 20 62 79 | 74 65 73 2c 20 30 20 74 |th 22 by|tes, 0 t|
|00001000| 65 72 6d 69 6e 61 74 65 | 64 29 0a 20 09 20 09 6f |erminate|d). . .o|
|00001010| 72 20 30 20 69 66 20 61 | 75 74 68 6f 72 20 6e 61 |r 0 if a|uthor na|
|00001020| 6d 65 20 63 6f 75 6c 64 | 20 6e 6f 74 20 62 65 20 |me could| not be |
|00001030| 66 6f 75 6e 64 0a 20 09 | 52 32 20 3d 20 74 75 6e |found. .|R2 = tun|
|00001040| 65 20 74 79 70 65 20 28 | 30 2d 33 29 3a 20 30 20 |e type (|0-3): 0 |
|00001050| 2d 20 31 35 20 69 6e 73 | 74 20 53 6f 75 6e 64 20 |- 15 ins|t Sound |
|00001060| 54 72 61 63 6b 65 72 20 | 63 6f 6d 70 61 74 69 62 |Tracker |compatib|
|00001070| 6c 65 0a 20 09 20 09 20 | 09 20 09 31 20 2d 20 33 |le. . . |. .1 - 3|
|00001080| 31 20 69 6e 73 74 20 53 | 6f 75 6e 64 20 54 72 61 |1 inst S|ound Tra|
|00001090| 63 6b 65 72 20 63 6f 6d | 70 61 74 69 62 6c 65 0a |cker com|patible.|
|000010a0| 20 09 20 09 20 09 20 09 | 32 20 2d 20 33 31 20 69 | . . . .|2 - 31 i|
|000010b0| 6e 73 74 20 50 72 6f 54 | 72 61 63 6b 65 72 0a 20 |nst ProT|racker. |
|000010c0| 09 20 09 20 09 20 09 33 | 20 2d 20 33 31 20 69 6e |. . . .3| - 31 in|
|000010d0| 73 74 2c 20 34 20 63 68 | 61 6e 6e 65 6c 20 53 74 |st, 4 ch|annel St|
|000010e0| 61 72 74 72 65 6b 6b 65 | 72 0a 20 09 52 33 20 3d |artrekke|r. .R3 =|
|000010f0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 68 61 6e 6e | number |of chann|
|00001100| 65 6c 73 20 28 63 75 72 | 72 65 6e 74 6c 79 20 6f |els (cur|rently o|
|00001110| 6e 6c 79 20 34 20 63 68 | 61 6e 6e 65 6c 73 29 0a |nly 4 ch|annels).|
|00001120| 20 09 52 34 20 3d 20 66 | 69 6c 65 20 6c 65 6e 67 | .R4 = f|ile leng|
|00001130| 74 68 20 28 69 6e 20 62 | 79 74 65 73 29 0a 20 09 |th (in b|ytes). .|
|00001140| 52 35 20 3d 20 67 61 72 | 62 61 67 65 20 64 61 74 |R5 = gar|bage dat|
|00001150| 61 20 73 69 7a 65 20 28 | 2d 76 65 20 69 66 20 64 |a size (|-ve if d|
|00001160| 61 74 61 20 6d 69 73 73 | 69 6e 67 29 0a 20 09 52 |ata miss|ing). .R|
|00001170| 36 20 3d 20 61 64 64 72 | 65 73 73 20 77 68 65 72 |6 = addr|ess wher|
|00001180| 65 20 73 6f 6e 67 20 69 | 73 20 6c 6f 61 64 65 64 |e song i|s loaded|
|00001190| 0a 0a 56 20 66 6c 61 67 | 20 73 65 74 20 69 66 20 |..V flag| set if |
|000011a0| 6e 6f 20 73 6f 6e 67 20 | 69 73 20 6c 6f 61 64 65 |no song |is loade|
|000011b0| 64 0a 0a 54 68 69 73 20 | 53 57 49 20 72 65 74 75 |d..This |SWI retu|
|000011c0| 72 6e 73 20 67 65 6e 65 | 72 61 6c 20 69 6e 66 6f |rns gene|ral info|
|000011d0| 72 6d 61 74 69 6f 6e 20 | 61 62 6f 75 74 20 74 68 |rmation |about th|
|000011e0| 65 20 63 75 72 72 65 6e | 74 20 74 72 61 63 6b 20 |e curren|t track |
|000011f0| 6c 6f 61 64 65 64 20 69 | 6e 20 51 54 4d 2e 0a 0a |loaded i|n QTM...|
|00001200| 49 74 20 61 6c 73 6f 20 | 75 73 65 73 20 61 6e 20 |It also |uses an |
|00001210| 7b 2f 7d 69 6e 74 65 6c | 6c 69 67 65 6e 74 20 61 |{/}intel|ligent a|
|00001220| 75 74 68 6f 72 20 64 65 | 74 65 63 74 6f 72 7b 2f |uthor de|tector{/|
|00001230| 7d 20 72 6f 75 74 69 6e | 65 2c 20 74 6f 20 73 65 |} routin|e, to se|
|00001240| 61 72 63 68 20 74 68 72 | 6f 75 67 68 20 74 68 65 |arch thr|ough the|
|00001250| 20 73 61 6d 70 6c 65 20 | 6e 61 6d 65 73 20 28 75 | sample |names (u|
|00001260| 73 75 61 6c 6c 79 20 75 | 73 65 64 20 62 79 20 61 |sually u|sed by a|
|00001270| 75 74 68 6f 72 73 2c 20 | 74 6f 20 73 74 6f 72 65 |uthors, |to store|
|00001280| 20 74 68 65 69 72 20 6e | 61 6d 65 20 6f 72 20 67 | their n|ame or g|
|00001290| 72 6f 75 70 29 20 74 6f | 20 73 65 65 20 69 66 20 |roup) to| see if |
|000012a0| 69 74 20 63 61 6e 20 66 | 69 6e 64 20 61 6e 79 74 |it can f|ind anyt|
|000012b0| 68 69 6e 67 20 74 68 61 | 74 20 72 65 73 73 65 6d |hing tha|t ressem|
|000012c0| 62 6c 65 73 20 61 20 6e | 61 6d 65 2e 20 49 66 20 |bles a n|ame. If |
|000012d0| 69 74 20 64 6f 65 73 2c | 20 74 68 65 6e 20 69 74 |it does,| then it|
|000012e0| 20 72 65 74 75 72 6e 73 | 20 61 20 70 6f 69 6e 74 | returns| a point|
|000012f0| 65 72 20 74 6f 20 74 68 | 65 20 6e 61 6d 65 2c 20 |er to th|e name, |
|00001300| 69 6e 20 52 31 2c 20 6f | 74 68 65 72 77 69 73 65 |in R1, o|therwise|
|00001310| 20 69 74 20 72 65 74 75 | 72 6e 73 20 77 69 74 68 | it retu|rns with|
|00001320| 20 52 31 3d 30 2e 0a 0a | 51 54 4d 20 63 61 6e 20 | R1=0...|QTM can |
|00001330| 63 75 72 72 65 6e 74 6c | 79 20 6f 6e 6c 79 20 63 |currentl|y only c|
|00001340| 6f 70 65 20 77 69 74 68 | 20 34 20 63 68 61 6e 6e |ope with| 4 chann|
|00001350| 65 6c 20 73 6f 6e 67 73 | 2c 20 62 75 74 20 66 75 |el songs|, but fu|
|00001360| 74 75 72 65 20 76 65 72 | 73 69 6f 6e 73 20 73 68 |ture ver|sions sh|
|00001370| 6f 75 6c 64 20 62 65 20 | 61 62 6c 65 20 74 6f 20 |ould be |able to |
|00001380| 68 61 6e 64 6c 65 20 61 | 20 6c 6f 74 20 6d 6f 72 |handle a| lot mor|
|00001390| 65 2e 2e 2e 44 41 54 41 | e0 02 00 00 51 54 4d 5f |e...DATA|....QTM_|
|000013a0| 4c 6f 61 64 20 20 28 26 | 34 37 45 34 30 29 0a 45 |Load (&|47E40).E|
|000013b0| 6e 74 72 79 0a 20 09 52 | 30 20 3d 20 70 6f 69 6e |ntry. .R|0 = poin|
|000013c0| 74 65 72 20 74 6f 20 66 | 69 6c 65 6e 61 6d 65 0a |ter to f|ilename.|
|000013d0| 20 09 20 20 20 20 20 3d | 20 30 20 74 6f 20 27 6c | . =| 0 to 'l|
|000013e0| 6f 61 64 27 20 61 20 70 | 72 65 2d 6c 6f 61 64 65 |oad' a p|re-loade|
|000013f0| 64 20 73 6f 6e 67 20 66 | 72 6f 6d 20 61 20 6d 65 |d song f|rom a me|
|00001400| 6d 6f 72 79 20 61 64 64 | 72 65 73 73 0a 20 09 52 |mory add|ress. .R|
|00001410| 31 20 3d 20 30 20 74 6f | 20 6c 6f 61 64 20 73 6f |1 = 0 to| load so|
|00001420| 6e 67 20 74 6f 20 74 68 | 65 20 52 4d 41 0a 20 09 |ng to th|e RMA. .|
|00001430| 20 20 20 20 20 3d 20 3e | 30 20 74 6f 20 6c 6f 61 | = >|0 to loa|
|00001440| 64 20 74 6f 20 74 68 69 | 73 20 61 64 64 72 65 73 |d to thi|s addres|
|00001450| 73 0a 0a 56 20 66 6c 61 | 67 20 73 65 74 20 69 66 |s..V fla|g set if|
|00001460| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 74 20 65 6e | there i|s not en|
|00001470| 6f 75 67 68 74 20 73 70 | 61 63 65 20 69 6e 20 74 |ought sp|ace in t|
|00001480| 68 65 20 52 4d 41 20 6f | 72 20 66 69 6c 65 20 6e |he RMA o|r file n|
|00001490| 6f 74 20 66 6f 75 6e 64 | 0a 0a 49 66 20 52 30 20 |ot found|..If R0 |
|000014a0| 70 6f 69 6e 74 73 20 74 | 6f 20 61 20 66 69 6c 65 |points t|o a file|
|000014b0| 6e 61 6d 65 20 77 68 65 | 6e 20 74 68 69 73 20 53 |name whe|n this S|
|000014c0| 57 49 20 69 73 20 63 61 | 6c 6c 65 64 2c 20 69 74 |WI is ca|lled, it|
|000014d0| 20 77 69 6c 6c 20 61 74 | 74 65 6d 70 74 20 74 6f | will at|tempt to|
|000014e0| 20 6c 6f 61 64 20 74 68 | 65 20 73 70 65 63 69 66 | load th|e specif|
|000014f0| 69 65 64 20 73 6f 6e 67 | 20 6d 6f 64 75 6c 65 20 |ied song| module |
|00001500| 69 6e 74 6f 20 74 68 65 | 20 52 4d 41 20 6f 72 20 |into the| RMA or |
|00001510| 74 6f 20 74 68 65 20 6d | 65 6d 6f 72 79 20 6c 6f |to the m|emory lo|
|00001520| 63 61 74 69 6f 6e 20 67 | 69 76 65 6e 20 69 6e 20 |cation g|iven in |
|00001530| 52 31 2e 20 49 66 20 52 | 30 20 63 6f 6e 74 61 69 |R1. If R|0 contai|
|00001540| 6e 73 20 30 20 6f 6e 20 | 65 6e 74 72 79 2c 20 74 |ns 0 on |entry, t|
|00001550| 68 65 6e 20 51 54 4d 20 | 77 69 6c 6c 20 61 74 74 |hen QTM |will att|
|00001560| 65 6d 70 74 20 74 6f 20 | 69 6e 69 74 69 61 6c 69 |empt to |initiali|
|00001570| 73 65 20 74 68 65 20 73 | 6f 6e 67 20 70 6f 69 6e |se the s|ong poin|
|00001580| 74 65 64 20 74 6f 20 62 | 79 20 52 31 2e 0a 0a 59 |ted to b|y R1...Y|
|00001590| 6f 75 20 73 68 6f 75 6c | 64 20 6f 6e 6c 79 20 6c |ou shoul|d only l|
|000015a0| 6f 61 64 20 73 6f 6e 67 | 73 20 69 6e 74 6f 20 27 |oad song|s into '|
|000015b0| 55 73 65 72 27 20 28 6e | 6f 6e 2d 52 4d 41 29 20 |User' (n|on-RMA) |
|000015c0| 6d 65 6d 6f 72 79 20 69 | 66 20 79 6f 75 72 20 70 |memory i|f your p|
|000015d0| 72 6f 67 72 61 6d 20 69 | 73 20 73 69 6e 67 6c 65 |rogram i|s single|
|000015e0| 2d 74 61 73 6b 69 6e 67 | 20 28 65 67 2e 20 67 61 |-tasking| (eg. ga|
|000015f0| 6d 65 2c 20 64 65 6d 6f | 2c 20 65 74 63 2e 29 20 |me, demo|, etc.) |
|00001600| 2d 20 51 54 4d 20 77 69 | 6c 6c 20 61 6c 6d 6f 73 |- QTM wi|ll almos|
|00001610| 74 20 63 65 72 74 61 69 | 6e 6c 79 20 63 72 61 73 |t certai|nly cras|
|00001620| 68 20 69 66 20 69 74 20 | 74 72 69 65 73 20 74 6f |h if it |tries to|
|00001630| 20 61 63 63 65 73 73 20 | 61 20 73 6f 6e 67 20 6c | access |a song l|
|00001640| 6f 61 64 65 64 20 69 6e | 74 6f 20 75 73 65 72 20 |oaded in|to user |
|00001650| 6d 65 6d 6f 72 79 20 77 | 68 65 6e 20 74 68 65 20 |memory w|hen the |
|00001660| 64 65 73 6b 74 6f 70 20 | 69 73 20 61 63 74 69 76 |desktop |is activ|
|00001670| 65 2e 2e 2e 44 41 54 41 | e2 00 00 00 51 54 4d 5f |e...DATA|....QTM_|
|00001680| 50 61 75 73 65 20 20 28 | 26 34 37 45 34 33 29 0a |Pause (|&47E43).|
|00001690| 56 20 66 6c 61 67 20 73 | 65 74 20 69 66 20 6e 6f |V flag s|et if no|
|000016a0| 20 73 6f 6e 67 20 69 73 | 20 6c 6f 61 64 65 64 0a | song is| loaded.|
|000016b0| 0a 54 68 69 73 20 68 61 | 73 20 74 68 65 20 73 61 |.This ha|s the sa|
|000016c0| 6d 65 20 65 66 66 65 63 | 74 20 61 73 20 53 57 49 |me effec|t as SWI|
|000016d0| 20 22 3c 51 54 4d 5f 53 | 74 6f 70 3d 3e 53 74 6f | "<QTM_S|top=>Sto|
|000016e0| 70 3e 22 2c 20 61 6c 74 | 68 6f 75 67 68 20 69 74 |p>", alt|hough it|
|000016f0| 20 64 6f 65 73 6e 27 74 | 20 72 65 73 65 74 20 74 | doesn't| reset t|
|00001700| 68 65 20 76 61 72 69 61 | 62 6c 65 73 2c 20 73 6f |he varia|bles, so|
|00001710| 20 77 68 65 6e 20 74 68 | 65 20 74 75 6e 65 20 69 | when th|e tune i|
|00001720| 73 20 72 65 2d 73 74 61 | 72 74 65 64 2c 20 69 74 |s re-sta|rted, it|
|00001730| 20 77 69 6c 6c 20 63 6f | 6e 74 69 6e 75 65 20 66 | will co|ntinue f|
|00001740| 72 6f 6d 20 74 68 65 20 | 73 61 6d 65 20 70 6f 73 |rom the |same pos|
|00001750| 69 74 69 6f 6e 2e 00 00 | 44 41 54 41 77 02 00 00 |ition...|DATAw...|
|00001760| 51 54 4d 5f 50 6c 61 79 | 53 61 6d 70 6c 65 20 20 |QTM_Play|Sample |
|00001770| 28 26 34 37 45 35 34 29 | 0a 45 6e 74 72 79 0a 20 |(&47E54)|.Entry. |
|00001780| 09 52 30 20 3d 20 63 68 | 61 6e 6e 65 6c 20 6e 75 |.R0 = ch|annel nu|
|00001790| 6d 62 65 72 20 28 31 2d | 34 29 0a 20 09 52 31 20 |mber (1-|4). .R1 |
|000017a0| 3d 20 6e 6f 74 65 20 6e | 75 6d 62 65 72 20 28 31 |= note n|umber (1|
|000017b0| 2d 33 36 29 20 28 31 3d | 27 43 2d 31 27 2c 20 32 |-36) (1=|'C-1', 2|
|000017c0| 3d 27 43 23 31 27 2e 2e | 2e 20 33 36 3d 27 42 23 |='C#1'..|. 36='B#|
|000017d0| 33 27 29 0a 20 09 52 32 | 20 3d 20 73 61 6d 70 6c |3'). .R2| = sampl|
|000017e0| 65 20 6e 75 6d 62 65 72 | 20 28 31 2d 33 31 29 0a |e number| (1-31).|
|000017f0| 45 78 69 74 0a 20 09 52 | 30 2d 52 32 20 70 72 65 |Exit. .R|0-R2 pre|
|00001800| 73 65 72 76 65 64 0a 0a | 41 6e 20 65 72 72 6f 72 |served..|An error|
|00001810| 20 69 73 20 67 65 6e 65 | 72 61 74 65 64 20 69 66 | is gene|rated if|
|00001820| 20 61 6e 79 20 6f 66 20 | 74 68 65 20 72 65 67 69 | any of |the regi|
|00001830| 73 74 65 72 73 20 63 6f | 6e 74 61 69 6e 20 69 6c |sters co|ntain il|
|00001840| 6c 65 67 61 6c 20 76 61 | 6c 75 65 73 2e 0a 0a 54 |legal va|lues...T|
|00001850| 68 69 73 20 53 57 49 20 | 61 6c 6c 6f 77 73 20 79 |his SWI |allows y|
|00001860| 6f 75 20 74 6f 20 70 6c | 61 79 20 61 6e 79 20 6f |ou to pl|ay any o|
|00001870| 66 20 74 68 65 20 33 31 | 20 28 6f 72 20 31 35 29 |f the 31| (or 15)|
|00001880| 20 73 61 6d 70 6c 65 73 | 20 69 6e 20 74 68 65 20 | samples| in the |
|00001890| 63 75 72 72 65 6e 74 6c | 79 20 6c 6f 61 64 65 64 |currentl|y loaded|
|000018a0| 20 73 6f 6e 67 20 6f 6e | 20 61 6e 79 20 6f 66 20 | song on| any of |
|000018b0| 74 68 65 20 34 20 61 76 | 61 69 6c 61 62 6c 65 20 |the 4 av|ailable |
|000018c0| 63 68 61 6e 6e 65 6c 73 | 2e 20 41 20 73 61 6d 70 |channels|. A samp|
|000018d0| 6c 65 20 63 61 6e 20 62 | 65 20 70 6c 61 79 65 64 |le can b|e played|
|000018e0| 20 61 74 20 61 6e 79 20 | 74 69 6d 65 20 77 68 69 | at any |time whi|
|000018f0| 6c 65 20 74 68 65 20 73 | 6f 6e 67 20 69 73 20 6c |le the s|ong is l|
|00001900| 6f 61 64 65 64 2c 20 61 | 6c 74 68 6f 75 67 68 20 |oaded, a|lthough |
|00001910| 69 66 20 74 68 65 20 73 | 6f 6e 67 20 69 73 20 63 |if the s|ong is c|
|00001920| 75 72 72 65 6e 74 6c 79 | 20 70 6c 61 79 69 6e 67 |urrently| playing|
|00001930| 2c 20 74 68 65 6e 20 74 | 68 65 20 73 61 6d 70 6c |, then t|he sampl|
|00001940| 65 20 6d 61 79 20 62 65 | 20 63 75 74 20 73 68 6f |e may be| cut sho|
|00001950| 72 74 2e 20 50 6c 61 79 | 69 6e 67 20 61 20 6e 6f |rt. Play|ing a no|
|00001960| 6e 2d 65 78 69 73 74 61 | 6e 74 20 73 61 6d 70 6c |n-exista|nt sampl|
|00001970| 65 2c 20 28 6f 72 20 61 | 20 73 61 6d 70 6c 65 20 |e, (or a| sample |
|00001980| 61 62 6f 76 65 20 31 35 | 2c 20 69 66 20 74 68 65 |above 15|, if the|
|00001990| 20 73 6f 6e 67 20 69 73 | 20 61 20 31 35 20 69 6e | song is| a 15 in|
|000019a0| 73 74 20 6d 6f 64 75 6c | 65 29 20 77 69 6c 6c 20 |st modul|e) will |
|000019b0| 72 65 73 75 6c 74 20 69 | 6e 20 6e 6f 74 68 69 6e |result i|n nothin|
|000019c0| 67 20 62 65 69 6e 67 20 | 70 6c 61 79 65 64 2e 00 |g being |played..|
|000019d0| 44 41 54 41 98 01 00 00 | 51 54 4d 5f 50 6f 73 20 |DATA....|QTM_Pos |
|000019e0| 28 26 34 37 45 34 36 29 | 0a 45 6e 74 72 79 0a 20 |(&47E46)|.Entry. |
|000019f0| 09 52 30 20 3d 20 6e 65 | 77 20 73 65 71 75 65 6e |.R0 = ne|w sequen|
|00001a00| 63 65 20 70 6f 73 69 74 | 69 6f 6e 20 28 30 2d 31 |ce posit|ion (0-1|
|00001a10| 32 37 29 20 6f 72 20 2d | 31 20 74 6f 20 72 65 61 |27) or -|1 to rea|
|00001a20| 64 20 63 75 72 72 65 6e | 74 20 70 6f 73 69 74 69 |d curren|t positi|
|00001a30| 6f 6e 0a 20 09 52 31 20 | 3d 20 6e 65 77 20 65 76 |on. .R1 |= new ev|
|00001a40| 65 6e 74 20 70 6f 73 69 | 74 69 6f 6e 20 28 30 2d |ent posi|tion (0-|
|00001a50| 36 33 29 20 6f 72 20 2d | 31 20 74 6f 20 72 65 61 |63) or -|1 to rea|
|00001a60| 64 0a 45 78 69 74 0a 20 | 09 52 30 20 3d 20 70 72 |d.Exit. |.R0 = pr|
|00001a70| 65 76 69 6f 75 73 20 73 | 65 71 75 65 6e 63 65 20 |evious s|equence |
|00001a80| 70 6f 73 69 74 69 6f 6e | 20 28 30 2d 31 32 37 29 |position| (0-127)|
|00001a90| 0a 20 09 52 31 20 3d 20 | 70 72 65 76 69 6f 75 73 |. .R1 = |previous|
|00001aa0| 20 65 76 65 6e 74 20 70 | 6f 73 69 74 69 6f 6e 20 | event p|osition |
|00001ab0| 28 30 2d 36 33 29 0a 0a | 56 20 66 6c 61 67 20 73 |(0-63)..|V flag s|
|00001ac0| 65 74 20 69 66 20 6e 6f | 20 73 6f 6e 67 20 69 73 |et if no| song is|
|00001ad0| 20 6c 6f 61 64 65 64 20 | 6f 72 20 74 68 65 20 65 | loaded |or the e|
|00001ae0| 76 65 6e 74 2f 70 6f 73 | 69 74 69 6f 6e 20 6e 75 |vent/pos|ition nu|
|00001af0| 6d 62 65 72 20 69 73 20 | 6f 75 74 20 6f 66 20 72 |mber is |out of r|
|00001b00| 61 6e 67 65 2e 0a 0a 54 | 68 69 73 20 53 57 49 20 |ange...T|his SWI |
|00001b10| 63 61 6e 20 62 65 20 75 | 73 65 64 20 74 6f 20 72 |can be u|sed to r|
|00001b20| 65 61 64 20 6f 72 20 61 | 6c 74 65 72 20 74 68 65 |ead or a|lter the|
|00001b30| 20 63 75 72 72 65 6e 74 | 20 73 65 71 75 65 6e 63 | current| sequenc|
|00001b40| 65 20 6f 72 20 65 76 65 | 6e 74 20 70 6f 73 69 74 |e or eve|nt posit|
|00001b50| 69 6f 6e 20 69 6e 20 74 | 68 65 20 63 75 72 72 65 |ion in t|he curre|
|00001b60| 6e 74 20 73 6f 6e 67 2e | 44 41 54 41 d1 04 00 00 |nt song.|DATA....|
|00001b70| 51 54 4d 5f 52 65 61 64 | 50 6c 61 79 69 6e 67 54 |QTM_Read|PlayingT|
|00001b80| 69 6d 65 20 20 28 26 34 | 37 45 35 36 29 0a 45 78 |ime (&4|7E56).Ex|
|00001b90| 69 74 0a 20 09 52 30 20 | 3d 20 74 6f 74 61 6c 20 |it. .R0 |= total |
|00001ba0| 70 6c 61 79 69 6e 67 20 | 74 69 6d 65 20 73 6f 20 |playing |time so |
|00001bb0| 66 61 72 20 28 73 65 63 | 6f 6e 64 73 29 0a 20 09 |far (sec|onds). .|
|00001bc0| 52 31 20 3d 20 74 69 6d | 65 20 73 69 6e 63 65 20 |R1 = tim|e since |
|00001bd0| 6c 61 73 74 20 53 57 49 | 20 3c 51 54 4d 5f 53 74 |last SWI| <QTM_St|
|00001be0| 61 72 74 3d 3e 53 74 61 | 72 74 3e 20 28 73 65 63 |art=>Sta|rt> (sec|
|00001bf0| 6f 6e 64 73 29 0a 20 09 | 52 32 20 3d 20 74 6f 74 |onds). .|R2 = tot|
|00001c00| 61 6c 20 70 6c 61 79 69 | 6e 67 20 74 69 6d 65 20 |al playi|ng time |
|00001c10| 6f 66 20 74 68 65 20 77 | 68 6f 6c 65 20 73 6f 6e |of the w|hole son|
|00001c20| 67 20 28 73 65 63 6f 6e | 64 73 29 0a 0a 56 20 66 |g (secon|ds)..V f|
|00001c30| 6c 61 67 20 73 65 74 20 | 69 66 20 6e 6f 20 73 6f |lag set |if no so|
|00001c40| 6e 67 20 69 73 20 6c 6f | 61 64 65 64 0a 0a 54 68 |ng is lo|aded..Th|
|00001c50| 69 73 20 53 57 49 20 61 | 6c 6c 6f 77 73 20 79 6f |is SWI a|llows yo|
|00001c60| 75 20 74 6f 20 72 65 61 | 64 20 74 68 65 20 32 20 |u to rea|d the 2 |
|00001c70| 51 54 4d 20 73 6f 6e 67 | 20 74 69 6d 65 72 73 2c |QTM song| timers,|
|00001c80| 20 61 6e 64 20 74 68 65 | 20 74 6f 74 61 6c 20 74 | and the| total t|
|00001c90| 69 6d 65 20 6f 66 20 61 | 20 73 6f 6e 67 2e 20 54 |ime of a| song. T|
|00001ca0| 68 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 52 |he conte|nts of R|
|00001cb0| 30 20 61 6e 64 20 52 31 | 20 6f 6e 20 65 78 69 74 |0 and R1| on exit|
|00001cc0| 20 61 72 65 20 63 61 6c | 63 75 6c 61 74 65 64 20 | are cal|culated |
|00001cd0| 66 72 6f 6d 20 74 68 65 | 20 69 6e 74 65 72 6e 61 |from the| interna|
|00001ce0| 6c 20 31 30 30 48 7a 20 | 74 69 6d 65 72 20 2d 20 |l 100Hz |timer - |
|00001cf0| 62 75 74 20 74 68 65 20 | 63 6f 6e 74 65 6e 74 73 |but the |contents|
|00001d00| 20 6f 66 20 52 32 20 72 | 65 6c 79 20 6f 6e 20 61 | of R2 r|ely on a|
|00001d10| 20 73 70 65 63 69 61 6c | 20 31 30 30 25 20 61 63 | special| 100% ac|
|00001d20| 63 75 72 61 74 65 2c 20 | 73 6f 6e 67 20 6c 65 6e |curate, |song len|
|00001d30| 67 74 68 20 63 61 6c 63 | 75 6c 61 74 69 6f 6e 20 |gth calc|ulation |
|00001d40| 72 6f 75 74 69 6e 65 2e | 2e 2e 0a 0a 20 20 54 68 |routine.|.... Th|
|00001d50| 65 20 51 54 4d 2d 55 6c | 74 72 61 2d 6d 65 67 61 |e QTM-Ul|tra-mega|
|00001d60| 2d 74 69 6d 65 2d 77 6f | 72 6b 65 72 2d 6f 75 74 |-time-wo|rker-out|
|00001d70| 65 72 20 69 73 20 74 68 | 65 20 66 69 72 73 74 20 |er is th|e first |
|00001d80| 73 6f 6e 67 20 74 69 6d | 65 20 63 61 6c 63 75 6c |song tim|e calcul|
|00001d90| 61 74 69 6f 6e 20 72 6f | 75 74 69 6e 65 20 6f 6e |ation ro|utine on|
|00001da0| 20 74 68 65 20 41 72 63 | 2c 20 61 6e 64 20 74 68 | the Arc|, and th|
|00001db0| 65 20 6f 6e 6c 79 20 72 | 6f 75 74 69 6e 65 20 6f |e only r|outine o|
|00001dc0| 6e 20 61 6e 79 20 63 6f | 6d 70 75 74 65 72 20 77 |n any co|mputer w|
|00001dd0| 68 69 63 68 20 63 61 6e | 20 61 63 63 75 72 61 74 |hich can| accurat|
|00001de0| 65 6c 79 20 77 6f 72 6b | 20 6f 75 74 20 74 69 6d |ely work| out tim|
|00001df0| 65 73 20 63 6f 72 72 65 | 63 74 6c 79 20 77 69 74 |es corre|ctly wit|
|00001e00| 68 20 65 66 66 65 63 74 | 73 20 73 75 63 68 20 61 |h effect|s such a|
|00001e10| 73 20 27 43 49 41 27 20 | 74 65 6d 70 6f 73 2c 20 |s 'CIA' |tempos, |
|00001e20| 70 61 74 74 65 72 6e 20 | 6c 6f 6f 70 73 20 61 6e |pattern |loops an|
|00001e30| 64 20 70 61 74 74 65 72 | 6e 20 64 65 6c 61 79 73 |d patter|n delays|
|00001e40| 2e 20 54 68 65 20 72 6f | 75 74 69 6e 65 20 77 6f |. The ro|utine wo|
|00001e50| 72 6b 73 20 62 79 20 73 | 63 61 6e 6e 69 6e 67 20 |rks by s|canning |
|00001e60| 74 68 72 6f 75 67 68 20 | 61 6c 6c 20 74 68 65 20 |through |all the |
|00001e70| 73 6f 6e 67 27 73 20 70 | 61 74 74 65 72 6e 73 2c |song's p|atterns,|
|00001e80| 20 69 6e 20 74 68 65 20 | 63 6f 72 72 65 63 74 20 | in the |correct |
|00001e90| 6f 72 64 65 72 20 2d 20 | 63 61 6c 63 75 6c 61 74 |order - |calculat|
|00001ea0| 69 6e 67 20 74 68 65 20 | 74 69 6d 65 20 6f 66 20 |ing the |time of |
|00001eb0| 65 61 63 68 20 65 76 65 | 6e 74 20 61 73 20 69 74 |each eve|nt as it|
|00001ec0| 20 67 6f 65 73 2c 20 61 | 6e 64 20 74 61 6b 69 6e | goes, a|nd takin|
|00001ed0| 67 20 69 6e 74 6f 20 61 | 63 63 6f 75 6e 74 20 61 |g into a|ccount a|
|00001ee0| 6e 64 20 73 70 65 65 64 | 2f 74 65 6d 70 6f 2f 6c |nd speed|/tempo/l|
|00001ef0| 6f 6f 70 20 6f 72 20 64 | 65 6c 61 79 20 73 65 74 |oop or d|elay set|
|00001f00| 74 69 6e 67 73 20 74 68 | 61 74 20 6d 61 79 20 62 |tings th|at may b|
|00001f10| 65 20 69 6e 20 75 73 65 | 2e 0a 0a 20 20 57 68 65 |e in use|... Whe|
|00001f20| 6e 20 74 68 69 73 20 53 | 57 49 20 69 73 20 63 61 |n this S|WI is ca|
|00001f30| 6c 6c 65 64 20 66 6f 72 | 20 74 68 65 20 66 69 72 |lled for| the fir|
|00001f40| 73 74 20 74 69 6d 65 20 | 61 66 74 65 72 20 6c 6f |st time |after lo|
|00001f50| 61 64 69 6e 67 20 61 20 | 73 6f 6e 67 2c 20 74 68 |ading a |song, th|
|00001f60| 65 20 74 6f 74 61 6c 20 | 6c 65 6e 67 74 68 20 77 |e total |length w|
|00001f70| 69 6c 6c 20 62 65 20 77 | 6f 72 6b 65 64 20 6f 75 |ill be w|orked ou|
|00001f80| 74 20 75 73 69 6e 67 20 | 74 68 65 20 73 70 65 63 |t using |the spec|
|00001f90| 69 61 6c 20 72 6f 75 74 | 69 6e 65 2e 20 4f 6e 20 |ial rout|ine. On |
|00001fa0| 6c 61 74 65 72 20 63 61 | 6c 6c 73 20 74 6f 20 74 |later ca|lls to t|
|00001fb0| 68 69 73 20 53 57 49 20 | 28 77 68 69 6c 65 20 74 |his SWI |(while t|
|00001fc0| 68 65 20 73 61 6d 65 20 | 73 6f 6e 67 20 69 73 20 |he same |song is |
|00001fd0| 6c 6f 61 64 65 64 29 2c | 20 74 68 65 20 74 6f 74 |loaded),| the tot|
|00001fe0| 61 6c 20 6c 65 6e 67 74 | 68 20 77 69 6c 6c 20 6e |al lengt|h will n|
|00001ff0| 6f 74 20 62 65 20 72 65 | 2d 63 61 6c 63 75 6c 61 |ot be re|-calcula|
|00002000| 74 65 64 2c 20 62 75 74 | 20 74 68 65 20 6f 72 69 |ted, but| the ori|
|00002010| 67 6e 61 6c 20 63 61 6c | 63 75 6c 61 74 69 6f 6e |gnal cal|culation|
|00002020| 20 77 69 6c 6c 20 75 73 | 65 64 2c 20 74 6f 20 73 | will us|ed, to s|
|00002030| 61 76 65 20 74 69 6d 65 | 2e 00 00 00 44 41 54 41 |ave time|....DATA|
|00002040| 1b 03 00 00 51 54 4d 5f | 52 65 61 64 53 61 6d 70 |....QTM_|ReadSamp|
|00002050| 6c 65 54 61 62 6c 65 20 | 20 28 26 34 37 45 35 32 |leTable | (&47E52|
|00002060| 29 0a 45 6e 74 72 79 0a | 20 09 52 30 20 3d 20 73 |).Entry.| .R0 = s|
|00002070| 61 6d 70 6c 65 20 6e 75 | 6d 62 65 72 20 28 31 2d |ample nu|mber (1-|
|00002080| 33 31 29 0a 45 78 69 74 | 0a 20 09 52 30 20 3d 20 |31).Exit|. .R0 = |
|00002090| 70 6f 69 6e 74 65 72 20 | 74 6f 20 32 32 20 62 79 |pointer |to 22 by|
|000020a0| 74 65 20 62 6c 6f 63 6b | 20 28 6e 6f 74 20 74 65 |te block| (not te|
|000020b0| 72 6d 69 6e 61 74 65 64 | 29 20 63 6f 6e 74 61 69 |rminated|) contai|
|000020c0| 6e 69 6e 67 20 73 61 6d | 70 6c 65 20 6e 61 6d 65 |ning sam|ple name|
|000020d0| 0a 20 09 52 31 20 3d 20 | 73 61 6d 70 6c 65 20 6c |. .R1 = |sample l|
|000020e0| 65 6e 67 74 68 20 28 69 | 6e 20 62 79 74 65 73 29 |ength (i|n bytes)|
|000020f0| 0a 20 09 52 32 20 3d 20 | 72 65 70 65 61 74 20 6f |. .R2 = |repeat o|
|00002100| 66 66 73 65 74 20 28 62 | 79 74 65 73 20 66 72 6f |ffset (b|ytes fro|
|00002110| 6d 20 73 74 61 72 74 20 | 6f 66 20 73 61 6d 70 6c |m start |of sampl|
|00002120| 65 29 0a 20 09 52 33 20 | 3d 20 72 65 70 65 61 74 |e). .R3 |= repeat|
|00002130| 20 6c 65 6e 67 74 68 20 | 28 69 6e 20 62 79 74 65 | length |(in byte|
|00002140| 73 29 0a 20 09 52 34 20 | 3d 20 64 65 66 61 75 6c |s). .R4 |= defaul|
|00002150| 74 20 76 6f 6c 75 6d 65 | 20 28 30 2d 36 34 29 0a |t volume| (0-64).|
|00002160| 20 09 52 35 20 3d 20 66 | 69 6e 65 20 74 75 6e 69 | .R5 = f|ine tuni|
|00002170| 6e 67 20 62 79 74 65 20 | 28 73 69 67 6e 65 64 20 |ng byte |(signed |
|00002180| 34 20 62 69 74 20 6e 75 | 6d 62 65 72 20 65 67 2e |4 bit nu|mber eg.|
|00002190| 20 38 20 3d 20 2d 38 2c | 20 31 35 20 3d 20 2d 31 | 8 = -8,| 15 = -1|
|000021a0| 29 0a 20 09 52 36 20 3d | 20 61 64 64 72 65 73 73 |). .R6 =| address|
|000021b0| 20 6f 66 20 72 61 77 20 | 73 61 6d 70 6c 65 20 64 | of raw |sample d|
|000021c0| 61 74 61 20 28 6c 6f 67 | 61 72 69 74 68 6d 69 63 |ata (log|arithmic|
|000021d0| 20 66 6f 72 6d 61 74 29 | 0a 0a 56 20 66 6c 61 67 | format)|..V flag|
|000021e0| 20 73 65 74 20 69 66 20 | 6e 6f 20 73 6f 6e 67 20 | set if |no song |
|000021f0| 69 73 20 6c 6f 61 64 65 | 64 20 6f 72 20 69 66 20 |is loade|d or if |
|00002200| 73 61 6d 70 6c 65 20 6e | 75 6d 62 65 72 20 69 73 |sample n|umber is|
|00002210| 20 6f 75 74 20 6f 66 20 | 74 68 65 20 72 61 6e 67 | out of |the rang|
|00002220| 65 20 31 2d 33 31 0a 0a | 54 68 69 73 20 53 57 49 |e 1-31..|This SWI|
|00002230| 20 61 6c 6c 6f 77 73 20 | 79 6f 75 20 74 6f 20 72 | allows |you to r|
|00002240| 65 61 64 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ead info|rmation |
|00002250| 6f 6e 20 61 6e 79 20 6f | 66 20 74 68 65 20 33 31 |on any o|f the 31|
|00002260| 20 73 61 6d 70 6c 65 73 | 20 77 68 69 63 68 20 61 | samples| which a|
|00002270| 72 65 20 75 73 75 61 6c | 6c 79 20 61 76 61 69 6c |re usual|ly avail|
|00002280| 61 62 6c 65 20 69 6e 20 | 53 6f 75 6e 64 20 54 72 |able in |Sound Tr|
|00002290| 61 63 6b 65 72 20 73 6f | 6e 67 20 6d 6f 64 75 6c |acker so|ng modul|
|000022a0| 65 73 2e 20 49 66 20 61 | 6e 20 61 74 74 65 6d 70 |es. If a|n attemp|
|000022b0| 74 20 69 73 20 6d 61 64 | 65 20 74 6f 20 72 65 61 |t is mad|e to rea|
|000022c0| 64 20 74 68 65 20 73 61 | 6d 70 6c 65 20 64 61 74 |d the sa|mple dat|
|000022d0| 61 20 6f 66 20 61 20 73 | 61 6d 70 6c 65 20 6e 75 |a of a s|ample nu|
|000022e0| 6d 62 65 72 20 6f 76 65 | 72 20 31 35 20 77 68 65 |mber ove|r 15 whe|
|000022f0| 6e 20 61 6e 20 6f 6c 64 | 65 72 20 31 35 20 69 6e |n an old|er 15 in|
|00002300| 73 74 20 73 6f 6e 67 20 | 6d 6f 64 75 6c 65 20 69 |st song |module i|
|00002310| 73 20 6c 6f 61 64 65 64 | 2c 20 51 54 4d 20 77 69 |s loaded|, QTM wi|
|00002320| 6c 6c 20 72 65 74 75 72 | 6e 20 7a 65 72 6f 20 69 |ll retur|n zero i|
|00002330| 6e 20 52 31 2d 52 36 2c | 20 61 6e 64 20 52 30 20 |n R1-R6,| and R0 |
|00002340| 77 69 6c 6c 20 70 6f 69 | 6e 74 20 74 6f 20 61 20 |will poi|nt to a |
|00002350| 30 20 62 79 74 65 2e 00 | 44 41 54 41 19 01 00 00 |0 byte..|DATA....|
|00002360| 51 54 4d 5f 52 65 61 64 | 53 65 71 75 65 6e 63 65 |QTM_Read|Sequence|
|00002370| 54 61 62 6c 65 20 20 28 | 26 34 37 45 34 46 29 0a |Table (|&47E4F).|
|00002380| 45 6e 74 72 79 0a 20 09 | 52 30 20 3d 20 73 65 71 |Entry. .|R0 = seq|
|00002390| 75 65 6e 63 65 20 6e 75 | 6d 62 65 72 20 74 6f 20 |uence nu|mber to |
|000023a0| 72 65 61 64 20 28 30 2d | 31 32 37 29 0a 45 78 69 |read (0-|127).Exi|
|000023b0| 74 0a 20 09 52 30 20 3d | 20 70 61 74 74 65 72 6e |t. .R0 =| pattern|
|000023c0| 20 6e 75 6d 62 65 72 20 | 73 74 6f 72 65 64 20 61 | number |stored a|
|000023d0| 74 20 74 68 61 74 20 70 | 6f 73 69 74 69 6f 6e 0a |t that p|osition.|
|000023e0| 0a 56 20 66 6c 61 67 20 | 73 65 74 20 69 66 20 6e |.V flag |set if n|
|000023f0| 6f 20 73 6f 6e 67 20 69 | 73 20 6c 6f 61 64 65 64 |o song i|s loaded|
|00002400| 0a 0a 54 68 69 73 20 53 | 57 49 20 65 6e 61 62 6c |..This S|WI enabl|
|00002410| 65 73 20 79 6f 75 20 74 | 6f 20 72 65 61 64 20 74 |es you t|o read t|
|00002420| 68 65 20 70 61 74 74 65 | 72 6e 20 74 6f 20 62 65 |he patte|rn to be|
|00002430| 20 70 6c 61 79 65 64 20 | 61 74 20 61 20 67 69 76 | played |at a giv|
|00002440| 65 6e 20 70 6f 73 69 74 | 69 6f 6e 20 69 6e 20 74 |en posit|ion in t|
|00002450| 68 65 20 63 75 72 72 65 | 6e 74 20 73 6f 6e 67 27 |he curre|nt song'|
|00002460| 73 20 73 65 71 75 65 6e | 63 65 20 74 61 62 6c 65 |s sequen|ce table|
|00002470| 2e 00 00 00 44 41 54 41 | e9 02 00 00 51 54 4d 5f |....DATA|....QTM_|
|00002480| 52 65 61 64 53 70 65 65 | 64 20 28 26 34 37 45 35 |ReadSpee|d (&47E5|
|00002490| 33 29 0a 45 78 69 74 0a | 20 09 52 30 20 3d 20 63 |3).Exit.| .R0 = c|
|000024a0| 75 72 72 65 6e 74 20 73 | 6f 6e 67 20 73 70 65 65 |urrent s|ong spee|
|000024b0| 64 20 28 31 2d 33 31 29 | 20 28 6f 72 20 30 20 69 |d (1-31)| (or 0 i|
|000024c0| 66 20 73 6f 6e 67 20 69 | 73 20 6e 6f 74 20 70 6c |f song i|s not pl|
|000024d0| 61 79 69 6e 67 29 0a 20 | 09 52 31 20 3d 20 63 75 |aying). |.R1 = cu|
|000024e0| 72 72 65 6e 74 20 73 6f | 6e 67 20 43 49 41 20 74 |rrent so|ng CIA t|
|000024f0| 65 6d 70 6f 20 73 65 74 | 74 69 6e 67 20 28 33 32 |empo set|ting (32|
|00002500| 2d 32 35 35 29 0a 20 09 | 52 32 20 3d 20 73 70 65 |-255). .|R2 = spe|
|00002510| 65 64 20 63 6f 75 6e 74 | 65 72 20 76 61 6c 75 65 |ed count|er value|
|00002520| 20 28 31 2d 5c 3c 73 70 | 65 65 64 2d 31 5c 3e 29 | (1-\<sp|eed-1\>)|
|00002530| 0a 0a 54 68 69 73 20 53 | 57 49 20 72 65 74 75 72 |..This S|WI retur|
|00002540| 6e 73 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |ns infor|mation o|
|00002550| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 73 70 |n the cu|rrent sp|
|00002560| 65 65 64 20 61 6e 64 20 | 63 6f 75 6e 74 65 72 20 |eed and |counter |
|00002570| 73 65 74 74 69 6e 67 73 | 20 6f 66 20 74 68 65 20 |settings| of the |
|00002580| 63 75 72 72 65 6e 74 20 | 73 6f 6e 67 2e 20 54 68 |current |song. Th|
|00002590| 65 20 73 70 65 65 64 20 | 76 61 75 6c 65 20 28 52 |e speed |vaule (R|
|000025a0| 30 29 20 69 73 20 74 68 | 65 20 6e 75 6d 62 65 72 |0) is th|e number|
|000025b0| 20 6f 66 20 74 69 6d 65 | 73 20 74 68 65 20 73 6f | of time|s the so|
|000025c0| 6e 67 20 63 6f 6e 74 72 | 6f 6c 6c 65 72 20 68 61 |ng contr|oller ha|
|000025d0| 73 20 74 6f 20 62 65 20 | 63 61 6c 6c 65 64 2c 20 |s to be |called, |
|000025e0| 62 65 66 6f 72 65 20 69 | 74 20 70 6c 61 79 73 20 |before i|t plays |
|000025f0| 74 68 65 6e 20 6e 65 78 | 74 20 6e 6f 74 65 20 2d |then nex|t note -|
|00002600| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 69 73 20 | the def|ault is |
|00002610| 36 20 74 69 6d 65 73 2e | 0a 0a 54 68 65 20 43 49 |6 times.|..The CI|
|00002620| 41 20 74 65 6d 70 6f 20 | 73 65 74 74 69 6e 67 20 |A tempo |setting |
|00002630| 63 6f 6e 74 72 6f 6c 73 | 20 68 6f 77 20 66 61 73 |controls| how fas|
|00002640| 74 20 74 68 65 20 73 6f | 6e 67 20 63 6f 6e 74 72 |t the so|ng contr|
|00002650| 6f 6c 6c 65 72 20 69 73 | 20 63 61 6c 6c 65 64 2c |oller is| called,|
|00002660| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 69 73 20 | the def|ault is |
|00002670| 35 30 20 74 69 6d 65 73 | 20 61 20 73 65 63 6f 6e |50 times| a secon|
|00002680| 64 20 3d 20 74 65 6d 70 | 6f 20 31 32 35 2e 0a 0a |d = temp|o 125...|
|00002690| 54 68 65 20 73 70 65 65 | 64 20 63 6f 75 6e 74 65 |The spee|d counte|
|000026a0| 72 20 28 52 32 29 20 76 | 61 72 69 65 73 20 66 72 |r (R2) v|aries fr|
|000026b0| 6f 6d 20 31 20 74 6f 20 | 28 73 70 65 65 64 2d 31 |om 1 to |(speed-1|
|000026c0| 29 2c 20 69 74 20 69 73 | 20 64 65 63 72 65 6d 65 |), it is| decreme|
|000026d0| 6e 74 65 64 20 6f 6e 63 | 65 20 65 76 65 72 79 20 |nted onc|e every |
|000026e0| 74 69 6d 65 20 74 68 65 | 20 73 6f 6e 67 20 63 6f |time the| song co|
|000026f0| 6e 74 72 6f 6c 6c 65 72 | 20 69 73 20 63 61 6c 6c |ntroller| is call|
|00002700| 65 64 2c 20 75 6e 74 69 | 6c 20 69 74 20 72 65 61 |ed, unti|l it rea|
|00002710| 63 68 65 73 20 30 2c 20 | 77 68 65 6e 20 74 68 65 |ches 0, |when the|
|00002720| 20 6e 65 78 74 20 6e 6f | 74 65 20 69 73 20 70 6c | next no|te is pl|
|00002730| 61 79 65 64 20 61 6e 64 | 20 74 68 65 20 63 6f 75 |ayed and| the cou|
|00002740| 6e 74 65 72 20 69 73 20 | 72 65 73 65 74 20 74 6f |nter is |reset to|
|00002750| 20 74 68 65 20 73 70 65 | 65 64 2d 31 2e 00 00 00 | the spe|ed-1....|
|00002760| 44 41 54 41 f1 01 00 00 | 51 54 4d 5f 52 65 61 64 |DATA....|QTM_Read|
|00002770| 56 55 4c 65 76 65 6c 73 | 20 20 28 26 34 37 45 35 |VULevels| (&47E5|
|00002780| 31 29 0a 45 6e 74 72 79 | 0a 20 09 52 30 20 3d 20 |1).Entry|. .R0 = |
|00002790| 43 68 61 6e 6e 65 6c 20 | 6e 75 6d 62 65 72 20 28 |Channel |number (|
|000027a0| 31 2d 34 29 20 6f 72 20 | 30 20 66 6f 72 20 61 6c |1-4) or |0 for al|
|000027b0| 6c 20 63 68 61 6e 6e 65 | 6c 73 0a 45 78 69 74 0a |l channe|ls.Exit.|
|000027c0| 20 09 49 66 20 52 30 20 | 3d 20 31 2d 34 20 6f 6e | .If R0 |= 1-4 on|
|000027d0| 20 65 6e 74 72 79 2c 20 | 74 68 65 6e 20 52 30 20 | entry, |then R0 |
|000027e0| 3d 20 56 55 20 62 61 72 | 20 68 65 69 67 68 74 20 |= VU bar| height |
|000027f0| 66 6f 72 20 74 68 65 20 | 63 68 61 6e 6e 65 6c 20 |for the |channel |
|00002800| 73 70 65 63 69 66 69 65 | 64 20 69 6e 20 72 30 20 |specifie|d in r0 |
|00002810| 28 30 2d 36 34 29 0a 20 | 09 49 66 20 52 30 20 3d |(0-64). |.If R0 =|
|00002820| 20 30 20 6f 6e 20 65 6e | 74 72 79 2c 20 74 68 65 | 0 on en|try, the|
|00002830| 6e 20 52 30 20 3d 20 77 | 6f 72 64 20 63 6f 6e 74 |n R0 = w|ord cont|
|00002840| 61 69 6e 69 6e 67 20 31 | 20 62 79 74 65 20 70 65 |aining 1| byte pe|
|00002850| 72 20 63 68 61 6e 6e 65 | 6c 20 6f 66 20 61 6c 6c |r channe|l of all|
|00002860| 20 74 68 65 20 34 20 63 | 68 61 6e 6e 65 6c 27 73 | the 4 c|hannel's|
|00002870| 20 56 55 20 62 61 72 20 | 68 65 69 67 68 74 73 20 | VU bar |heights |
|00002880| 28 30 2d 36 34 2c 20 65 | 61 63 68 20 62 79 74 65 |(0-64, e|ach byte|
|00002890| 29 0a 0a 54 68 69 73 20 | 53 57 49 20 6c 65 74 73 |)..This |SWI lets|
|000028a0| 20 79 6f 75 20 72 65 61 | 64 20 74 68 65 20 63 75 | you rea|d the cu|
|000028b0| 72 72 65 6e 74 20 56 55 | 20 6c 65 76 65 6c 73 20 |rrent VU| levels |
|000028c0| 6f 66 20 74 68 65 20 51 | 54 4d 20 56 55 20 62 61 |of the Q|TM VU ba|
|000028d0| 72 20 68 61 6e 64 6c 65 | 72 2e 20 54 68 69 73 20 |r handle|r. This |
|000028e0| 63 61 6c 6c 20 73 68 6f | 75 6c 64 20 6f 6e 6c 79 |call sho|uld only|
|000028f0| 20 62 65 20 75 73 65 64 | 20 69 66 20 74 68 65 20 | be used| if the |
|00002900| 56 55 20 62 61 72 20 68 | 61 6e 64 6c 65 72 20 68 |VU bar h|andler h|
|00002910| 61 73 20 62 65 65 6e 20 | 65 6e 61 62 6c 65 64 20 |as been |enabled |
|00002920| 75 73 69 6e 67 20 74 68 | 65 20 22 3c 51 54 4d 5f |using th|e "<QTM_|
|00002930| 56 55 42 61 72 43 6f 6e | 74 72 6f 6c 3d 3e 56 55 |VUBarCon|trol=>VU|
|00002940| 42 61 72 43 6f 6e 74 72 | 6f 6c 3e 22 20 53 57 49 |BarContr|ol>" SWI|
|00002950| 2e 00 00 00 44 41 54 41 | a4 01 00 00 51 54 4d 5f |....DATA|....QTM_|
|00002960| 52 65 6d 6f 76 65 43 68 | 61 6e 6e 65 6c 20 20 28 |RemoveCh|annel (|
|00002970| 26 34 37 45 34 42 29 0a | 45 6e 74 72 79 0a 20 09 |&47E4B).|Entry. .|
|00002980| 52 30 20 3d 20 63 68 61 | 6e 6e 65 6c 20 6e 75 6d |R0 = cha|nnel num|
|00002990| 62 65 72 20 74 6f 20 72 | 65 6d 6f 76 65 20 28 31 |ber to r|emove (1|
|000029a0| 2d 38 29 0a 45 78 69 74 | 0a 20 09 52 30 20 3d 20 |-8).Exit|. .R0 = |
|000029b0| 70 72 65 76 69 6f 75 73 | 20 73 74 61 74 65 20 6f |previous| state o|
|000029c0| 66 20 74 68 61 74 20 63 | 68 61 6e 6e 65 6c 20 3a |f that c|hannel :|
|000029d0| 0a 20 09 20 09 30 20 3d | 20 61 6c 72 65 61 64 79 |. . .0 =| already|
|000029e0| 20 72 65 6d 6f 76 65 64 | 0a 20 09 20 09 31 20 3d | removed|. . .1 =|
|000029f0| 20 51 54 4d 20 63 68 61 | 6e 6e 65 6c 0a 0a 56 20 | QTM cha|nnel..V |
|00002a00| 66 6c 61 67 20 73 65 74 | 20 69 66 20 63 68 61 6e |flag set| if chan|
|00002a10| 6e 65 6c 20 6e 75 6d 62 | 65 72 20 69 73 20 6f 75 |nel numb|er is ou|
|00002a20| 74 20 6f 66 20 72 61 6e | 67 65 0a 0a 54 68 69 73 |t of ran|ge..This|
|00002a30| 20 53 57 49 20 77 69 6c | 6c 20 72 65 6d 6f 76 65 | SWI wil|l remove|
|00002a40| 20 74 68 65 20 67 69 76 | 65 6e 20 63 68 61 6e 6e | the giv|en chann|
|00002a50| 65 6c 20 66 72 6f 6d 20 | 74 68 65 20 51 54 4d 20 |el from |the QTM |
|00002a60| 73 6f 6e 67 20 72 6f 75 | 74 69 6e 65 2e 20 54 68 |song rou|tine. Th|
|00002a70| 69 73 20 77 6f 75 6c 64 | 20 74 68 65 6e 20 61 6c |is would| then al|
|00002a80| 6c 6f 77 20 79 6f 75 20 | 74 6f 20 70 6c 61 79 20 |low you |to play |
|00002a90| 73 61 6d 70 6c 65 73 20 | 74 68 72 6f 75 67 68 20 |samples |through |
|00002aa0| 74 68 69 73 20 63 68 61 | 6e 6e 65 6c 20 28 65 67 |this cha|nnel (eg|
|00002ab0| 2e 20 66 6f 72 20 67 61 | 6d 65 73 20 65 74 63 2e |. for ga|mes etc.|
|00002ac0| 29 20 77 69 74 68 6f 75 | 74 20 74 68 65 6d 20 62 |) withou|t them b|
|00002ad0| 65 69 6e 67 20 69 6e 74 | 65 72 72 75 70 74 65 64 |eing int|errupted|
|00002ae0| 20 69 66 20 74 68 65 20 | 73 6f 6e 67 20 69 73 20 | if the |song is |
|00002af0| 70 6c 61 79 69 6e 67 2e | 44 41 54 41 78 01 00 00 |playing.|DATAx...|
|00002b00| 51 54 4d 5f 52 65 73 74 | 6f 72 65 43 68 61 6e 6e |QTM_Rest|oreChann|
|00002b10| 65 6c 20 20 28 26 34 37 | 45 34 43 29 0a 45 6e 74 |el (&47|E4C).Ent|
|00002b20| 72 79 0a 20 09 52 30 20 | 3d 20 63 68 61 6e 6e 65 |ry. .R0 |= channe|
|00002b30| 6c 20 6e 75 6d 62 65 72 | 20 74 6f 20 72 65 73 74 |l number| to rest|
|00002b40| 6f 72 65 20 28 31 2d 38 | 29 0a 45 78 69 74 0a 20 |ore (1-8|).Exit. |
|00002b50| 09 52 30 20 3d 20 70 72 | 65 76 69 6f 75 73 20 73 |.R0 = pr|evious s|
|00002b60| 74 61 74 65 20 6f 66 20 | 74 68 61 74 20 63 68 61 |tate of |that cha|
|00002b70| 6e 6e 65 6c 0a 20 09 20 | 09 30 20 3d 20 70 72 65 |nnel. . |.0 = pre|
|00002b80| 76 69 6f 75 73 6c 79 20 | 72 65 6d 6f 76 65 64 0a |viously |removed.|
|00002b90| 20 09 20 09 31 20 3d 20 | 61 6c 72 65 61 64 79 20 | . .1 = |already |
|00002ba0| 61 20 51 54 4d 20 63 68 | 61 6e 6e 65 6c 0a 0a 56 |a QTM ch|annel..V|
|00002bb0| 20 66 6c 61 67 20 73 65 | 74 20 69 66 20 63 68 61 | flag se|t if cha|
|00002bc0| 6e 6e 65 6c 20 6e 75 6d | 62 65 72 20 69 73 20 6f |nnel num|ber is o|
|00002bd0| 75 74 20 6f 66 20 72 61 | 6e 67 65 0a 0a 54 68 69 |ut of ra|nge..Thi|
|00002be0| 73 20 53 57 49 20 77 69 | 6c 6c 20 72 65 73 74 6f |s SWI wi|ll resto|
|00002bf0| 72 65 20 74 68 65 20 67 | 69 76 65 6e 20 63 68 61 |re the g|iven cha|
|00002c00| 6e 6e 65 6c 20 66 6f 72 | 20 75 73 65 20 62 79 20 |nnel for| use by |
|00002c10| 74 68 65 20 51 54 4d 20 | 70 6c 61 79 65 72 20 69 |the QTM |player i|
|00002c20| 66 20 69 74 20 68 61 73 | 20 70 72 65 76 69 6f 75 |f it has| previou|
|00002c30| 73 6c 79 20 62 65 65 6e | 20 72 65 6d 6f 76 65 64 |sly been| removed|
|00002c40| 20 75 73 69 6e 67 20 53 | 57 49 20 22 3c 51 54 4d | using S|WI "<QTM|
|00002c50| 5f 52 65 6d 6f 76 65 43 | 68 61 6e 6e 65 6c 3d 3e |_RemoveC|hannel=>|
|00002c60| 52 65 6d 6f 76 65 43 68 | 61 6e 6e 65 6c 3e 22 2e |RemoveCh|annel>".|
|00002c70| 44 41 54 41 c0 01 00 00 | 51 54 4d 5f 53 65 74 53 |DATA....|QTM_SetS|
|00002c80| 61 6d 70 6c 65 53 70 65 | 65 64 20 20 28 26 34 37 |ampleSpe|ed (&47|
|00002c90| 45 34 39 29 0a 45 6e 74 | 72 79 0a 20 09 52 30 20 |E49).Ent|ry. .R0 |
|00002ca0| 3d 20 6e 65 77 20 73 61 | 6d 70 6c 65 20 73 70 65 |= new sa|mple spe|
|00002cb0| 65 64 20 28 31 36 2d 31 | 30 30 75 53 29 20 6f 72 |ed (16-1|00uS) or|
|00002cc0| 20 2d 31 20 74 6f 20 72 | 65 61 64 20 63 75 72 72 | -1 to r|ead curr|
|00002cd0| 65 6e 74 20 73 70 65 65 | 64 0a 45 78 69 74 0a 20 |ent spee|d.Exit. |
|00002ce0| 09 52 30 20 3d 20 70 72 | 65 76 69 6f 75 73 20 73 |.R0 = pr|evious s|
|00002cf0| 61 6d 70 6c 65 20 73 70 | 65 65 64 20 28 31 36 2d |ample sp|eed (16-|
|00002d00| 31 30 30 75 53 29 0a 0a | 56 20 66 6c 61 67 20 73 |100uS)..|V flag s|
|00002d10| 65 74 20 69 66 20 73 61 | 6d 70 6c 65 20 73 70 65 |et if sa|mple spe|
|00002d20| 65 64 20 69 73 20 6f 75 | 74 20 6f 66 20 72 61 6e |ed is ou|t of ran|
|00002d30| 67 65 0a 0a 54 68 69 73 | 20 53 57 49 20 6c 65 74 |ge..This| SWI let|
|00002d40| 73 20 79 6f 75 20 73 65 | 74 20 74 68 65 20 74 69 |s you se|t the ti|
|00002d50| 6d 65 20 62 65 74 77 65 | 65 6e 20 73 61 6d 70 6c |me betwe|en sampl|
|00002d60| 65 20 6f 75 74 70 75 74 | 73 20 28 69 65 2e 20 73 |e output|s (ie. s|
|00002d70| 61 6d 70 6c 65 20 71 75 | 61 6c 69 74 79 29 20 74 |ample qu|ality) t|
|00002d80| 6f 20 61 20 76 61 6c 75 | 65 20 62 65 74 77 65 65 |o a valu|e betwee|
|00002d90| 6e 20 31 36 75 73 20 61 | 6e 64 20 31 30 30 75 73 |n 16us a|nd 100us|
|00002da0| 2e 20 53 6d 61 6c 6c 65 | 72 20 73 70 65 65 64 20 |. Smalle|r speed |
|00002db0| 76 61 6c 75 65 73 20 67 | 69 76 65 20 62 65 74 74 |values g|ive bett|
|00002dc0| 65 72 20 73 61 6d 70 6c | 65 20 71 75 61 6c 69 74 |er sampl|e qualit|
|00002dd0| 79 2c 20 62 75 74 20 61 | 6c 73 6f 20 75 73 65 20 |y, but a|lso use |
|00002de0| 6d 6f 72 65 20 70 72 6f | 63 65 73 73 6f 72 20 74 |more pro|cessor t|
|00002df0| 69 6d 65 2c 20 61 6e 64 | 20 73 6c 6f 77 20 74 68 |ime, and| slow th|
|00002e00| 65 20 63 6f 6d 70 75 74 | 65 72 20 64 6f 77 6e 20 |e comput|er down |
|00002e10| 6d 6f 72 65 2e 20 54 68 | 65 20 64 65 66 61 75 6c |more. Th|e defaul|
|00002e20| 74 20 73 70 65 65 64 20 | 69 73 20 33 32 75 53 2e |t speed |is 32uS.|
|00002e30| 44 41 54 41 ed 00 00 00 | 51 54 4d 5f 53 6f 6e 67 |DATA....|QTM_Song|
|00002e40| 4c 65 6e 67 74 68 20 28 | 26 34 37 45 34 45 29 0a |Length (|&47E4E).|
|00002e50| 45 78 69 74 0a 20 09 52 | 30 20 3d 20 6e 75 6d 62 |Exit. .R|0 = numb|
|00002e60| 65 72 20 6f 66 20 73 65 | 71 75 65 6e 63 65 73 20 |er of se|quences |
|00002e70| 69 6e 20 63 75 72 72 65 | 6e 74 20 73 6f 6e 67 0a |in curre|nt song.|
|00002e80| 20 09 52 31 20 3d 20 6e | 75 6d 62 65 72 20 6f 66 | .R1 = n|umber of|
|00002e90| 20 70 61 74 74 65 72 6e | 73 20 69 6e 20 74 68 65 | pattern|s in the|
|00002ea0| 20 73 6f 6e 67 0a 0a 56 | 20 66 6c 61 67 20 73 65 | song..V| flag se|
|00002eb0| 74 20 69 66 20 6e 6f 20 | 73 6f 6e 67 20 69 73 20 |t if no |song is |
|00002ec0| 6c 6f 61 64 65 64 0a 0a | 54 68 69 73 20 53 57 49 |loaded..|This SWI|
|00002ed0| 20 61 6c 6c 6f 77 73 20 | 79 6f 75 20 74 6f 20 72 | allows |you to r|
|00002ee0| 65 61 64 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ead the |number o|
|00002ef0| 66 20 70 61 74 74 65 72 | 6e 73 20 61 6e 64 20 73 |f patter|ns and s|
|00002f00| 65 71 75 65 6e 63 65 73 | 20 69 6e 20 74 68 65 20 |equences| in the |
|00002f10| 63 75 72 72 65 6e 74 20 | 73 6f 6e 67 2e 00 00 00 |current |song....|
|00002f20| 44 41 54 41 43 01 00 00 | 51 54 4d 5f 53 6f 6e 67 |DATAC...|QTM_Song|
|00002f30| 53 74 61 74 75 73 20 20 | 28 26 34 37 45 35 35 29 |Status |(&47E55)|
|00002f40| 0a 45 78 69 74 0a 20 09 | 52 30 20 3d 20 73 6f 6e |.Exit. .|R0 = son|
|00002f50| 67 20 73 74 61 74 75 73 | 20 66 6c 61 67 73 20 3a |g status| flags :|
|00002f60| 0a 20 09 7b 5f 7d 6f 6e | 7b 5f 7d 20 09 7b 5f 7d |. .{_}on|{_} .{_}|
|00002f70| 6f 66 66 7b 5f 7d 0a 20 | 09 62 69 74 20 30 20 3d |off{_}. |.bit 0 =|
|00002f80| 20 73 6f 6e 67 20 6c 6f | 61 64 65 64 09 6e 6f 20 | song lo|aded.no |
|00002f90| 73 6f 6e 67 20 6c 6f 61 | 64 65 64 0a 20 09 20 20 |song loa|ded. . |
|00002fa0| 20 20 31 20 3d 20 6c 6f | 61 64 65 64 20 74 6f 20 | 1 = lo|aded to |
|00002fb0| 52 4d 41 09 75 73 65 72 | 20 61 64 64 72 20 6c 6f |RMA.user| addr lo|
|00002fc0| 61 64 0a 20 09 20 20 20 | 20 32 20 3d 20 70 6c 61 |ad. . | 2 = pla|
|00002fd0| 79 69 6e 67 09 09 73 74 | 6f 70 70 65 64 2f 70 61 |ying..st|opped/pa|
|00002fe0| 75 73 65 64 0a 0a 54 68 | 69 73 20 53 57 49 20 61 |used..Th|is SWI a|
|00002ff0| 6c 6c 6f 77 73 20 79 6f | 75 20 74 6f 20 72 65 61 |llows yo|u to rea|
|00003000| 64 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 73 74 |d the cu|rrent st|
|00003010| 61 74 75 73 20 6f 66 20 | 74 68 65 20 51 54 4d 20 |atus of |the QTM |
|00003020| 73 6f 6e 67 20 63 6f 6e | 74 72 6f 6c 6c 65 72 2e |song con|troller.|
|00003030| 0a 0a 4e 6f 20 65 72 72 | 6f 72 20 69 73 20 67 65 |..No err|or is ge|
|00003040| 6e 65 72 61 74 65 64 20 | 69 66 20 74 68 65 72 65 |nerated |if there|
|00003050| 20 69 73 20 6e 6f 20 73 | 6f 6e 67 20 6c 6f 61 64 | is no s|ong load|
|00003060| 65 64 2e 00 44 41 54 41 | 8b 00 00 00 51 54 4d 5f |ed..DATA|....QTM_|
|00003070| 53 74 61 72 74 20 20 28 | 26 34 37 45 34 31 29 0a |Start (|&47E41).|
|00003080| 56 20 66 6c 61 67 20 73 | 65 74 20 69 66 20 6e 6f |V flag s|et if no|
|00003090| 20 73 6f 6e 67 20 69 73 | 20 6c 6f 61 64 65 64 0a | song is| loaded.|
|000030a0| 0a 54 68 69 73 20 53 57 | 49 20 77 69 6c 6c 20 73 |.This SW|I will s|
|000030b0| 74 61 72 74 20 74 68 65 | 20 63 75 72 72 65 6e 74 |tart the| current|
|000030c0| 20 74 75 6e 65 20 70 6c | 61 79 69 6e 67 20 69 66 | tune pl|aying if|
|000030d0| 20 69 74 20 68 61 73 20 | 62 65 65 6e 20 70 61 75 | it has |been pau|
|000030e0| 73 65 64 20 6f 72 20 73 | 74 6f 70 70 65 64 2e 00 |sed or s|topped..|
|000030f0| 44 41 54 41 12 04 00 00 | 51 54 4d 5f 53 74 65 72 |DATA....|QTM_Ster|
|00003100| 65 6f 20 28 26 34 37 45 | 34 44 29 0a 45 6e 74 72 |eo (&47E|4D).Entr|
|00003110| 79 0a 20 09 52 30 20 3d | 20 63 68 61 6e 6e 65 6c |y. .R0 =| channel|
|00003120| 20 6e 75 6d 62 65 72 20 | 74 6f 20 61 6c 74 65 72 | number |to alter|
|00003130| 2c 20 6f 72 20 30 20 66 | 6f 72 20 70 72 65 2d 70 |, or 0 f|or pre-p|
|00003140| 72 6f 67 72 61 6d 6d 65 | 64 20 73 65 74 74 69 6e |rogramme|d settin|
|00003150| 67 73 0a 20 09 49 66 20 | 52 30 20 3d 20 31 2d 34 |gs. .If |R0 = 1-4|
|00003160| 20 74 68 65 6e 20 52 31 | 20 3d 20 73 74 65 72 65 | then R1| = stere|
|00003170| 6f 20 70 6f 73 69 74 69 | 6f 6e 20 2d 31 32 37 20 |o positi|on -127 |
|00003180| 28 6c 65 66 74 29 20 74 | 6f 20 31 32 37 20 28 72 |(left) t|o 127 (r|
|00003190| 69 67 68 74 29 20 6f 72 | 20 2d 31 32 38 20 74 6f |ight) or| -128 to|
|000031a0| 20 72 65 61 64 20 63 75 | 72 72 65 6e 74 20 70 6f | read cu|rrent po|
|000031b0| 73 69 74 69 6f 6e 0a 20 | 09 49 66 20 52 30 20 3d |sition. |.If R0 =|
|000031c0| 20 30 20 74 68 65 6e 20 | 52 31 20 3d 20 30 20 2d | 0 then |R1 = 0 -|
|000031d0| 20 64 65 66 61 75 6c 74 | 20 73 74 65 72 65 6f 20 | default| stereo |
|000031e0| 70 6f 73 69 74 69 6f 6e | 20 28 73 65 65 20 62 65 |position| (see be|
|000031f0| 6c 6f 77 29 0a 20 09 20 | 09 20 09 20 09 3d 20 31 |low). . |. . .= 1|
|00003200| 20 2d 20 41 6d 69 67 61 | 20 73 74 65 72 65 6f 20 | - Amiga| stereo |
|00003210| 70 6f 73 69 74 69 6f 6e | 0a 20 09 20 09 20 09 20 |position|. . . . |
|00003220| 09 3d 20 32 20 2d 20 63 | 65 6e 74 72 65 64 20 28 |.= 2 - c|entred (|
|00003230| 6e 6f 20 73 74 65 72 65 | 6f 29 0a 20 09 20 09 20 |no stere|o). . . |
|00003240| 09 20 09 3d 20 33 20 2d | 20 66 75 6c 6c 20 6c 65 |. .= 3 -| full le|
|00003250| 66 74 0a 20 09 20 09 20 | 09 20 09 3d 20 34 20 2d |ft. . . |. .= 4 -|
|00003260| 20 66 75 6c 6c 20 72 69 | 67 68 74 0a 45 78 69 74 | full ri|ght.Exit|
|00003270| 0a 20 09 52 30 20 69 73 | 20 70 72 65 73 65 72 76 |. .R0 is| preserv|
|00003280| 65 64 0a 20 09 49 66 20 | 52 30 20 3d 20 31 2d 34 |ed. .If |R0 = 1-4|
|00003290| 20 74 68 65 6e 20 52 31 | 20 3d 20 70 72 65 76 69 | then R1| = previ|
|000032a0| 6f 75 73 20 73 74 65 72 | 65 6f 20 70 6f 73 69 74 |ous ster|eo posit|
|000032b0| 69 6f 6e 0a 20 09 49 66 | 20 52 30 20 3d 20 30 20 |ion. .If| R0 = 0 |
|000032c0| 74 68 65 6e 20 52 31 20 | 69 73 20 63 6f 72 72 75 |then R1 |is corru|
|000032d0| 70 74 65 64 0a 0a 54 68 | 69 73 20 53 57 49 20 61 |pted..Th|is SWI a|
|000032e0| 6c 6c 6f 77 73 20 74 68 | 65 20 73 74 65 72 65 6f |llows th|e stereo|
|000032f0| 20 70 6f 73 69 74 69 6f | 6e 73 20 66 6f 72 20 65 | positio|ns for e|
|00003300| 61 63 68 20 63 68 61 6e | 6e 65 6c 20 74 6f 20 62 |ach chan|nel to b|
|00003310| 65 20 61 6c 74 65 72 65 | 64 20 69 6e 64 69 70 65 |e altere|d indipe|
|00003320| 6e 64 65 6e 74 6c 79 2c | 20 6f 72 20 61 6c 6c 20 |ndently,| or all |
|00003330| 74 6f 67 65 74 68 65 72 | 2e 20 49 66 20 52 30 3d |together|. If R0=|
|00003340| 31 2d 34 20 6f 6e 20 65 | 6e 74 72 79 2c 20 74 68 |1-4 on e|ntry, th|
|00003350| 65 6e 20 52 31 20 6d 75 | 73 74 20 62 65 20 65 69 |en R1 mu|st be ei|
|00003360| 74 68 65 72 20 61 20 76 | 61 6c 69 64 20 73 74 65 |ther a v|alid ste|
|00003370| 72 65 6f 20 70 6f 73 69 | 74 69 6f 6e 20 28 2d 31 |reo posi|tion (-1|
|00003380| 32 37 20 74 6f 20 31 32 | 37 29 20 6f 72 20 2d 31 |27 to 12|7) or -1|
|00003390| 32 38 20 74 6f 20 72 65 | 61 64 20 74 68 65 20 70 |28 to re|ad the p|
|000033a0| 72 65 76 69 6f 75 73 20 | 70 6f 73 69 74 69 6f 6e |revious |position|
|000033b0| 2e 20 49 66 20 52 30 3d | 30 20 6f 6e 20 65 6e 74 |. If R0=|0 on ent|
|000033c0| 72 79 2c 20 74 68 65 6e | 20 52 31 20 6d 75 73 74 |ry, then| R1 must|
|000033d0| 20 62 65 20 69 6e 20 74 | 68 65 20 72 61 6e 67 65 | be in t|he range|
|000033e0| 20 30 2d 34 20 28 73 65 | 74 74 69 6e 67 73 20 64 | 0-4 (se|ttings d|
|000033f0| 65 73 63 72 69 62 65 64 | 20 61 62 6f 76 65 29 20 |escribed| above) |
|00003400| 74 6f 20 61 6c 74 65 72 | 20 61 6c 6c 20 74 68 65 |to alter| all the|
|00003410| 20 63 68 61 6e 6e 65 6c | 73 20 74 6f 20 6f 6e 65 | channel|s to one|
|00003420| 20 6f 66 20 74 68 65 73 | 65 20 70 72 65 2d 70 72 | of thes|e pre-pr|
|00003430| 6f 67 72 61 6d 6d 65 64 | 20 76 61 6c 75 65 73 2e |ogrammed| values.|
|00003440| 0a 0a 54 68 65 20 64 65 | 66 61 75 6c 74 20 73 74 |..The de|fault st|
|00003450| 65 72 65 6f 20 73 65 74 | 74 69 6e 67 73 20 61 72 |ereo set|tings ar|
|00003460| 65 3a 0a 20 09 43 68 61 | 6e 6e 65 6c 3a 20 31 20 |e:. .Cha|nnel: 1 |
|00003470| 09 50 6f 73 69 74 69 6f | 6e 3a 20 2d 37 39 20 28 |.Positio|n: -79 (|
|00003480| 6c 65 66 74 29 0a 20 09 | 43 68 61 6e 6e 65 6c 3a |left). .|Channel:|
|00003490| 20 32 20 09 50 6f 73 69 | 74 69 6f 6e 3a 20 37 39 | 2 .Posi|tion: 79|
|000034a0| 20 20 28 72 69 67 68 74 | 29 0a 20 09 43 68 61 6e | (right|). .Chan|
|000034b0| 6e 65 6c 3a 20 33 20 09 | 50 6f 73 69 74 69 6f 6e |nel: 3 .|Position|
|000034c0| 3a 20 34 37 20 20 28 73 | 6c 69 67 68 74 6c 79 20 |: 47 (s|lightly |
|000034d0| 72 69 67 68 74 29 0a 20 | 09 43 68 61 6e 6e 65 6c |right). |.Channel|
|000034e0| 3a 20 34 20 09 50 6f 73 | 69 74 69 6f 6e 3a 20 2d |: 4 .Pos|ition: -|
|000034f0| 34 37 20 28 73 6c 69 67 | 68 74 6c 79 20 6c 65 66 |47 (slig|htly lef|
|00003500| 74 29 00 00 44 41 54 41 | c4 00 00 00 51 54 4d 5f |t)..DATA|....QTM_|
|00003510| 53 74 6f 70 20 20 28 26 | 34 37 45 34 32 29 0a 56 |Stop (&|47E42).V|
|00003520| 20 66 6c 61 67 20 73 65 | 74 20 69 66 20 6e 6f 20 | flag se|t if no |
|00003530| 73 6f 6e 67 20 69 73 20 | 6c 6f 61 64 65 64 0a 0a |song is |loaded..|
|00003540| 54 68 69 73 20 53 57 49 | 20 77 69 6c 6c 20 73 74 |This SWI| will st|
|00003550| 6f 70 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 74 |op the c|urrent t|
|00003560| 75 6e 65 20 70 6c 61 79 | 69 6e 67 2c 20 61 6e 64 |une play|ing, and|
|00003570| 20 72 65 73 65 74 20 61 | 6c 6c 20 74 68 65 20 69 | reset a|ll the i|
|00003580| 6e 74 65 72 6e 61 6c 20 | 76 61 72 69 61 62 6c 65 |nternal |variable|
|00003590| 73 2c 20 69 6e 63 6c 75 | 64 69 6e 67 20 74 68 65 |s, inclu|ding the|
|000035a0| 20 70 6f 73 69 74 69 6f | 6e 20 63 6f 75 6e 74 65 | positio|n counte|
|000035b0| 72 73 20 2d 20 77 68 69 | 63 68 20 69 74 20 73 65 |rs - whi|ch it se|
|000035c0| 74 73 20 74 6f 20 30 2e | 44 41 54 41 76 01 00 00 |ts to 0.|DATAv...|
|000035d0| 51 54 4d 5f 56 6f 6c 75 | 6d 65 20 20 28 26 34 37 |QTM_Volu|me (&47|
|000035e0| 45 34 38 29 0a 45 6e 74 | 72 79 0a 20 09 52 30 20 |E48).Ent|ry. .R0 |
|000035f0| 3d 20 6e 65 77 20 6f 76 | 65 72 61 6c 6c 20 76 6f |= new ov|erall vo|
|00003600| 6c 75 6d 65 20 28 30 2d | 36 34 29 20 6f 72 20 2d |lume (0-|64) or -|
|00003610| 31 20 74 6f 20 72 65 61 | 64 20 63 75 72 72 65 6e |1 to rea|d curren|
|00003620| 74 20 76 6f 6c 75 6d 65 | 0a 45 78 69 74 0a 20 09 |t volume|.Exit. .|
|00003630| 52 30 20 3d 20 70 72 65 | 76 69 6f 75 73 20 76 6f |R0 = pre|vious vo|
|00003640| 6c 75 6d 65 20 28 30 2d | 36 34 29 0a 0a 56 20 66 |lume (0-|64)..V f|
|00003650| 6c 61 67 20 73 65 74 20 | 69 66 20 76 6f 6c 75 6d |lag set |if volum|
|00003660| 65 20 69 73 20 6f 75 74 | 20 6f 66 20 72 61 6e 67 |e is out| of rang|
|00003670| 65 0a 0a 54 68 69 73 20 | 53 57 49 20 61 6c 6c 6f |e..This |SWI allo|
|00003680| 77 73 20 79 6f 75 20 73 | 65 74 20 74 68 65 20 6f |ws you s|et the o|
|00003690| 76 65 72 61 6c 6c 20 6f | 75 74 70 75 74 20 76 6f |verall o|utput vo|
|000036a0| 6c 75 6d 65 20 66 72 6f | 6d 20 74 68 65 20 51 54 |lume fro|m the QT|
|000036b0| 4d 20 73 6f 75 6e 64 20 | 68 61 6e 64 6c 65 72 73 |M sound |handlers|
|000036c0| 2e 20 54 68 65 20 76 6f | 6c 75 6d 65 20 69 73 20 |. The vo|lume is |
|000036d0| 69 6e 20 61 20 6c 69 6e | 65 61 72 20 66 6f 72 6d |in a lin|ear form|
|000036e0| 20 28 30 2d 36 34 29 20 | 2d 20 61 73 20 75 73 65 | (0-64) |- as use|
|000036f0| 64 20 66 6f 72 20 76 6f | 6c 75 6d 65 73 20 69 6e |d for vo|lumes in|
|00003700| 20 73 6f 6e 67 20 6d 6f | 64 75 6c 65 73 2e 20 47 | song mo|dules. G|
|00003710| 72 61 64 75 61 6c 20 66 | 61 64 65 73 20 63 61 6e |radual f|ades can|
|00003720| 20 62 65 20 67 65 6e 72 | 65 72 61 74 65 64 20 75 | be genr|erated u|
|00003730| 73 69 6e 67 20 74 68 69 | 73 20 53 57 49 2e 00 00 |sing thi|s SWI...|
|00003740| 44 41 54 41 78 02 00 00 | 51 54 4d 5f 56 55 42 61 |DATAx...|QTM_VUBa|
|00003750| 72 43 6f 6e 74 72 6f 6c | 20 20 28 26 34 37 45 35 |rControl| (&47E5|
|00003760| 30 29 0a 45 6e 74 72 79 | 0a 20 09 52 30 20 3d 20 |0).Entry|. .R0 = |
|00003770| 30 20 74 6f 20 73 77 69 | 74 63 68 20 74 68 65 20 |0 to swi|tch the |
|00003780| 56 55 20 62 61 72 20 63 | 6f 6e 74 72 6f 6c 6c 65 |VU bar c|ontrolle|
|00003790| 72 73 20 6f 66 66 0a 20 | 09 20 20 20 20 20 3d 20 |rs off. |. = |
|000037a0| 31 20 74 6f 20 73 65 74 | 20 74 68 65 20 56 55 20 |1 to set| the VU |
|000037b0| 62 61 72 20 63 6f 6e 74 | 72 6f 6c 6c 65 72 20 74 |bar cont|roller t|
|000037c0| 6f 20 75 73 65 20 27 66 | 61 6b 65 27 20 56 55 20 |o use 'f|ake' VU |
|000037d0| 62 61 72 73 0a 20 09 20 | 20 20 20 20 3d 20 32 20 |bars. . | = 2 |
|000037e0| 74 6f 20 73 65 74 20 74 | 68 65 20 56 55 20 62 61 |to set t|he VU ba|
|000037f0| 72 20 63 6f 6e 74 72 6f | 6c 6c 65 72 20 74 6f 20 |r contro|ller to |
|00003800| 75 73 65 20 27 65 66 66 | 65 63 74 27 20 56 55 20 |use 'eff|ect' VU |
|00003810| 62 61 72 73 0a 20 09 20 | 20 20 20 20 3d 20 33 20 |bars. . | = 3 |
|00003820| 74 6f 20 73 65 74 20 74 | 68 65 20 56 55 20 62 61 |to set t|he VU ba|
|00003830| 72 20 63 6f 6e 74 72 6f | 6c 6c 65 72 20 74 6f 20 |r contro|ller to |
|00003840| 75 73 65 20 27 72 65 61 | 6c 27 20 56 55 20 62 61 |use 'rea|l' VU ba|
|00003850| 72 73 0a 20 09 20 20 20 | 20 20 3d 20 2d 31 20 74 |rs. . | = -1 t|
|00003860| 6f 20 72 65 61 64 20 63 | 75 72 72 65 6e 74 20 73 |o read c|urrent s|
|00003870| 65 74 74 69 6e 67 0a 20 | 09 52 31 20 3d 20 6e 65 |etting. |.R1 = ne|
|00003880| 77 20 56 55 20 67 72 61 | 76 69 74 79 2c 20 6f 72 |w VU gra|vity, or|
|00003890| 20 2d 31 20 74 6f 20 72 | 65 61 64 0a 45 78 69 74 | -1 to r|ead.Exit|
|000038a0| 0a 20 09 52 30 20 3d 20 | 70 72 65 76 69 6f 75 73 |. .R0 = |previous|
|000038b0| 20 56 55 20 63 6f 6e 74 | 72 6f 6c 6c 65 72 20 73 | VU cont|roller s|
|000038c0| 74 61 74 65 0a 20 09 52 | 31 20 3d 20 70 72 65 76 |tate. .R|1 = prev|
|000038d0| 69 6f 75 73 20 56 55 20 | 62 61 72 20 67 72 61 76 |ious VU |bar grav|
|000038e0| 69 74 79 0a 0a 54 68 69 | 73 20 53 57 49 20 61 6c |ity..Thi|s SWI al|
|000038f0| 6c 6f 77 73 20 63 6f 6e | 74 72 6f 6c 20 6f 66 20 |lows con|trol of |
|00003900| 74 68 65 20 68 69 67 68 | 6c 79 20 61 63 63 75 72 |the high|ly accur|
|00003910| 61 74 65 20 56 55 20 62 | 61 72 20 72 6f 75 74 69 |ate VU b|ar routi|
|00003920| 6e 65 20 63 6f 6e 74 61 | 69 6e 65 64 20 69 6e 20 |ne conta|ined in |
|00003930| 74 68 65 20 51 54 4d 20 | 6d 6f 64 75 6c 65 2e 20 |the QTM |module. |
|00003940| 54 68 65 20 64 65 66 61 | 75 6c 74 20 73 65 74 74 |The defa|ult sett|
|00003950| 69 6e 67 73 20 66 6f 72 | 20 74 68 65 20 56 55 20 |ings for| the VU |
|00003960| 62 61 72 20 72 6f 75 74 | 69 6e 65 20 61 72 65 3a |bar rout|ine are:|
|00003970| 20 67 72 61 76 69 74 79 | 20 3d 20 32 20 28 6c 69 | gravity| = 2 (li|
|00003980| 6e 65 73 20 70 65 72 20 | 35 30 74 68 20 6f 66 20 |nes per |50th of |
|00003990| 61 20 73 65 63 6f 6e 64 | 29 20 61 6e 64 20 74 68 |a second|) and th|
|000039a0| 65 20 56 55 20 62 61 72 | 20 63 6f 6e 74 72 6f 6c |e VU bar| control|
|000039b0| 6c 65 72 20 6f 66 66 2e | 44 41 54 41 20 00 00 00 |ler off.|DATA ...|
|000039c0| 00 40 2d e9 00 e0 d0 e5 | 58 00 5e e3 78 00 5e 13 |.@-.....|X.^.x.^.|
|000039d0| 01 00 80 02 00 80 fd e8 | 44 41 54 41 4b 02 00 00 |........|DATAK...|
|000039e0| 51 54 4d 0a 23 50 61 72 | 65 6e 74 20 53 74 72 6f |QTM.#Par|ent Stro|
|000039f0| 6e 67 48 65 6c 70 3a 21 | 4d 65 6e 75 0a 23 50 72 |ngHelp:!|Menu.#Pr|
|00003a00| 65 66 69 78 20 51 54 4d | 5f 0a 23 42 61 63 6b 67 |efix QTM|_.#Backg|
|00003a10| 72 6f 75 6e 64 20 57 69 | 6d 70 20 31 0a 23 66 48 |round Wi|mp 1.#fH|
|00003a20| 31 3a 51 54 4d 0a 23 66 | 48 33 3a 28 51 75 65 75 |1:QTM.#f|H3:(Queu|
|00003a30| 65 20 54 68 65 20 4d 75 | 73 69 63 29 0a 23 4c 69 |e The Mu|sic).#Li|
|00003a40| 6e 65 0a 23 54 61 62 6c | 65 20 43 6f 6c 75 6d 6e |ne.#Tabl|e Column|
|00003a50| 73 20 34 0a 3c 43 6c 65 | 61 72 3e 0a 3c 44 4d 41 |s 4.<Cle|ar>.<DMA|
|00003a60| 42 75 66 66 65 72 3e 0a | 3c 45 66 66 65 63 74 43 |Buffer>.|<EffectC|
|00003a70| 6f 6e 74 72 6f 6c 3e 0a | 3c 49 6e 66 6f 3e 0a 3c |ontrol>.|<Info>.<|
|00003a80| 4c 6f 61 64 3e 0a 3c 50 | 61 75 73 65 3e 0a 3c 50 |Load>.<P|ause>.<P|
|00003a90| 6c 61 79 53 61 6d 70 6c | 65 3e 0a 3c 50 6f 73 3e |laySampl|e>.<Pos>|
|00003aa0| 0a 3c 52 65 61 64 50 6c | 61 79 69 6e 67 54 69 6d |.<ReadPl|ayingTim|
|00003ab0| 65 3e 0a 3c 52 65 61 64 | 53 61 6d 70 6c 65 54 61 |e>.<Read|SampleTa|
|00003ac0| 62 6c 65 3e 0a 3c 52 65 | 61 64 53 65 71 75 65 6e |ble>.<Re|adSequen|
|00003ad0| 63 65 54 61 62 6c 65 3e | 0a 3c 52 65 61 64 53 70 |ceTable>|.<ReadSp|
|00003ae0| 65 65 64 3e 0a 3c 52 65 | 61 64 56 55 4c 65 76 65 |eed>.<Re|adVULeve|
|00003af0| 6c 73 3e 0a 3c 52 65 6d | 6f 76 65 43 68 61 6e 6e |ls>.<Rem|oveChann|
|00003b00| 65 6c 3e 0a 3c 52 65 73 | 74 6f 72 65 43 68 61 6e |el>.<Res|toreChan|
|00003b10| 6e 65 6c 3e 0a 3c 53 65 | 74 53 61 6d 70 6c 65 53 |nel>.<Se|tSampleS|
|00003b20| 70 65 65 64 3e 0a 3c 53 | 6f 6e 67 4c 65 6e 67 74 |peed>.<S|ongLengt|
|00003b30| 68 3e 0a 3c 53 6f 6e 67 | 53 74 61 74 75 73 3e 0a |h>.<Song|Status>.|
|00003b40| 3c 53 74 61 72 74 3e 0a | 3c 53 74 65 72 65 6f 3e |<Start>.|<Stereo>|
|00003b50| 0a 3c 53 74 6f 70 3e 0a | 3c 56 6f 6c 75 6d 65 3e |.<Stop>.|<Volume>|
|00003b60| 0a 3c 56 55 42 61 72 43 | 6f 6e 74 72 6f 6c 3e 0a |.<VUBarC|ontrol>.|
|00003b70| 23 45 6e 64 74 61 62 6c | 65 0a 23 4c 69 6e 65 3b |#Endtabl|e.#Line;|
|00003b80| 41 6c 69 67 6e 20 43 65 | 6e 74 72 65 3b 57 72 61 |Align Ce|ntre;Wra|
|00003b90| 70 20 4f 66 66 0a 48 65 | 6c 70 20 74 65 78 74 20 |p Off.He|lp text |
|00003ba0| 69 73 20 62 79 20 7b 2a | 7d 50 68 6f 65 6e 69 78 |is by {*|}Phoenix|
|00003bb0| 20 26 20 51 75 61 6e 74 | 75 6d 7b 2a 7d 2c 20 a9 | & Quant|um{*}, .|
|00003bc0| 20 31 39 39 33 2d 34 0a | 7b 2f 7d 53 74 72 6f 6e | 1993-4.|{/}Stron|
|00003bd0| 67 48 65 6c 70 7b 2f 7d | 20 76 65 72 73 69 6f 6e |gHelp{/}| version|
|00003be0| 20 62 79 20 3c 44 61 76 | 69 64 20 54 68 6f 6d 61 | by <Dav|id Thoma|
|00003bf0| 73 3d 3e 46 69 6c 65 74 | 79 70 65 73 3a 41 75 74 |s=>Filet|ypes:Aut|
|00003c00| 68 6f 72 73 5f 44 61 76 | 65 54 68 6f 6d 61 73 3e |hors_Dav|eThomas>|
|00003c10| 2c 20 32 6e 64 20 4a 75 | 6e 20 31 39 39 36 20 28 |, 2nd Ju|n 1996 (|
|00003c20| 72 32 29 00 | |r2). | |
+--------+-------------------------+-------------------------+--------+--------+