Home » Personal collection » Acorn hard disk » apps » web » ReadMeDocs/ChgFSI_Fix
ReadMeDocs/ChgFSI_Fix
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 hard disk » apps » web |
Filename: | ReadMeDocs/ChgFSI_Fix |
Read OK: | ✔ |
File size: | 0541 bytes |
Load address: | 0000 |
Exec address: | 0000 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Personal collection » Acorn ADFS disks » Greaseweazled » adfs_1.6M_NetBits.adf » ReadMeDocs/ChgFSI_Fix
- Personal collection » Acorn hard disk » apps » web » ReadMeDocs/ChgFSI_Fix
File contents
Fix for ChangeFSI ================= I finally got fed up with "GIF file without , in right place" errors from ChangeFSI (0.95, 1.01 & 1.13S all exhibit this annoying message). I have devised a simple fix for it. This mainly affects web browsers which are downloading all manner of GIF format files from other web sites created with a variety of packages, although anything reading GIF with ChangeFSI might be affected. -----8<----- instructions start here ------>8------- Find the place in !ChangeFSI.ChangeFSI which has the following code: (search for "GIF file without") ChangeFSI 0.95 or ChangeFSI 1.01: I%=BGET#c%:IFI%<>ASC"," ERROR 42,"GIF file without , in right place" ChangeFSI 1.13S: I%=BGET#c%:IF I%=ASC"!" THEN IF BGET#c% GIFgcssz=BGET#c%:PTR#c%=PTR#c%+GIFgcesz+1:I%=BGET#c% ENDIF For ChangeFSI 0.95 and 1.01: remove the "I%=BGET#c%:" part of the line and add the following code BEFORE that line. For ChangeFSI 1.13S: remove all the lines listed above and replace then with the following code. REPEAT:I%=BGET#c%:IFI%=ASC"!"THEN IFBGET#c%:REPEAT:GIFgcesz=BGET#c%:PTR#c%=PTR#c%+GIFgcesz:UNTIL GIFgcesz=0 ENDIF:UNTIL I%<>ASC"!" -- Stewart Brodie Dept. Electronics & Computer Science, Southampton University, UK. http://www.dsse.ecs.soton.ac.uk/~snb94r/ http://delenn.ecs.soton.ac.uk/ <-- running on my Risc PC
00000000 46 69 78 20 66 6f 72 20 43 68 61 6e 67 65 46 53 |Fix for ChangeFS| 00000010 49 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |I.==============| 00000020 3d 3d 3d 0a 0a 49 20 66 69 6e 61 6c 6c 79 20 67 |===..I finally g| 00000030 6f 74 20 66 65 64 20 75 70 20 77 69 74 68 20 22 |ot fed up with "| 00000040 47 49 46 20 66 69 6c 65 20 77 69 74 68 6f 75 74 |GIF file without| 00000050 20 2c 20 69 6e 20 72 69 67 68 74 20 70 6c 61 63 | , in right plac| 00000060 65 22 20 65 72 72 6f 72 73 0a 66 72 6f 6d 20 43 |e" errors.from C| 00000070 68 61 6e 67 65 46 53 49 20 28 30 2e 39 35 2c 20 |hangeFSI (0.95, | 00000080 31 2e 30 31 20 26 20 31 2e 31 33 53 20 61 6c 6c |1.01 & 1.13S all| 00000090 20 65 78 68 69 62 69 74 20 74 68 69 73 20 61 6e | exhibit this an| 000000a0 6e 6f 79 69 6e 67 20 6d 65 73 73 61 67 65 29 2e |noying message).| 000000b0 0a 49 20 68 61 76 65 20 64 65 76 69 73 65 64 20 |.I have devised | 000000c0 61 20 73 69 6d 70 6c 65 20 66 69 78 20 66 6f 72 |a simple fix for| 000000d0 20 69 74 2e 0a 0a 54 68 69 73 20 6d 61 69 6e 6c | it...This mainl| 000000e0 79 20 61 66 66 65 63 74 73 20 77 65 62 20 62 72 |y affects web br| 000000f0 6f 77 73 65 72 73 20 77 68 69 63 68 20 61 72 65 |owsers which are| 00000100 20 64 6f 77 6e 6c 6f 61 64 69 6e 67 20 61 6c 6c | downloading all| 00000110 20 6d 61 6e 6e 65 72 20 6f 66 0a 47 49 46 20 66 | manner of.GIF f| 00000120 6f 72 6d 61 74 20 66 69 6c 65 73 20 66 72 6f 6d |ormat files from| 00000130 20 6f 74 68 65 72 20 77 65 62 20 73 69 74 65 73 | other web sites| 00000140 20 63 72 65 61 74 65 64 20 77 69 74 68 20 61 20 | created with a | 00000150 76 61 72 69 65 74 79 20 6f 66 0a 70 61 63 6b 61 |variety of.packa| 00000160 67 65 73 2c 20 61 6c 74 68 6f 75 67 68 20 61 6e |ges, although an| 00000170 79 74 68 69 6e 67 20 72 65 61 64 69 6e 67 20 47 |ything reading G| 00000180 49 46 20 77 69 74 68 20 43 68 61 6e 67 65 46 53 |IF with ChangeFS| 00000190 49 20 6d 69 67 68 74 20 62 65 0a 61 66 66 65 63 |I might be.affec| 000001a0 74 65 64 2e 0a 0a 2d 2d 2d 2d 2d 38 3c 2d 2d 2d |ted...-----8<---| 000001b0 2d 2d 20 69 6e 73 74 72 75 63 74 69 6f 6e 73 20 |-- instructions | 000001c0 73 74 61 72 74 20 68 65 72 65 20 2d 2d 2d 2d 2d |start here -----| 000001d0 2d 3e 38 2d 2d 2d 2d 2d 2d 2d 0a 0a 46 69 6e 64 |->8-------..Find| 000001e0 20 74 68 65 20 70 6c 61 63 65 20 69 6e 20 21 43 | the place in !C| 000001f0 68 61 6e 67 65 46 53 49 2e 43 68 61 6e 67 65 46 |hangeFSI.ChangeF| 00000200 53 49 20 77 68 69 63 68 20 68 61 73 20 74 68 65 |SI which has the| 00000210 20 66 6f 6c 6c 6f 77 69 6e 67 0a 63 6f 64 65 3a | following.code:| 00000220 20 28 73 65 61 72 63 68 20 66 6f 72 20 22 47 49 | (search for "GI| 00000230 46 20 66 69 6c 65 20 77 69 74 68 6f 75 74 22 29 |F file without")| 00000240 0a 0a 43 68 61 6e 67 65 46 53 49 20 30 2e 39 35 |..ChangeFSI 0.95| 00000250 20 6f 72 20 43 68 61 6e 67 65 46 53 49 20 31 2e | or ChangeFSI 1.| 00000260 30 31 3a 0a 49 25 3d 42 47 45 54 23 63 25 3a 49 |01:.I%=BGET#c%:I| 00000270 46 49 25 3c 3e 41 53 43 22 2c 22 20 45 52 52 4f |FI%<>ASC"," ERRO| 00000280 52 20 34 32 2c 22 47 49 46 20 66 69 6c 65 20 77 |R 42,"GIF file w| 00000290 69 74 68 6f 75 74 20 2c 20 69 6e 20 72 69 67 68 |ithout , in righ| 000002a0 74 20 70 6c 61 63 65 22 0a 0a 43 68 61 6e 67 65 |t place"..Change| 000002b0 46 53 49 20 31 2e 31 33 53 3a 0a 49 25 3d 42 47 |FSI 1.13S:.I%=BG| 000002c0 45 54 23 63 25 3a 49 46 20 49 25 3d 41 53 43 22 |ET#c%:IF I%=ASC"| 000002d0 21 22 20 54 48 45 4e 0a 49 46 20 42 47 45 54 23 |!" THEN.IF BGET#| 000002e0 63 25 0a 47 49 46 67 63 73 73 7a 3d 42 47 45 54 |c%.GIFgcssz=BGET| 000002f0 23 63 25 3a 50 54 52 23 63 25 3d 50 54 52 23 63 |#c%:PTR#c%=PTR#c| 00000300 25 2b 47 49 46 67 63 65 73 7a 2b 31 3a 49 25 3d |%+GIFgcesz+1:I%=| 00000310 42 47 45 54 23 63 25 0a 45 4e 44 49 46 0a 0a 0a |BGET#c%.ENDIF...| 00000320 46 6f 72 20 43 68 61 6e 67 65 46 53 49 20 30 2e |For ChangeFSI 0.| 00000330 39 35 20 61 6e 64 20 31 2e 30 31 3a 0a 20 20 20 |95 and 1.01:. | 00000340 72 65 6d 6f 76 65 20 74 68 65 20 22 49 25 3d 42 |remove the "I%=B| 00000350 47 45 54 23 63 25 3a 22 20 70 61 72 74 20 6f 66 |GET#c%:" part of| 00000360 20 74 68 65 20 6c 69 6e 65 20 61 6e 64 20 61 64 | the line and ad| 00000370 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 |d the following | 00000380 63 6f 64 65 0a 20 20 20 42 45 46 4f 52 45 20 74 |code. BEFORE t| 00000390 68 61 74 20 6c 69 6e 65 2e 0a 0a 46 6f 72 20 43 |hat line...For C| 000003a0 68 61 6e 67 65 46 53 49 20 31 2e 31 33 53 3a 0a |hangeFSI 1.13S:.| 000003b0 20 20 20 72 65 6d 6f 76 65 20 61 6c 6c 20 74 68 | remove all th| 000003c0 65 20 6c 69 6e 65 73 20 6c 69 73 74 65 64 20 61 |e lines listed a| 000003d0 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 |bove and replace| 000003e0 20 74 68 65 6e 20 77 69 74 68 20 74 68 65 20 66 | then with the f| 000003f0 6f 6c 6c 6f 77 69 6e 67 0a 20 20 20 63 6f 64 65 |ollowing. code| 00000400 2e 0a 0a 52 45 50 45 41 54 3a 49 25 3d 42 47 45 |...REPEAT:I%=BGE| 00000410 54 23 63 25 3a 49 46 49 25 3d 41 53 43 22 21 22 |T#c%:IFI%=ASC"!"| 00000420 54 48 45 4e 0a 49 46 42 47 45 54 23 63 25 3a 52 |THEN.IFBGET#c%:R| 00000430 45 50 45 41 54 3a 47 49 46 67 63 65 73 7a 3d 42 |EPEAT:GIFgcesz=B| 00000440 47 45 54 23 63 25 3a 50 54 52 23 63 25 3d 50 54 |GET#c%:PTR#c%=PT| 00000450 52 23 63 25 2b 47 49 46 67 63 65 73 7a 3a 55 4e |R#c%+GIFgcesz:UN| 00000460 54 49 4c 20 47 49 46 67 63 65 73 7a 3d 30 0a 45 |TIL GIFgcesz=0.E| 00000470 4e 44 49 46 3a 55 4e 54 49 4c 20 49 25 3c 3e 41 |NDIF:UNTIL I%<>A| 00000480 53 43 22 21 22 0a 0a 2d 2d 20 0a 53 74 65 77 61 |SC"!"..-- .Stewa| 00000490 72 74 20 42 72 6f 64 69 65 0a 44 65 70 74 2e 20 |rt Brodie.Dept. | 000004a0 45 6c 65 63 74 72 6f 6e 69 63 73 20 26 20 43 6f |Electronics & Co| 000004b0 6d 70 75 74 65 72 20 53 63 69 65 6e 63 65 2c 20 |mputer Science, | 000004c0 53 6f 75 74 68 61 6d 70 74 6f 6e 20 55 6e 69 76 |Southampton Univ| 000004d0 65 72 73 69 74 79 2c 20 55 4b 2e 0a 68 74 74 70 |ersity, UK..http| 000004e0 3a 2f 2f 77 77 77 2e 64 73 73 65 2e 65 63 73 2e |://www.dsse.ecs.| 000004f0 73 6f 74 6f 6e 2e 61 63 2e 75 6b 2f 7e 73 6e 62 |soton.ac.uk/~snb| 00000500 39 34 72 2f 0a 68 74 74 70 3a 2f 2f 64 65 6c 65 |94r/.http://dele| 00000510 6e 6e 2e 65 63 73 2e 73 6f 74 6f 6e 2e 61 63 2e |nn.ecs.soton.ac.| 00000520 75 6b 2f 20 20 20 3c 2d 2d 20 72 75 6e 6e 69 6e |uk/ <-- runnin| 00000530 67 20 6f 6e 20 6d 79 20 52 69 73 63 20 50 43 0a |g on my Risc PC.| 00000540 0a |.| 00000541