Home » CEEFAX disks » telesoftware16.adl » Speller/W/WLINK
Speller/W/WLINK
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 » CEEFAX disks » telesoftware16.adl |
Filename: | Speller/W/WLINK |
Read OK: | ✔ |
File size: | 0549 bytes |
Load address: | FFFF1900 |
Exec address: | FFFF8023 |
File contents
10REM Watcher Linker 2/4/88 20REM For Watcher check code 30REM (C) Allan Kelly 40 41DIM data% 32 50MODE7 60PRINT''"Watcher Code Linker" 70PRINT"(C) Allan Kelly 2/4/88" 80PRINT''"File L.Wprog should contain Watcher code" 90PRINT"File L.Wdata should contain Watcher WASPsubroutines and DATA" 100 101IF FNread_data("L.Wdata")=0 PRINT"No L.Wdata file":STOP 102wprog_exec=&2000+len% 103wprog_load=&6900+len% 110PRINT''"Load L.Wdata" 120*LOAD L.Wdata 6900 121IF FNread_data("L.Wprog")=0 PRINT"No L.Wprog file":STOP 122IF wprog_exec<>exec% PRINT"Incompatible files. Re-assemble":STOP 130PRINT'"Load L.Wprog" 140x=FNos_load("L.Wprog",wprog_load) 150 160PRINT'"Saving Watcher" 170IF FNos_save("U.WATCH",&2000,wprog_exec,&6900,wprog_load+len%) 180END 2000DEFFNread_data(file$) 2010LOCAL A%,X%,Y%,a% 2020A%=5 2030X%=data% MOD 256 2040Y%=data% DIV 256 2050$(data%+18)=file$ 2060!data%=data%+18 2070a%=USR&FFDD AND&3 2080load%=!(data%+2) 2090exec%=!(data%+6) 2100len%=!(data%+10) 2110attr%=!(data%+14)AND&FF 2120:=a% 2130 2140DEFFNos_load(file$,load%) 2150A%=&FF 2160X%=data% MOD 256 2170Y%=data% DIV 256 2180!data%=data%+18 2190!(data%+2)=load% 2200!(data%+6)=0 2210!(data%+10)=0 2220!(data%+14)=0 2230$(data%+18)=file$ 2240:=USR&FFDD AND&3 2250 2260DEFFNos_save(file$,load%,exec%,start%,end%) 2270A%=0 2280X%=data% MOD 256 2290Y%=data% DIV 256 2300!data%=data%+18 2310!(data%+2)=load% 2320!(data%+6)=exec% 2330!(data%+10)=start% 2340!(data%+14)=end% 2350$(data%+18)=file$ 2360:=USR&FFDD AND&3
� Watcher Linker 2/4/88 � For Watcher check code � (C) Allan Kelly ( )� data% 32 2�7 <�''"Watcher Code Linker" F�"(C) Allan Kelly 2/4/88" P1�''"File L.Wprog should contain Watcher code" ZC�"File L.Wdata should contain Watcher WASPsubroutines and DATA" d e2� �read_data("L.Wdata")=0 �"No L.Wdata file":� fwprog_exec=&2000+len% gwprog_load=&6900+len% n�''"Load L.Wdata" x*LOAD L.Wdata 6900 y2� �read_data("L.Wprog")=0 �"No L.Wprog file":� z<� wprog_exec<>exec% �"Incompatible files. Re-assemble":� ��'"Load L.Wprog" �$x=�os_load("L.Wprog",wprog_load) � ��'"Saving Watcher" �@� �os_save("U.WATCH",&2000,wprog_exec,&6900,wprog_load+len%) �� �ݤread_data(file$) �� A%,X%,Y%,a% �A%=5 �X%=data% � 256 �Y%=data% � 256 $(data%+18)=file$ !data%=data%+18 a%=�&FFDD �&3 load%=!(data%+2) *exec%=!(data%+6) 4len%=!(data%+10) >attr%=!(data%+14)�&FF H:=a% R \ݤos_load(file$,load%) f A%=&FF pX%=data% � 256 zY%=data% � 256 �!data%=data%+18 �!(data%+2)=load% �!(data%+6)=0 �!(data%+10)=0 �!(data%+14)=0 �$(data%+18)=file$ �:=�&FFDD �&3 � �,ݤos_save(file$,load%,exec%,start%,end%) �A%=0 �X%=data% � 256 �Y%=data% � 256 �!data%=data%+18 !(data%+2)=load% !(data%+6)=exec% !(data%+10)=start% $!(data%+14)=end% .$(data%+18)=file$ 8:=�&FFDD �&3 �
00000000 0d 00 0a 1b f4 20 57 61 74 63 68 65 72 20 4c 69 |..... Watcher Li| 00000010 6e 6b 65 72 20 32 2f 34 2f 38 38 0d 00 14 1c f4 |nker 2/4/88.....| 00000020 20 46 6f 72 20 57 61 74 63 68 65 72 20 63 68 65 | For Watcher che| 00000030 63 6b 20 63 6f 64 65 0d 00 1e 15 f4 20 28 43 29 |ck code..... (C)| 00000040 20 41 6c 6c 61 6e 20 4b 65 6c 6c 79 0d 00 28 05 | Allan Kelly..(.| 00000050 20 0d 00 29 0e de 20 64 61 74 61 25 20 33 32 0d | ..).. data% 32.| 00000060 00 32 06 eb 37 0d 00 3c 1c f1 27 27 22 57 61 74 |.2..7..<..''"Wat| 00000070 63 68 65 72 20 43 6f 64 65 20 4c 69 6e 6b 65 72 |cher Code Linker| 00000080 22 0d 00 46 1d f1 22 28 43 29 20 41 6c 6c 61 6e |"..F.."(C) Allan| 00000090 20 4b 65 6c 6c 79 20 32 2f 34 2f 38 38 22 0d 00 | Kelly 2/4/88"..| 000000a0 50 31 f1 27 27 22 46 69 6c 65 20 4c 2e 57 70 72 |P1.''"File L.Wpr| 000000b0 6f 67 20 73 68 6f 75 6c 64 20 63 6f 6e 74 61 69 |og should contai| 000000c0 6e 20 57 61 74 63 68 65 72 20 63 6f 64 65 22 0d |n Watcher code".| 000000d0 00 5a 43 f1 22 46 69 6c 65 20 4c 2e 57 64 61 74 |.ZC."File L.Wdat| 000000e0 61 20 73 68 6f 75 6c 64 20 63 6f 6e 74 61 69 6e |a should contain| 000000f0 20 57 61 74 63 68 65 72 20 57 41 53 50 73 75 62 | Watcher WASPsub| 00000100 72 6f 75 74 69 6e 65 73 20 61 6e 64 20 44 41 54 |routines and DAT| 00000110 41 22 0d 00 64 05 20 0d 00 65 32 e7 20 a4 72 65 |A"..d. ..e2. .re| 00000120 61 64 5f 64 61 74 61 28 22 4c 2e 57 64 61 74 61 |ad_data("L.Wdata| 00000130 22 29 3d 30 20 f1 22 4e 6f 20 4c 2e 57 64 61 74 |")=0 ."No L.Wdat| 00000140 61 20 66 69 6c 65 22 3a fa 0d 00 66 19 77 70 72 |a file":...f.wpr| 00000150 6f 67 5f 65 78 65 63 3d 26 32 30 30 30 2b 6c 65 |og_exec=&2000+le| 00000160 6e 25 0d 00 67 19 77 70 72 6f 67 5f 6c 6f 61 64 |n%..g.wprog_load| 00000170 3d 26 36 39 30 30 2b 6c 65 6e 25 0d 00 6e 15 f1 |=&6900+len%..n..| 00000180 27 27 22 4c 6f 61 64 20 4c 2e 57 64 61 74 61 22 |''"Load L.Wdata"| 00000190 0d 00 78 16 2a 4c 4f 41 44 20 4c 2e 57 64 61 74 |..x.*LOAD L.Wdat| 000001a0 61 20 36 39 30 30 0d 00 79 32 e7 20 a4 72 65 61 |a 6900..y2. .rea| 000001b0 64 5f 64 61 74 61 28 22 4c 2e 57 70 72 6f 67 22 |d_data("L.Wprog"| 000001c0 29 3d 30 20 f1 22 4e 6f 20 4c 2e 57 70 72 6f 67 |)=0 ."No L.Wprog| 000001d0 20 66 69 6c 65 22 3a fa 0d 00 7a 3c e7 20 77 70 | file":...z<. wp| 000001e0 72 6f 67 5f 65 78 65 63 3c 3e 65 78 65 63 25 20 |rog_exec<>exec% | 000001f0 f1 22 49 6e 63 6f 6d 70 61 74 69 62 6c 65 20 66 |."Incompatible f| 00000200 69 6c 65 73 2e 20 52 65 2d 61 73 73 65 6d 62 6c |iles. Re-assembl| 00000210 65 22 3a fa 0d 00 82 14 f1 27 22 4c 6f 61 64 20 |e":......'"Load | 00000220 4c 2e 57 70 72 6f 67 22 0d 00 8c 24 78 3d a4 6f |L.Wprog"...$x=.o| 00000230 73 5f 6c 6f 61 64 28 22 4c 2e 57 70 72 6f 67 22 |s_load("L.Wprog"| 00000240 2c 77 70 72 6f 67 5f 6c 6f 61 64 29 0d 00 96 05 |,wprog_load)....| 00000250 20 0d 00 a0 16 f1 27 22 53 61 76 69 6e 67 20 57 | .....'"Saving W| 00000260 61 74 63 68 65 72 22 0d 00 aa 40 e7 20 a4 6f 73 |atcher"...@. .os| 00000270 5f 73 61 76 65 28 22 55 2e 57 41 54 43 48 22 2c |_save("U.WATCH",| 00000280 26 32 30 30 30 2c 77 70 72 6f 67 5f 65 78 65 63 |&2000,wprog_exec| 00000290 2c 26 36 39 30 30 2c 77 70 72 6f 67 5f 6c 6f 61 |,&6900,wprog_loa| 000002a0 64 2b 6c 65 6e 25 29 0d 00 b4 05 e0 0d 07 d0 16 |d+len%).........| 000002b0 dd a4 72 65 61 64 5f 64 61 74 61 28 66 69 6c 65 |..read_data(file| 000002c0 24 29 0d 07 da 11 ea 20 41 25 2c 58 25 2c 59 25 |$)..... A%,X%,Y%| 000002d0 2c 61 25 0d 07 e4 08 41 25 3d 35 0d 07 ee 12 58 |,a%....A%=5....X| 000002e0 25 3d 64 61 74 61 25 20 83 20 32 35 36 0d 07 f8 |%=data% . 256...| 000002f0 12 59 25 3d 64 61 74 61 25 20 81 20 32 35 36 0d |.Y%=data% . 256.| 00000300 08 02 15 24 28 64 61 74 61 25 2b 31 38 29 3d 66 |...$(data%+18)=f| 00000310 69 6c 65 24 0d 08 0c 13 21 64 61 74 61 25 3d 64 |ile$....!data%=d| 00000320 61 74 61 25 2b 31 38 0d 08 16 11 61 25 3d ba 26 |ata%+18....a%=.&| 00000330 46 46 44 44 20 80 26 33 0d 08 20 14 6c 6f 61 64 |FFDD .&3.. .load| 00000340 25 3d 21 28 64 61 74 61 25 2b 32 29 0d 08 2a 14 |%=!(data%+2)..*.| 00000350 65 78 65 63 25 3d 21 28 64 61 74 61 25 2b 36 29 |exec%=!(data%+6)| 00000360 0d 08 34 14 6c 65 6e 25 3d 21 28 64 61 74 61 25 |..4.len%=!(data%| 00000370 2b 31 30 29 0d 08 3e 19 61 74 74 72 25 3d 21 28 |+10)..>.attr%=!(| 00000380 64 61 74 61 25 2b 31 34 29 80 26 46 46 0d 08 48 |data%+14).&FF..H| 00000390 08 3a 3d 61 25 0d 08 52 05 20 0d 08 5c 1a dd a4 |.:=a%..R. ..\...| 000003a0 6f 73 5f 6c 6f 61 64 28 66 69 6c 65 24 2c 6c 6f |os_load(file$,lo| 000003b0 61 64 25 29 0d 08 66 0a 41 25 3d 26 46 46 0d 08 |ad%)..f.A%=&FF..| 000003c0 70 12 58 25 3d 64 61 74 61 25 20 83 20 32 35 36 |p.X%=data% . 256| 000003d0 0d 08 7a 12 59 25 3d 64 61 74 61 25 20 81 20 32 |..z.Y%=data% . 2| 000003e0 35 36 0d 08 84 13 21 64 61 74 61 25 3d 64 61 74 |56....!data%=dat| 000003f0 61 25 2b 31 38 0d 08 8e 14 21 28 64 61 74 61 25 |a%+18....!(data%| 00000400 2b 32 29 3d 6c 6f 61 64 25 0d 08 98 10 21 28 64 |+2)=load%....!(d| 00000410 61 74 61 25 2b 36 29 3d 30 0d 08 a2 11 21 28 64 |ata%+6)=0....!(d| 00000420 61 74 61 25 2b 31 30 29 3d 30 0d 08 ac 11 21 28 |ata%+10)=0....!(| 00000430 64 61 74 61 25 2b 31 34 29 3d 30 0d 08 b6 15 24 |data%+14)=0....$| 00000440 28 64 61 74 61 25 2b 31 38 29 3d 66 69 6c 65 24 |(data%+18)=file$| 00000450 0d 08 c0 10 3a 3d ba 26 46 46 44 44 20 80 26 33 |....:=.&FFDD .&3| 00000460 0d 08 ca 05 20 0d 08 d4 2c dd a4 6f 73 5f 73 61 |.... ...,..os_sa| 00000470 76 65 28 66 69 6c 65 24 2c 6c 6f 61 64 25 2c 65 |ve(file$,load%,e| 00000480 78 65 63 25 2c 73 74 61 72 74 25 2c 65 6e 64 25 |xec%,start%,end%| 00000490 29 0d 08 de 08 41 25 3d 30 0d 08 e8 12 58 25 3d |)....A%=0....X%=| 000004a0 64 61 74 61 25 20 83 20 32 35 36 0d 08 f2 12 59 |data% . 256....Y| 000004b0 25 3d 64 61 74 61 25 20 81 20 32 35 36 0d 08 fc |%=data% . 256...| 000004c0 13 21 64 61 74 61 25 3d 64 61 74 61 25 2b 31 38 |.!data%=data%+18| 000004d0 0d 09 06 14 21 28 64 61 74 61 25 2b 32 29 3d 6c |....!(data%+2)=l| 000004e0 6f 61 64 25 0d 09 10 14 21 28 64 61 74 61 25 2b |oad%....!(data%+| 000004f0 36 29 3d 65 78 65 63 25 0d 09 1a 16 21 28 64 61 |6)=exec%....!(da| 00000500 74 61 25 2b 31 30 29 3d 73 74 61 72 74 25 0d 09 |ta%+10)=start%..| 00000510 24 14 21 28 64 61 74 61 25 2b 31 34 29 3d 65 6e |$.!(data%+14)=en| 00000520 64 25 0d 09 2e 15 24 28 64 61 74 61 25 2b 31 38 |d%....$(data%+18| 00000530 29 3d 66 69 6c 65 24 0d 09 38 10 3a 3d ba 26 46 |)=file$..8.:=.&F| 00000540 46 44 44 20 80 26 33 0d ff |FDD .&3..| 00000549