Home » Personal collection » Acorn tapes » Electron_User » Electron_User_tape31a_acorn_eu_1992_january.wav » SFplay » Compare

Compare SFplay with Beeb/STplay

File: Personal collection » Acorn tapes » Electron_User » Electron_User_tape31a_acorn_eu_1992_january.wav » SFplay
Compared with: Archimedes archive » Micro User » MU 1991-08.adf » Listings » Beeb/STplay
Similarity: 55% of bytes duplicated

37 of 57 lines (74.0%) are identical in the two listings. Duplicated Different

Line numbers are ignored when comparing lines, so that renumbered programs still match.

SFplay Beeb/STplay
10 MODE 7 10REM STplay version 1.60
20 PRINTTAB(0,20)"Loading Sound Files" 20REM By Rafael Jay
30 *LOAD S.POP 3000 30REM (C) The Micro User
40 *LOAD S.BOB 5800 40:
50 MODE7:VDU23;8202;0;0;0; 50*KEY 0 CALLplay|M
60 PRINT"Log Sample File player"
70 PRINT"By Rafael Jay"
80 PRINT"Modified by Mike Cook"
90 PRINT"(C) The Micro User Jan 92"
100 PROCassem:PRINT
110 PRINT"1. Pop Music"
120 PRINT"2. I can't get the laugh right Bob"
130 REPEAT:G%=GET
140 IFG%=ASC"1" A%=40:X%=&30:Y%=&58:CALLplay
150 IFG%=ASC"2" A%=40:X%=&58:Y%=&7C:CALLplay
160 UNTIL FALSE
170 DEFPROCassem
180 FOR PASS=0 TO 2 STEP 2 60FOR PASS=0 TO 2 STEP 2
190 P%=&900:[OPT PASS 70P%=&900:[OPT PASS
200 .play_s SEI:JSRinit 80.play_s SEI:JSRinit
210 LDA#&0F:STA&72 90LDA#&0F:STA&72
220 LDA#&00:STA&70 100LDA#&00:STA&70
230 LDA&75:STA&71 110LDA&75:STA&71
240 .loop1 LDY#&00 120.loop1 LDY#&00
250 .loop2 130.loop2
260 LDA(&70),Y:PHA:AND#&0F 140LDA(&70),Y:PHA:AND#&0F
270 JSRsound1:PLA:AND#&F0 150JSRsound1:PLA:AND#&F0
280 LSRA:LSRA:LSRA:LSRA 160LSRA:LSRA:LSRA:LSRA
290 JSRsound1:INY 170JSRsound1:INY
300 BNEloop2:INC&71 180BNEloop2:INC&71
310 LDA&71:CMP&76:BNEloop1 190LDA&71:CMP&76:BNEloop1
320 LDA#&0F:JSRsound1 200LDA#&0F:JSRsound1
330 CLI:RTS 210CLI:RTS
340 .init LDA#&FF:STA&FE43 220.init LDA#&FF:STA&FE43
350 LDA#&84:JSRsound 230LDA#&84:JSRsound
360 LDA#&00:JSRsound 240LDA#&00:JSRsound
370 LDA#&A4:JSRsound 250LDA#&A4:JSRsound
380 LDA#&00:JSRsound 260LDA#&00:JSRsound
390 LDA#&C4:JSRsound 270LDA#&C4:JSRsound
400 LDA#&00:JSRsound 280LDA#&00:JSRsound
410 RTS 290RTS
420 .sound STA&FE4F 300.sound STA&FE4F
430 LDX#&00:STX&FE40 310LDX#&00:STX&FE40
440 NOP:NOP:NOP:NOP:NOP:NOP 320NOP:NOP:NOP:NOP:NOP:NOP
450 LDX#&08:STX&FE40:RTS 330LDX#&08:STX&FE40:RTS
460 .sound1 340.sound1
470 ORA#&90:JSRsound 350ORA#&90:JSRsound
480 ORA#&20:JSRsound 360ORA#&20:JSRsound
490 EOR#&60:JSRsound 370EOR#&60:JSRsound
500 LDX&74 380LDX&74:.loop3
510 .loop3
520 DEX:BNEloop3:RTS 390DEX:BNEloop3:RTS
530 .play 400.play
540 STA&74:STX&75:STY&76 410STA&74:STX&75:STY&76
550 JMPplay_s 420JMPplay_s
560 ]:NEXT 430]:NEXT
570 ENDPROC