Home » Archimedes archive » Acorn Computing » 1994 08.adf » 9408 » PD/!FontMsgs/!Gremlin/!RunImage
PD/!FontMsgs/!Gremlin/!RunImage
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 » Archimedes archive » Acorn Computing » 1994 08.adf » 9408 |
Filename: | PD/!FontMsgs/!Gremlin/!RunImage |
Read OK: | ✔ |
File size: | 03FC bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10DIM b%&100,dummy%1000 20quit%=FALSE 30SYS "Wimp_Initialise",200,&4B534154,"Gremlin" 40SYS "Wimp_OpenTemplate",,"<Obey$Dir>.Templates" 50SYS "Wimp_LoadTemplate",,dummy%,,,-1,"gremlin" 60SYS "Wimp_CreateWindow",,dummy% TO win% 70SYS "Wimp_CloseTemplate" 80!b%=win%:SYS "Wimp_GetWindowState",,b%:b%!4=b%!4-1000:b%!8=b%!8-1000:b%!12=b%!12-1000:b%!16=b%!16-1000:SYS "Wimp_OpenWindow",,b% 90ON ERROR IF FNwimperror(ERR,REPORT$+" (internal error code "+STR$ERL+")",3) THEN END 100REPEAT 110SYS "Wimp_Poll",1,b% TO r% 120CASE r% OF 130WHEN 8:IF b%!24<>&1A0 AND b%!24<>&1B0 THEN 140SYS "Wimp_ProcessKey",b%!24 150ELSE 160IF b%!24=&1B0 THEN 170quit%=TRUE 180ELSE 190SYS "Wimp_GetPointerInfo",,b% 200IF b%!12>-1 AND b%!16>-1 THEN SYS "Wimp_SetCaretPosition",b%!12,b%!16,,,-1,0 210ENDIF 220ENDIF 230WHEN 17,18:IF b%!16=0 THEN quit%=TRUE 240ENDCASE 250UNTIL quit% 260END 270DEFFNwimperror(error%,error$,flags%) 280LOCAL reply% 290IF TIME<errtime%(errtimeno%)+500 THEN END 300errtime%(errtimeno%)=TIME:errtimeno%=(errtimeno%+1)MOD3 310!e%=error%:$(e%+4)=error$ 320SYS "Wimp_ReportError",e%,flags%,"FA Premier League" TO ,reply% 330IF reply%=2 THEN =TRUE ELSE =FALSE
� b%&100,dummy%1000 quit%=� 0ș "Wimp_Initialise",200,&4B534154,"Gremlin" (2ș "Wimp_OpenTemplate",,"<Obey$Dir>.Templates" 21ș "Wimp_LoadTemplate",,dummy%,,,-1,"gremlin" <)ș "Wimp_CreateWindow",,dummy% � win% Fș "Wimp_CloseTemplate" P�!b%=win%:ș "Wimp_GetWindowState",,b%:b%!4=b%!4-1000:b%!8=b%!8-1000:b%!12=b%!12-1000:b%!16=b%!16-1000:ș "Wimp_OpenWindow",,b% ZA� � � �wimperror(�,�$+" (internal error code "+Þ+")",3) � � d� nș "Wimp_Poll",1,b% � r% xȎ r% � �%� 8:� b%!24<>&1A0 � b%!24<>&1B0 � �ș "Wimp_ProcessKey",b%!24 �� �� b%!24=&1B0 � �quit%=� �� � ș "Wimp_GetPointerInfo",,b% �I� b%!12>-1 � b%!16>-1 � ș "Wimp_SetCaretPosition",b%!12,b%!16,,,-1,0 �� �� �� 17,18:� b%!16=0 � quit%=� �� �� quit% � %ݤwimperror(error%,error$,flags%) � reply% "$� �<errtime%(errtimeno%)+500 � � ,6errtime%(errtimeno%)=�:errtimeno%=(errtimeno%+1)�3 6!e%=error%:$(e%+4)=error$ @Aș "Wimp_ReportError",e%,flags%,"FA Premier League" � ,reply% J� reply%=2 � =� � =� �
00000000 0d 00 0a 17 de 20 62 25 26 31 30 30 2c 64 75 6d |..... b%&100,dum| 00000010 6d 79 25 31 30 30 30 0d 00 14 0b 71 75 69 74 25 |my%1000....quit%| 00000020 3d a3 0d 00 1e 30 c8 99 20 22 57 69 6d 70 5f 49 |=....0.. "Wimp_I| 00000030 6e 69 74 69 61 6c 69 73 65 22 2c 32 30 30 2c 26 |nitialise",200,&| 00000040 34 42 35 33 34 31 35 34 2c 22 47 72 65 6d 6c 69 |4B534154,"Gremli| 00000050 6e 22 0d 00 28 32 c8 99 20 22 57 69 6d 70 5f 4f |n"..(2.. "Wimp_O| 00000060 70 65 6e 54 65 6d 70 6c 61 74 65 22 2c 2c 22 3c |penTemplate",,"<| 00000070 4f 62 65 79 24 44 69 72 3e 2e 54 65 6d 70 6c 61 |Obey$Dir>.Templa| 00000080 74 65 73 22 0d 00 32 31 c8 99 20 22 57 69 6d 70 |tes"..21.. "Wimp| 00000090 5f 4c 6f 61 64 54 65 6d 70 6c 61 74 65 22 2c 2c |_LoadTemplate",,| 000000a0 64 75 6d 6d 79 25 2c 2c 2c 2d 31 2c 22 67 72 65 |dummy%,,,-1,"gre| 000000b0 6d 6c 69 6e 22 0d 00 3c 29 c8 99 20 22 57 69 6d |mlin"..<).. "Wim| 000000c0 70 5f 43 72 65 61 74 65 57 69 6e 64 6f 77 22 2c |p_CreateWindow",| 000000d0 2c 64 75 6d 6d 79 25 20 b8 20 77 69 6e 25 0d 00 |,dummy% . win%..| 000000e0 46 1b c8 99 20 22 57 69 6d 70 5f 43 6c 6f 73 65 |F... "Wimp_Close| 000000f0 54 65 6d 70 6c 61 74 65 22 0d 00 50 82 21 62 25 |Template"..P.!b%| 00000100 3d 77 69 6e 25 3a c8 99 20 22 57 69 6d 70 5f 47 |=win%:.. "Wimp_G| 00000110 65 74 57 69 6e 64 6f 77 53 74 61 74 65 22 2c 2c |etWindowState",,| 00000120 62 25 3a 62 25 21 34 3d 62 25 21 34 2d 31 30 30 |b%:b%!4=b%!4-100| 00000130 30 3a 62 25 21 38 3d 62 25 21 38 2d 31 30 30 30 |0:b%!8=b%!8-1000| 00000140 3a 62 25 21 31 32 3d 62 25 21 31 32 2d 31 30 30 |:b%!12=b%!12-100| 00000150 30 3a 62 25 21 31 36 3d 62 25 21 31 36 2d 31 30 |0:b%!16=b%!16-10| 00000160 30 30 3a c8 99 20 22 57 69 6d 70 5f 4f 70 65 6e |00:.. "Wimp_Open| 00000170 57 69 6e 64 6f 77 22 2c 2c 62 25 0d 00 5a 41 ee |Window",,b%..ZA.| 00000180 20 85 20 e7 20 a4 77 69 6d 70 65 72 72 6f 72 28 | . . .wimperror(| 00000190 9f 2c f6 24 2b 22 20 20 28 69 6e 74 65 72 6e 61 |.,.$+" (interna| 000001a0 6c 20 65 72 72 6f 72 20 63 6f 64 65 20 22 2b c3 |l error code "+.| 000001b0 9e 2b 22 29 22 2c 33 29 20 8c 20 e0 0d 00 64 05 |.+")",3) . ...d.| 000001c0 f5 0d 00 6e 1c c8 99 20 22 57 69 6d 70 5f 50 6f |...n... "Wimp_Po| 000001d0 6c 6c 22 2c 31 2c 62 25 20 b8 20 72 25 0d 00 78 |ll",1,b% . r%..x| 000001e0 0b c8 8e 20 72 25 20 ca 0d 00 82 25 c9 20 38 3a |... r% ....%. 8:| 000001f0 e7 20 62 25 21 32 34 3c 3e 26 31 41 30 20 80 20 |. b%!24<>&1A0 . | 00000200 62 25 21 32 34 3c 3e 26 31 42 30 20 8c 0d 00 8c |b%!24<>&1B0 ....| 00000210 1e c8 99 20 22 57 69 6d 70 5f 50 72 6f 63 65 73 |... "Wimp_Proces| 00000220 73 4b 65 79 22 2c 62 25 21 32 34 0d 00 96 05 cc |sKey",b%!24.....| 00000230 0d 00 a0 12 e7 20 62 25 21 32 34 3d 26 31 42 30 |..... b%!24=&1B0| 00000240 20 8c 0d 00 aa 0b 71 75 69 74 25 3d b9 0d 00 b4 | .....quit%=....| 00000250 05 cc 0d 00 be 20 c8 99 20 22 57 69 6d 70 5f 47 |..... .. "Wimp_G| 00000260 65 74 50 6f 69 6e 74 65 72 49 6e 66 6f 22 2c 2c |etPointerInfo",,| 00000270 62 25 0d 00 c8 49 e7 20 62 25 21 31 32 3e 2d 31 |b%...I. b%!12>-1| 00000280 20 80 20 62 25 21 31 36 3e 2d 31 20 8c 20 c8 99 | . b%!16>-1 . ..| 00000290 20 22 57 69 6d 70 5f 53 65 74 43 61 72 65 74 50 | "Wimp_SetCaretP| 000002a0 6f 73 69 74 69 6f 6e 22 2c 62 25 21 31 32 2c 62 |osition",b%!12,b| 000002b0 25 21 31 36 2c 2c 2c 2d 31 2c 30 0d 00 d2 05 cd |%!16,,,-1,0.....| 000002c0 0d 00 dc 05 cd 0d 00 e6 1f c9 20 31 37 2c 31 38 |.......... 17,18| 000002d0 3a e7 20 62 25 21 31 36 3d 30 20 8c 20 71 75 69 |:. b%!16=0 . qui| 000002e0 74 25 3d b9 0d 00 f0 05 cb 0d 00 fa 0b fd 20 71 |t%=........... q| 000002f0 75 69 74 25 0d 01 04 05 e0 0d 01 0e 25 dd a4 77 |uit%........%..w| 00000300 69 6d 70 65 72 72 6f 72 28 65 72 72 6f 72 25 2c |imperror(error%,| 00000310 65 72 72 6f 72 24 2c 66 6c 61 67 73 25 29 0d 01 |error$,flags%)..| 00000320 18 0c ea 20 72 65 70 6c 79 25 0d 01 22 24 e7 20 |... reply%.."$. | 00000330 91 3c 65 72 72 74 69 6d 65 25 28 65 72 72 74 69 |.<errtime%(errti| 00000340 6d 65 6e 6f 25 29 2b 35 30 30 20 8c 20 e0 0d 01 |meno%)+500 . ...| 00000350 2c 36 65 72 72 74 69 6d 65 25 28 65 72 72 74 69 |,6errtime%(errti| 00000360 6d 65 6e 6f 25 29 3d 91 3a 65 72 72 74 69 6d 65 |meno%)=.:errtime| 00000370 6e 6f 25 3d 28 65 72 72 74 69 6d 65 6e 6f 25 2b |no%=(errtimeno%+| 00000380 31 29 83 33 0d 01 36 1d 21 65 25 3d 65 72 72 6f |1).3..6.!e%=erro| 00000390 72 25 3a 24 28 65 25 2b 34 29 3d 65 72 72 6f 72 |r%:$(e%+4)=error| 000003a0 24 0d 01 40 41 c8 99 20 22 57 69 6d 70 5f 52 65 |$..@A.. "Wimp_Re| 000003b0 70 6f 72 74 45 72 72 6f 72 22 2c 65 25 2c 66 6c |portError",e%,fl| 000003c0 61 67 73 25 2c 22 46 41 20 50 72 65 6d 69 65 72 |ags%,"FA Premier| 000003d0 20 4c 65 61 67 75 65 22 20 b8 20 2c 72 65 70 6c | League" . ,repl| 000003e0 79 25 0d 01 4a 18 e7 20 72 65 70 6c 79 25 3d 32 |y%..J.. reply%=2| 000003f0 20 8c 20 3d b9 20 8b 20 3d a3 0d ff | . =. . =...| 000003fc