Home » Personal collection » Acorn tapes » Electron_User » Electron_User_tape31a_acorn_eu_1992_january.wav » S+C
S+C
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 » Personal collection » Acorn tapes » Electron_User » Electron_User_tape31a_acorn_eu_1992_january.wav |
Filename: | S+C |
Read OK: | ✔ |
File size: | 05EF bytes |
Load address: | FFFF0E00 |
Exec address: | FFFF802B |
Duplicates
There are 3 duplicate copies of this file in the archive:
- AEW website » mu » mu_5_25_discs_Micro_User_09_11_D-MU09_11.ssd » S+C
- AEW website » mu » mu_Micro_User_09_11_MU9-11_B.uef » S+C
- Personal collection » Acorn tapes » Electron_User » Electron_User_tape31a_acorn_eu_1992_january.wav » S+C
- Personal collection » Acorn tapes » Electron_User » Electron_User_tape31b_acorn_eu_1992_january.wav » S+C
File contents
10 MODE 7 20 PRINT"Body Build Sound Sampler" 30 PRINT"Jan 1992 Micro User" 40 PRINT"Sample and save as a Log File" 50 DIM CODE% 200,LT%(256) 60 F$="" 70 PROC_Cinit 80 PROC_TAB 90 MODE 1 100 REPEAT 110 CLS 120 PRINT:PRINT 130 IF F$="" THEN INPUT"File name for the sample ",F$ 140 PRINT TAB(0,5)"When sample is compleat press" 150 PRINT"D - To save on disc" 160 PRINT" this will take 60 seconds" 170 PRINT TAB(0,9)"OR any key to sample again" 180 PRINT TAB(0,12)"Press Space NOW to sample" 190 A$=GET$ 200 CALL SBUF 210 A$=GET$ 220 IF A$="D" OR A$="d" THEN PROC_CONV 230 UNTIL FALSE 240 END 250 DEF PROC_Cinit 260 FOR N%=0 TO 2 STEP 2 270 P%=&900 280 [ 290 OPT N% 300 .PINT \ PORT INITILISATION 310 LDA #&06 320 STA &FE62 330 STA &FE60 340 RTS 350 .SAMP1 360 LDX #10 \ NUMBER OF PULSES 370 LDA #&0 380 STA &FE60 \ CS AND CLOCK LOW 390 .SLOOP 400 LDA &FE60 \ GET DATA 410 LSR A:ROL &70 \ MOVE BIT INTO MEMORY 420 LDA #&2 \ CLOCK HIGH 430 STA &FE60 440 LDA #0 \ CLOCK LOW 450 STA &FE60 460 DEX 470 BNE SLOOP 480 LDA #&6 490 STA &FE60 500 RTS 510 .SBUF 520 SEI \ STOP INTERRUPTS 530 LDA #0 \ SAMPLE BUFFER ADDRESS 540 STA &72 550 LDA #&30 560 STA &73 570 .SBL 580 JSR SAMP1 590 LDX #0 600 LDA &70 \ GET SAMPLE 610 STA (&72,X) 620 INC &72 630 BNE NC1 640 INC &73 650 .NC1 LDA &73 660 CMP #&80 670 BNE SBL 680 CLI \ ENABLE INTERRUPTS 690 RTS 700 ] 710 NEXT 720 CALL PINT 730 ENDPROC 740 DEF PROC_TAB 750 PRINT"Please wait a second" 760 V=15/LOG(255) 770 FOR A%=1 TO 255 780 LT%(A%)=15-INT(LOG(A%)*V) 790 NEXT 800 LT%(0)=15 810 ENDPROC 820 DEF PROC_CONV 830 F%=OPENOUT(F$) 840 FOR A%=&3000 TO &8000 STEP 2 850 S1%=LT%(A%?0) 860 S2%=LT%(A%?1) 870 S%=S1% OR (S2%*16) 880 BPUT#F%,S% 890 NEXT 900 CLOSE#F% 910 F$="" 920 ENDPROC
� 7 �"Body Build Sound Sampler" �"Jan 1992 Micro User" (% �"Sample and save as a Log File" 2 � CODE% 200,LT%(256) < F$="" F �_Cinit P �_TAB Z � 1 d � n � x �:� �. � F$="" � �"File name for the sample ",F$ �+ � �0,5)"When sample is compleat press" � �"D - To save on disc" �% �" this will take 60 seconds" �( � �0,9)"OR any key to sample again" �( � �0,12)"Press Space NOW to sample" � A$=� � � SBUF � A$=� � � A$="D" � A$="d" � �_CONV � � � � � � � �_Cinit � N%=0 � 2 � 2 P%=&900 [ " OPT N% , .PINT \ PORT INITILISATION 6 LDA #&06 @ STA &FE62 J STA &FE60 T RTS ^ .SAMP1 h LDX #10 \ NUMBER � PULSES r LDA #&0 | STA &FE60 \ CS � CLOCK LOW � .SLOOP � LDA &FE60 \ � � �$ LSR A:ROL &70 \ � BIT �O MEMORY � LDA #&2 \ CLOCK HIGH � STA &FE60 � LDA #0 \ CLOCK LOW � STA &FE60 � DEX � BNE SLOOP � LDA #&6 � STA &FE60 � RTS � .SBUF SEI \ � �ERRUPTS # LDA #0 \ SAMPLE BUFFER ADDRESS STA &72 & LDA #&30 0 STA &73 : .SBL D JSR SAMP1 N LDX #0 X LDA &70 \ � SAMPLE b STA (&72,X) l INC &72 v BNE NC1 � INC &73 � .NC1 LDA &73 � CMP #&80 � BNE SBL � CLI \ ENABLE �ERRUPTS � RTS � ] � � � � PINT � � � � �_TAB � �"Please wait a second" � V=15/�(255) � A%=1 � 255 LT%(A%)=15-�(�(A%)*V) � LT%(0)=15 * � 4 � �_CONV > F%=�(F$) H � A%=&3000 � &8000 � 2 R S1%=LT%(A%?0) \ S2%=LT%(A%?1) f S%=S1% � (S2%*16) p �#F%,S% z � � �#F% � F$="" � � �
00000000 0d 00 0a 08 20 eb 20 37 0d 00 14 20 20 f1 22 42 |.... . 7... ."B| 00000010 6f 64 79 20 42 75 69 6c 64 20 53 6f 75 6e 64 20 |ody Build Sound | 00000020 53 61 6d 70 6c 65 72 22 0d 00 1e 1b 20 f1 22 4a |Sampler".... ."J| 00000030 61 6e 20 31 39 39 32 20 4d 69 63 72 6f 20 55 73 |an 1992 Micro Us| 00000040 65 72 22 0d 00 28 25 20 f1 22 53 61 6d 70 6c 65 |er"..(% ."Sample| 00000050 20 61 6e 64 20 73 61 76 65 20 61 73 20 61 20 4c | and save as a L| 00000060 6f 67 20 46 69 6c 65 22 0d 00 32 19 20 de 20 43 |og File"..2. . C| 00000070 4f 44 45 25 20 32 30 30 2c 4c 54 25 28 32 35 36 |ODE% 200,LT%(256| 00000080 29 0d 00 3c 0a 20 46 24 3d 22 22 0d 00 46 0c 20 |)..<. F$=""..F. | 00000090 f2 5f 43 69 6e 69 74 0d 00 50 0a 20 f2 5f 54 41 |._Cinit..P. ._TA| 000000a0 42 0d 00 5a 08 20 eb 20 31 0d 00 64 06 20 f5 0d |B..Z. . 1..d. ..| 000000b0 00 6e 06 20 db 0d 00 78 08 20 f1 3a f1 0d 00 82 |.n. ...x. .:....| 000000c0 2e 20 e7 20 46 24 3d 22 22 20 8c 20 e8 22 46 69 |. . F$="" . ."Fi| 000000d0 6c 65 20 6e 61 6d 65 20 66 6f 72 20 74 68 65 20 |le name for the | 000000e0 73 61 6d 70 6c 65 20 22 2c 46 24 0d 00 8c 2b 20 |sample ",F$...+ | 000000f0 f1 20 8a 30 2c 35 29 22 57 68 65 6e 20 73 61 6d |. .0,5)"When sam| 00000100 70 6c 65 20 69 73 20 63 6f 6d 70 6c 65 61 74 20 |ple is compleat | 00000110 70 72 65 73 73 22 0d 00 96 1b 20 f1 22 44 20 2d |press".... ."D -| 00000120 20 54 6f 20 73 61 76 65 20 6f 6e 20 64 69 73 63 | To save on disc| 00000130 22 0d 00 a0 25 20 f1 22 20 20 20 20 74 68 69 73 |"...% ." this| 00000140 20 77 69 6c 6c 20 74 61 6b 65 20 36 30 20 73 65 | will take 60 se| 00000150 63 6f 6e 64 73 22 0d 00 aa 28 20 f1 20 8a 30 2c |conds"...( . .0,| 00000160 39 29 22 4f 52 20 61 6e 79 20 6b 65 79 20 74 6f |9)"OR any key to| 00000170 20 73 61 6d 70 6c 65 20 61 67 61 69 6e 22 0d 00 | sample again"..| 00000180 b4 28 20 f1 20 8a 30 2c 31 32 29 22 50 72 65 73 |.( . .0,12)"Pres| 00000190 73 20 53 70 61 63 65 20 4e 4f 57 20 74 6f 20 73 |s Space NOW to s| 000001a0 61 6d 70 6c 65 22 0d 00 be 09 20 41 24 3d be 0d |ample".... A$=..| 000001b0 00 c8 0b 20 d6 20 53 42 55 46 0d 00 d2 09 20 41 |... . SBUF.... A| 000001c0 24 3d be 0d 00 dc 1f 20 e7 20 41 24 3d 22 44 22 |$=..... . A$="D"| 000001d0 20 84 20 41 24 3d 22 64 22 20 8c 20 f2 5f 43 4f | . A$="d" . ._CO| 000001e0 4e 56 0d 00 e6 08 20 fd 20 a3 0d 00 f0 06 20 e0 |NV.... . ..... .| 000001f0 0d 00 fa 0e 20 dd 20 f2 5f 43 69 6e 69 74 0d 01 |.... . ._Cinit..| 00000200 04 13 20 e3 20 4e 25 3d 30 20 b8 20 32 20 88 20 |.. . N%=0 . 2 . | 00000210 32 0d 01 0e 0c 20 50 25 3d 26 39 30 30 0d 01 18 |2.... P%=&900...| 00000220 06 20 5b 0d 01 22 0b 20 4f 50 54 20 4e 25 0d 01 |. [..". OPT N%..| 00000230 2c 1f 20 2e 50 49 4e 54 20 5c 20 50 4f 52 54 20 |,. .PINT \ PORT | 00000240 49 4e 49 54 49 4c 49 53 41 54 49 4f 4e 0d 01 36 |INITILISATION..6| 00000250 0d 20 4c 44 41 20 23 26 30 36 0d 01 40 0e 20 53 |. LDA #&06..@. S| 00000260 54 41 20 26 46 45 36 32 0d 01 4a 0e 20 53 54 41 |TA &FE62..J. STA| 00000270 20 26 46 45 36 30 0d 01 54 08 20 52 54 53 0d 01 | &FE60..T. RTS..| 00000280 5e 0b 20 2e 53 41 4d 50 31 0d 01 68 1e 20 4c 44 |^. .SAMP1..h. LD| 00000290 58 20 23 31 30 20 5c 20 4e 55 4d 42 45 52 20 ca |X #10 \ NUMBER .| 000002a0 20 50 55 4c 53 45 53 0d 01 72 0c 20 4c 44 41 20 | PULSES..r. LDA | 000002b0 23 26 30 0d 01 7c 1f 20 53 54 41 20 26 46 45 36 |#&0..|. STA &FE6| 000002c0 30 20 5c 20 43 53 20 80 20 43 4c 4f 43 4b 20 4c |0 \ CS . CLOCK L| 000002d0 4f 57 0d 01 86 0b 20 2e 53 4c 4f 4f 50 0d 01 90 |OW.... .SLOOP...| 000002e0 14 20 4c 44 41 20 26 46 45 36 30 20 5c 20 a5 20 |. LDA &FE60 \ . | 000002f0 dc 0d 01 9a 24 20 4c 53 52 20 41 3a 52 4f 4c 20 |....$ LSR A:ROL | 00000300 26 37 30 20 5c 20 ec 20 42 49 54 20 a8 4f 20 4d |&70 \ . BIT .O M| 00000310 45 4d 4f 52 59 0d 01 a4 19 20 4c 44 41 20 23 26 |EMORY.... LDA #&| 00000320 32 20 5c 20 43 4c 4f 43 4b 20 48 49 47 48 0d 01 |2 \ CLOCK HIGH..| 00000330 ae 0e 20 53 54 41 20 26 46 45 36 30 0d 01 b8 17 |.. STA &FE60....| 00000340 20 4c 44 41 20 23 30 20 5c 20 43 4c 4f 43 4b 20 | LDA #0 \ CLOCK | 00000350 4c 4f 57 0d 01 c2 0e 20 53 54 41 20 26 46 45 36 |LOW.... STA &FE6| 00000360 30 0d 01 cc 08 20 44 45 58 0d 01 d6 0e 20 42 4e |0.... DEX.... BN| 00000370 45 20 53 4c 4f 4f 50 0d 01 e0 0c 20 4c 44 41 20 |E SLOOP.... LDA | 00000380 23 26 36 0d 01 ea 0e 20 53 54 41 20 26 46 45 36 |#&6.... STA &FE6| 00000390 30 0d 01 f4 08 20 52 54 53 0d 01 fe 0a 20 2e 53 |0.... RTS.... .S| 000003a0 42 55 46 0d 02 08 15 20 53 45 49 20 5c 20 fa 20 |BUF.... SEI \ . | 000003b0 a8 45 52 52 55 50 54 53 0d 02 12 23 20 4c 44 41 |.ERRUPTS...# LDA| 000003c0 20 23 30 20 5c 20 53 41 4d 50 4c 45 20 42 55 46 | #0 \ SAMPLE BUF| 000003d0 46 45 52 20 41 44 44 52 45 53 53 0d 02 1c 0c 20 |FER ADDRESS.... | 000003e0 53 54 41 20 26 37 32 0d 02 26 0d 20 4c 44 41 20 |STA &72..&. LDA | 000003f0 23 26 33 30 0d 02 30 0c 20 53 54 41 20 26 37 33 |#&30..0. STA &73| 00000400 0d 02 3a 09 20 2e 53 42 4c 0d 02 44 0e 20 4a 53 |..:. .SBL..D. JS| 00000410 52 20 53 41 4d 50 31 0d 02 4e 0b 20 4c 44 58 20 |R SAMP1..N. LDX | 00000420 23 30 0d 02 58 17 20 4c 44 41 20 26 37 30 20 5c |#0..X. LDA &70 \| 00000430 20 a5 20 53 41 4d 50 4c 45 0d 02 62 10 20 53 54 | . SAMPLE..b. ST| 00000440 41 20 28 26 37 32 2c 58 29 0d 02 6c 0c 20 49 4e |A (&72,X)..l. IN| 00000450 43 20 26 37 32 0d 02 76 0c 20 42 4e 45 20 4e 43 |C &72..v. BNE NC| 00000460 31 0d 02 80 0c 20 49 4e 43 20 26 37 33 0d 02 8a |1.... INC &73...| 00000470 11 20 2e 4e 43 31 20 4c 44 41 20 26 37 33 0d 02 |. .NC1 LDA &73..| 00000480 94 0d 20 43 4d 50 20 23 26 38 30 0d 02 9e 0c 20 |.. CMP #&80.... | 00000490 42 4e 45 20 53 42 4c 0d 02 a8 1a 20 43 4c 49 20 |BNE SBL.... CLI | 000004a0 5c 20 45 4e 41 42 4c 45 20 a8 45 52 52 55 50 54 |\ ENABLE .ERRUPT| 000004b0 53 0d 02 b2 08 20 52 54 53 0d 02 bc 06 20 5d 0d |S.... RTS.... ].| 000004c0 02 c6 06 20 ed 0d 02 d0 0b 20 d6 20 50 49 4e 54 |... ..... . PINT| 000004d0 0d 02 da 06 20 e1 0d 02 e4 0c 20 dd 20 f2 5f 54 |.... ..... . ._T| 000004e0 41 42 0d 02 ee 1c 20 f1 22 50 6c 65 61 73 65 20 |AB.... ."Please | 000004f0 77 61 69 74 20 61 20 73 65 63 6f 6e 64 22 0d 02 |wait a second"..| 00000500 f8 10 20 56 3d 31 35 2f ab 28 32 35 35 29 0d 03 |.. V=15/.(255)..| 00000510 02 11 20 e3 20 41 25 3d 31 20 b8 20 32 35 35 0d |.. . A%=1 . 255.| 00000520 03 0c 1a 20 4c 54 25 28 41 25 29 3d 31 35 2d a8 |... LT%(A%)=15-.| 00000530 28 ab 28 41 25 29 2a 56 29 0d 03 16 06 20 ed 0d |(.(A%)*V).... ..| 00000540 03 20 0e 20 4c 54 25 28 30 29 3d 31 35 0d 03 2a |. . LT%(0)=15..*| 00000550 06 20 e1 0d 03 34 0d 20 dd 20 f2 5f 43 4f 4e 56 |. ...4. . ._CONV| 00000560 0d 03 3e 0d 20 46 25 3d ae 28 46 24 29 0d 03 48 |..>. F%=.(F$)..H| 00000570 1b 20 e3 20 41 25 3d 26 33 30 30 30 20 b8 20 26 |. . A%=&3000 . &| 00000580 38 30 30 30 20 88 20 32 0d 03 52 12 20 53 31 25 |8000 . 2..R. S1%| 00000590 3d 4c 54 25 28 41 25 3f 30 29 0d 03 5c 12 20 53 |=LT%(A%?0)..\. S| 000005a0 32 25 3d 4c 54 25 28 41 25 3f 31 29 0d 03 66 16 |2%=LT%(A%?1)..f.| 000005b0 20 53 25 3d 53 31 25 20 84 20 28 53 32 25 2a 31 | S%=S1% . (S2%*1| 000005c0 36 29 0d 03 70 0c 20 d5 23 46 25 2c 53 25 0d 03 |6)..p. .#F%,S%..| 000005d0 7a 06 20 ed 0d 03 84 09 20 d9 23 46 25 0d 03 8e |z. ..... .#F%...| 000005e0 0a 20 46 24 3d 22 22 0d 03 98 06 20 e1 0d ff |. F$="".... ...| 000005ef