Home » CEEFAX disks » telesoftware10.adl » 08-10-88/TONE1 » Compare

Compare 08-10-88/TONE1 with 08-10-88/PENCE

File: CEEFAX disks » telesoftware10.adl » 08-10-88/TONE1
Compared with: CEEFAX disks » telesoftware10.adl » 08-10-88/PENCE
Similarity: 54% of bytes duplicated

15 of 25 lines (63.8%) are identical in the two listings. Duplicated Different

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

08-10-88/TONE1 08-10-88/PENCE
10REM: TONE1 10REM: PENCE
20osbyte=&FFF4
30DIM mcode &100 20DIM mcode &100
30osbyte=&FFF4
40FORpass=0TO2STEP2 40FORpass=0TO2STEP2
50P%=mcode 50P%=mcode
60[OPT pass 60[OPT pass
70LDA #&9F \ write to speech processor 70LDA #&9F \ write to speech processor
80LDY #&44 \ address &74 (TONE1) pointer 80LDY #&48 \ address &2B58 "pence"
90JSR osbyte 90JSR osbyte
100LDY #&47 100LDY #&45
110JSR osbyte 110JSR osbyte
120LDY #&40 120LDY #&4B
130JSR osbyte 130JSR osbyte
140LDY #&4C 140LDY #&4E
150JSR osbyte 150JSR osbyte
160LDY #&43 160LDY #&43
170JSR osbyte 170JSR osbyte
180LDA #&9F \ write to speech processor
190LDY #&30 \ read and branch
200JSR osbyte
210LDY #&50 \ speak command 180LDY #&50 \ speak command
220JMP osbyte \ speak the word and return 190JMP osbyte \ say "pence" and return to BASIC
230] 200]
240NEXT 210NEXT
250CALL mcode 220CALL mcode