Home » Personal collection » Acorn tapes » Electron_User » Electron_User_tape28a_acorn_eu_1991_october.wav » GCHRSRC » Compare

Compare GCHRSRC with BBC/TCHRSRC

File: Personal collection » Acorn tapes » Electron_User » Electron_User_tape28a_acorn_eu_1991_october.wav » GCHRSRC
Compared with: Archimedes archive » Micro User » MU 1991-10.adf » Listings » BBC/TCHRSRC
Similarity: 59% of bytes duplicated

17 of 39 lines (57.6%) are identical in the two listings. Duplicated Different

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

GCHRSRC BBC/TCHRSRC
10REM Keyboard Graphics 10REM Keyboard Graphics
20REM listing one 20REM listing two
30REM By Peter Harris 30REM By Peter Harris
40REM (C) The Micro User 40REM (C) The Micro User
50oldvec=&20E:newvec=&230 50oldvec=&230:newvec=&20E
60FORI%=0TO2STEP2 60FORI%=0TO2STEP2
70P%=&A60 70P%=&A60
80[OPTI% 80[OPTI%
85.init 85.init
90LDA oldvec 90LDA oldvec
100STA newvec 100STA newvec
110LDA oldvec+1 110LDA oldvec+1
120STA newvec+1 120STA newvec+1
130LDA#start MOD &100
140STA oldvec
150LDA#start DIV &100
160STA oldvec+1
170RTS 130RTS
180.start
190PHA
200LDA&D0
210AND#1
220CMP#1
230BNE restore
240PLA
250CMP#33
260BCCold
270ADC#127
275.old
280JMP(newvec)
290.restore
300PLA
310JMP old
320] 140]
330P%=P%+1 150P%=P%+1
340NEXT 160NEXT
350x$="SAVE GCHRS "+STR$~init+" "+STR$~P% 170x$="SAVE TCHRS "+STR$~init+" "+STR$~P%
360DIM B 30:$B=x$:X%=B MOD &100:Y%=B DIV &100 180DIM B 30:$B=x$:X%=B MOD &100:Y%=B DIV &100
370CALL &FFF7 190CALL &FFF7