Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199609.adf » Regulars » StarInfo/Ayre/!Blink/!Run

StarInfo/Ayre/!Blink/!Run

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 » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199609.adf » Regulars
Filename: StarInfo/Ayre/!Blink/!Run
Read OK:
File size: 02E6 bytes
Load address: 0000
Exec address: 0000
File contents
| Blink !Run file

IF "<Blink$Resources>"<>"" THEN ERROR 666 You can only run one copy of Blink at once.

Set Blink$Dir <Obey$Dir>
Set Blink$Resources Resources:$.Resources.Blink

| Check for presence of NewerLook, and take account of it
IF "<NewerLook$ResourcesDir>"<>"" THEN Set AddSprites$Control Off

Set Blink$SleepDelay 40
Set Blink$ShowBanner On
Set Blink$Wink       5

RMload <Blink$Dir>.BlinkUtils

IconSprites <Blink$Dir>.!Sprites

WimpSlot -min 16K -max 16K

Run <Blink$Dir>.!RunImage 

RMKill BlinkUtils

UnSet Blink$Wink
UnSet Blink$ShowBanner
UnSet Blink$SleepDelay
UnSet Blink$Resources
UnSet Blink$Dir

| Check for presence of NewerLook, and take account of it
IF "<NewerLook$ResourcesDir>"<>"" THEN Set AddSprites$Control On
00000000  7c 20 42 6c 69 6e 6b 20  21 52 75 6e 20 66 69 6c  || Blink !Run fil|
00000010  65 0a 0a 49 46 20 22 3c  42 6c 69 6e 6b 24 52 65  |e..IF "<Blink$Re|
00000020  73 6f 75 72 63 65 73 3e  22 3c 3e 22 22 20 54 48  |sources>"<>"" TH|
00000030  45 4e 20 45 52 52 4f 52  20 36 36 36 20 59 6f 75  |EN ERROR 666 You|
00000040  20 63 61 6e 20 6f 6e 6c  79 20 72 75 6e 20 6f 6e  | can only run on|
00000050  65 20 63 6f 70 79 20 6f  66 20 42 6c 69 6e 6b 20  |e copy of Blink |
00000060  61 74 20 6f 6e 63 65 2e  0a 0a 53 65 74 20 42 6c  |at once...Set Bl|
00000070  69 6e 6b 24 44 69 72 20  3c 4f 62 65 79 24 44 69  |ink$Dir <Obey$Di|
00000080  72 3e 0a 53 65 74 20 42  6c 69 6e 6b 24 52 65 73  |r>.Set Blink$Res|
00000090  6f 75 72 63 65 73 20 52  65 73 6f 75 72 63 65 73  |ources Resources|
000000a0  3a 24 2e 52 65 73 6f 75  72 63 65 73 2e 42 6c 69  |:$.Resources.Bli|
000000b0  6e 6b 0a 0a 7c 20 43 68  65 63 6b 20 66 6f 72 20  |nk..| Check for |
000000c0  70 72 65 73 65 6e 63 65  20 6f 66 20 4e 65 77 65  |presence of Newe|
000000d0  72 4c 6f 6f 6b 2c 20 61  6e 64 20 74 61 6b 65 20  |rLook, and take |
000000e0  61 63 63 6f 75 6e 74 20  6f 66 20 69 74 0a 49 46  |account of it.IF|
000000f0  20 22 3c 4e 65 77 65 72  4c 6f 6f 6b 24 52 65 73  | "<NewerLook$Res|
00000100  6f 75 72 63 65 73 44 69  72 3e 22 3c 3e 22 22 20  |ourcesDir>"<>"" |
00000110  54 48 45 4e 20 53 65 74  20 41 64 64 53 70 72 69  |THEN Set AddSpri|
00000120  74 65 73 24 43 6f 6e 74  72 6f 6c 20 4f 66 66 0a  |tes$Control Off.|
00000130  0a 53 65 74 20 42 6c 69  6e 6b 24 53 6c 65 65 70  |.Set Blink$Sleep|
00000140  44 65 6c 61 79 20 34 30  0a 53 65 74 20 42 6c 69  |Delay 40.Set Bli|
00000150  6e 6b 24 53 68 6f 77 42  61 6e 6e 65 72 20 4f 6e  |nk$ShowBanner On|
00000160  0a 53 65 74 20 42 6c 69  6e 6b 24 57 69 6e 6b 20  |.Set Blink$Wink |
00000170  20 20 20 20 20 20 35 0a  0a 52 4d 6c 6f 61 64 20  |      5..RMload |
00000180  3c 42 6c 69 6e 6b 24 44  69 72 3e 2e 42 6c 69 6e  |<Blink$Dir>.Blin|
00000190  6b 55 74 69 6c 73 0a 0a  49 63 6f 6e 53 70 72 69  |kUtils..IconSpri|
000001a0  74 65 73 20 3c 42 6c 69  6e 6b 24 44 69 72 3e 2e  |tes <Blink$Dir>.|
000001b0  21 53 70 72 69 74 65 73  0a 0a 57 69 6d 70 53 6c  |!Sprites..WimpSl|
000001c0  6f 74 20 2d 6d 69 6e 20  31 36 4b 20 2d 6d 61 78  |ot -min 16K -max|
000001d0  20 31 36 4b 0a 0a 52 75  6e 20 3c 42 6c 69 6e 6b  | 16K..Run <Blink|
000001e0  24 44 69 72 3e 2e 21 52  75 6e 49 6d 61 67 65 20  |$Dir>.!RunImage |
000001f0  0a 0a 52 4d 4b 69 6c 6c  20 42 6c 69 6e 6b 55 74  |..RMKill BlinkUt|
00000200  69 6c 73 0a 0a 55 6e 53  65 74 20 42 6c 69 6e 6b  |ils..UnSet Blink|
00000210  24 57 69 6e 6b 0a 55 6e  53 65 74 20 42 6c 69 6e  |$Wink.UnSet Blin|
00000220  6b 24 53 68 6f 77 42 61  6e 6e 65 72 0a 55 6e 53  |k$ShowBanner.UnS|
00000230  65 74 20 42 6c 69 6e 6b  24 53 6c 65 65 70 44 65  |et Blink$SleepDe|
00000240  6c 61 79 0a 55 6e 53 65  74 20 42 6c 69 6e 6b 24  |lay.UnSet Blink$|
00000250  52 65 73 6f 75 72 63 65  73 0a 55 6e 53 65 74 20  |Resources.UnSet |
00000260  42 6c 69 6e 6b 24 44 69  72 0a 0a 7c 20 43 68 65  |Blink$Dir..| Che|
00000270  63 6b 20 66 6f 72 20 70  72 65 73 65 6e 63 65 20  |ck for presence |
00000280  6f 66 20 4e 65 77 65 72  4c 6f 6f 6b 2c 20 61 6e  |of NewerLook, an|
00000290  64 20 74 61 6b 65 20 61  63 63 6f 75 6e 74 20 6f  |d take account o|
000002a0  66 20 69 74 0a 49 46 20  22 3c 4e 65 77 65 72 4c  |f it.IF "<NewerL|
000002b0  6f 6f 6b 24 52 65 73 6f  75 72 63 65 73 44 69 72  |ook$ResourcesDir|
000002c0  3e 22 3c 3e 22 22 20 54  48 45 4e 20 53 65 74 20  |>"<>"" THEN Set |
000002d0  41 64 64 53 70 72 69 74  65 73 24 43 6f 6e 74 72  |AddSprites$Contr|
000002e0  6f 6c 20 4f 6e 0a                                 |ol On.|
000002e6