home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / utilities / alert < prev    next >
ArcFS Archive  |  1995-10-01  |  7.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: ArcFS Archive (archive/arcFS).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert ArcFS Archive (archive/arcFS) magic Supported
100% file RISC OS archive (ArcFS format) default
99% file data default
100% TrID Acorn ArcFS Archive default
100% gt2 Kopftext: 'Archive' default (weak)
100% detectItEasy Archive: ArcFS default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 72 63 68 69 76 65 00 | 20 01 00 00 80 01 00 00 |Archive.| .......|
|00000010| 28 00 00 00 64 00 00 00 | 00 00 00 00 00 00 00 00 |(...d...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 82 21 41 6c 65 72 74 00 | 00 00 00 00 ff ff ff ff |.!Alert.|........|
|00000070| 44 ff ff ff cf d4 4c aa | 30 00 00 00 ff ff ff ff |D.....L.|0.......|
|00000080| fc 00 00 80 82 21 48 65 | 6c 70 00 00 70 11 00 00 |.....!He|lp..p...|
|00000090| 64 06 00 00 43 ff ff ff | 56 f5 c3 17 0b 00 40 87 |d...C...|V.....@.|
|000000a0| 64 06 00 00 24 00 00 00 | 82 21 52 75 6e 00 04 00 |d...$...|.!Run...|
|000000b0| 70 11 00 00 d7 00 00 00 | 43 eb ff ff 56 f5 c3 17 |p.......|C...V...|
|000000c0| 0b 00 30 7f d7 00 00 00 | ac 06 00 00 82 21 52 75 |..0.....|.....!Ru|
|000000d0| 6e 49 6d 61 67 65 00 00 | d6 07 00 00 43 fb ff ff |nImage..|....C...|
|000000e0| 56 f5 c3 17 0b 00 32 cf | d6 07 00 00 a7 07 00 00 |V.....2.|........|
|000000f0| 82 21 52 75 6e 49 6d 61 | 67 65 54 00 15 08 00 00 |.!RunIma|geT.....|
|00000100| 43 ff ff ff 56 f5 c3 17 | 0b 00 f6 fc 15 08 00 00 |C...V...|........|
|00000110| a1 0f 00 00 82 21 53 70 | 72 69 74 65 73 00 00 00 |.....!Sp|rites...|
|00000120| 60 03 00 00 43 f9 ff ff | 56 f5 c3 17 0b 00 da 92 |`...C...|V.......|
|00000130| 60 03 00 00 da 17 00 00 | 00 00 00 00 c3 00 04 00 |`.......|........|
|00000140| 70 11 00 00 03 00 00 00 | ff ff ff ff 03 00 c6 00 |p.......|........|
|00000150| 45 fb f3 ff 8b c6 73 8d | 30 be 00 00 00 00 00 00 |E.....s.|0.......|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 d4 01 00 00 |........|........|
|00000180| 46 69 6c 65 44 61 74 61 | 82 21 48 65 6c 70 00 00 |FileData|.!Help..|
|00000190| 70 11 00 00 64 06 00 00 | 43 ff ff ff 56 f5 c3 17 |p...d...|C...V...|
|000001a0| 03 00 40 87 41 6c 65 72 | 74 65 72 20 62 79 20 49 |..@.Aler|ter by I|
|000001b0| 61 6e 20 52 61 77 6c 69 | 6e 67 73 20 41 64 64 72 |an Rawli|ngs Addr|
|000001c0| 65 73 73 65 73 20 61 72 | 65 20 61 73 0a 66 6f 6c |esses ar|e as.fol|
|000001d0| 6c 6f 77 73 2e 0a 0a 48 | 6f 6d 65 20 41 64 64 72 |lows...H|ome Addr|
|000001e0| 65 73 73 3a 20 53 74 2e | 20 4c 61 77 72 65 6e 63 |ess: St.| Lawrenc|
|000001f0| 65 2c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e,. | |
|00000200| 20 53 61 6c 69 73 62 75 | 72 79 20 52 6f 61 64 0a | Salisbu|ry Road.|
|00000210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 57 65 | | We|
|00000220| 73 74 20 57 65 6c 6c 6f | 77 0a 20 20 20 20 20 20 |st Wello|w. |
|00000230| 20 20 20 20 20 20 20 20 | 4e 65 61 72 20 52 6f 6d | |Near Rom|
|00000240| 73 65 79 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |sey. | |
|00000250| 20 20 48 61 6e 74 73 20 | 53 4f 35 31 20 36 41 50 | Hants |SO51 6AP|
|00000260| 0a 0a 54 65 72 6d 20 74 | 69 6d 65 3a 20 20 20 20 |..Term t|ime: |
|00000270| 52 6f 6f 6d 20 32 34 31 | 0a 20 20 20 20 20 20 20 |Room 241|. |
|00000280| 20 20 20 20 20 20 20 43 | 68 69 6c 64 73 20 48 61 | C|hilds Ha|
|00000290| 6c 6c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ll. | |
|000002a0| 20 52 65 61 64 69 6e 67 | 0a 20 20 20 20 20 20 20 | Reading|. |
|000002b0| 20 20 20 20 20 20 20 42 | 65 72 6b 73 68 69 72 65 | B|erkshire|
|000002c0| 20 52 47 31 20 35 4a 57 | 0a 0a 4a 41 4e 45 54 20 | RG1 5JW|..JANET |
|000002d0| 45 4d 41 49 4c 3a 20 20 | 73 73 75 72 61 77 6c 73 |EMAIL: |ssurawls|
|000002e0| 40 75 6b 2e 61 63 2e 72 | 64 67 2e 73 75 73 73 73 |@uk.ac.r|dg.susss|
|000002f0| 79 73 31 0a 0a 57 68 61 | 74 20 74 68 65 20 70 72 |ys1..Wha|t the pr|
|00000300| 6f 67 72 61 6d 20 64 6f | 65 73 3a 0a 0a 57 68 65 |ogram do|es:..Whe|
|00000310| 6e 20 61 20 70 72 6f 67 | 72 61 6d 20 73 75 63 68 |n a prog|ram such|
|00000320| 20 61 73 20 21 53 70 61 | 72 6b 20 74 61 6b 65 73 | as !Spa|rk takes|
|00000330| 20 74 68 65 0a 70 72 6f | 63 65 73 73 6f 72 20 66 | the.pro|cessor f|
|00000340| 6f 72 20 61 20 6c 6f 6e | 67 20 74 69 6d 65 20 74 |or a lon|g time t|
|00000350| 68 65 6e 20 69 74 20 77 | 6f 75 6c 64 20 62 65 0a |hen it w|ould be.|
|00000360| 6e 69 63 65 20 69 66 20 | 69 74 20 77 6f 75 6c 64 |nice if |it would|
|00000370| 20 67 69 76 65 20 79 6f | 75 20 73 6f 6d 65 20 6b | give yo|u some k|
|00000380| 69 6e 64 20 6f 66 0a 69 | 6e 64 69 63 61 74 69 6f |ind of.i|ndicatio|
|00000390| 6e 20 74 68 61 74 20 69 | 74 20 68 61 73 20 66 69 |n that i|t has fi|
|000003a0| 6e 69 73 68 65 64 20 70 | 72 6f 63 65 73 73 69 6e |nished p|rocessin|
|000003b0| 67 2c 0a 61 70 61 72 74 | 20 66 72 6f 6d 20 74 68 |g,.apart| from th|
|000003c0| 65 20 6e 6f 72 6d 61 6c | 69 7a 69 6e 67 20 6f 66 |e normal|izing of|
|000003d0| 20 74 68 65 20 63 75 72 | 73 6f 72 2e 20 54 68 65 | the cur|sor. The|
|000003e0| 0a 73 61 6d 65 20 67 6f | 65 73 20 66 6f 72 20 41 |.same go|es for A|
|000003f0| 44 46 53 20 77 68 65 6e | 20 63 6f 70 79 69 6e 67 |DFS when| copying|
|00000400| 2c 20 65 73 70 65 63 69 | 61 6c 6c 79 0a 74 6f 20 |, especi|ally.to |
|00000410| 61 20 66 6c 6f 70 70 79 | 20 64 69 73 63 2e 0a 0a |a floppy| disc...|
|00000420| 57 68 61 74 20 74 68 69 | 73 20 70 72 6f 67 72 61 |What thi|s progra|
|00000430| 6d 20 64 6f 65 73 20 69 | 73 20 62 65 65 70 20 28 |m does i|s beep (|
|00000440| 56 44 55 37 29 20 69 66 | 0a 61 6e 79 74 68 69 6e |VDU7) if|.anythin|
|00000450| 67 20 63 61 75 73 65 73 | 20 69 74 20 74 6f 20 77 |g causes| it to w|
|00000460| 61 69 74 20 66 6f 72 20 | 6d 6f 72 65 20 74 68 61 |ait for |more tha|
|00000470| 6e 20 61 0a 63 65 72 74 | 61 69 6e 20 6e 75 6d 62 |n a.cert|ain numb|
|00000480| 65 72 20 6f 66 20 63 65 | 6e 74 69 73 65 63 6f 6e |er of ce|ntisecon|
|00000490| 64 73 20 62 65 74 77 65 | 65 6e 0a 57 69 6d 70 50 |ds betwe|en.WimpP|
|000004a0| 6f 6c 6c 73 2e 20 49 74 | 20 73 6c 65 65 70 73 20 |olls. It| sleeps |
|000004b0| 66 6f 72 20 75 70 20 74 | 6f 20 35 30 0a 63 65 6e |for up t|o 50.cen|
|000004c0| 74 69 73 65 63 6f 6e 64 | 73 20 61 6e 64 20 74 68 |tisecond|s and th|
|000004d0| 65 6e 20 72 65 61 64 73 | 20 74 68 65 20 6d 6f 6e |en reads| the mon|
|000004e0| 6f 74 69 63 20 74 69 6d | 65 2e 0a 49 66 20 74 68 |otic tim|e..If th|
|000004f0| 65 20 64 69 66 66 65 72 | 65 6e 63 65 20 62 65 74 |e differ|ence bet|
|00000500| 77 65 65 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |ween the| current|
|00000510| 20 74 69 6d 65 0a 61 6e | 64 20 74 68 65 20 74 69 | time.an|d the ti|
|00000520| 6d 65 20 6d 65 61 73 75 | 72 65 64 20 61 74 20 74 |me measu|red at t|
|00000530| 68 65 20 6c 61 73 74 20 | 6d 65 61 73 75 72 65 6d |he last |measurem|
|00000540| 65 6e 74 0a 69 73 20 67 | 72 65 61 74 65 72 20 74 |ent.is g|reater t|
|00000550| 68 61 6e 20 61 20 63 65 | 72 74 61 69 6e 20 76 65 |han a ce|rtain ve|
|00000560| 6c 75 65 20 74 68 65 6e | 20 69 74 0a 62 65 65 70 |lue then| it.beep|
|00000570| 73 2e 0a 0a 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |s...For |example,|
|00000580| 20 69 66 20 79 6f 75 20 | 73 65 74 20 74 68 65 20 | if you |set the |
|00000590| 73 79 73 74 65 6d 20 76 | 61 72 69 61 62 6c 65 0a |system v|ariable.|
|000005a0| 3c 41 6c 65 72 74 41 66 | 74 65 72 3e 20 69 6e 20 |<AlertAf|ter> in |
|000005b0| 74 68 65 20 21 52 75 6e | 20 66 69 6c 65 20 74 6f |the !Run| file to|
|000005c0| 20 62 65 20 34 30 30 20 | 74 68 65 6e 0a 69 66 20 | be 400 |then.if |
|000005d0| 61 6e 79 20 74 61 73 6b | 20 73 74 65 61 6c 73 20 |any task| steals |
|000005e0| 74 68 65 20 6d 61 63 68 | 69 6e 65 20 66 6f 72 20 |the mach|ine for |
|000005f0| 6d 6f 72 65 20 74 68 61 | 6e 0a 34 20 73 65 63 6f |more tha|n.4 seco|
|00000600| 6e 64 73 20 74 68 65 6e | 20 77 68 65 6e 20 69 74 |nds then| when it|
|00000610| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 6d 61 63 | returns| the mac|
|00000620| 68 69 6e 65 0a 41 6c 65 | 72 74 65 72 20 77 69 6c |hine.Ale|rter wil|
|00000630| 6c 20 62 65 65 70 2c 20 | 61 6c 65 72 74 69 6e 67 |l beep, |alerting|
|00000640| 20 79 6f 75 20 74 6f 20 | 74 68 65 20 66 61 63 74 | you to |the fact|
|00000650| 0a 74 68 61 74 20 79 6f | 75 20 6e 6f 77 20 68 61 |.that yo|u now ha|
|00000660| 76 65 20 63 6f 6e 74 72 | 6f 6c 20 6f 76 65 72 20 |ve contr|ol over |
|00000670| 79 6f 75 72 20 62 65 61 | 75 74 69 66 75 6c 0a 41 |your bea|utiful.A|
|00000680| 72 63 68 69 6d 65 64 65 | 73 20 61 67 61 69 6e 2e |rchimede|s again.|
|00000690| 20 54 68 65 20 76 61 6c | 75 65 20 6f 66 20 3c 41 | The val|ue of <A|
|000006a0| 6c 65 72 74 41 66 74 65 | 72 3e 0a 69 73 20 72 65 |lertAfte|r>.is re|
|000006b0| 61 64 20 65 76 65 72 79 | 20 2e 35 20 73 65 63 6f |ad every| .5 seco|
|000006c0| 6e 64 73 20 73 6f 20 79 | 6f 75 20 63 61 6e 0a 65 |nds so y|ou can.e|
|000006d0| 78 70 65 72 69 6d 65 6e | 74 20 74 6f 20 66 69 6e |xperimen|t to fin|
|000006e0| 64 20 74 68 65 20 6f 70 | 74 69 6d 61 6c 20 76 61 |d the op|timal va|
|000006f0| 6c 75 65 20 66 6f 72 0a | 79 6f 75 72 73 65 6c 66 |lue for.|yourself|
|00000700| 2e 0a 0a 49 74 27 73 20 | 61 20 76 65 72 79 20 73 |...It's |a very s|
|00000710| 6d 61 6c 6c 20 75 74 69 | 6c 69 74 79 2c 20 79 65 |mall uti|lity, ye|
|00000720| 74 20 69 74 20 74 61 6b | 65 73 20 31 36 6b 0a 6f |t it tak|es 16k.o|
|00000730| 66 20 77 69 6d 70 73 6c | 6f 74 20 61 73 20 74 68 |f wimpsl|ot as th|
|00000740| 61 74 20 73 65 65 6d 73 | 20 74 6f 20 62 65 20 74 |at seems| to be t|
|00000750| 68 65 20 6d 69 6e 69 6d | 75 6d 0a 74 68 61 74 20 |he minim|um.that |
|00000760| 61 20 62 61 73 69 63 20 | 70 72 6f 67 72 61 6d 20 |a basic |program |
|00000770| 63 61 6e 20 74 61 6b 65 | 2e 20 41 6e 79 6f 6e 65 |can take|. Anyone|
|00000780| 20 6b 6e 6f 77 0a 65 78 | 61 63 74 6c 79 20 77 68 | know.ex|actly wh|
|00000790| 79 2c 20 61 6e 64 20 69 | 73 20 74 68 65 72 65 20 |y, and i|s there |
|000007a0| 61 20 77 61 79 20 61 72 | 6f 75 6e 64 20 74 68 69 |a way ar|ound thi|
|000007b0| 73 3f 0a 49 20 68 61 76 | 65 6e 27 74 20 62 6f 74 |s?.I hav|en't bot|
|000007c0| 68 65 72 65 64 20 74 6f | 20 66 69 6e 64 20 6f 75 |hered to| find ou|
|000007d0| 74 20 61 73 20 69 74 20 | 69 73 6e 27 74 0a 72 65 |t as it |isn't.re|
|000007e0| 61 6c 6c 79 20 69 6d 70 | 6f 72 74 61 6e 74 20 62 |ally imp|ortant b|
|000007f0| 75 74 20 49 20 77 6f 75 | 6c 64 20 6c 69 6b 65 20 |ut I wou|ld like |
|00000800| 74 6f 20 6b 6e 6f 77 2e | 46 69 6c 65 44 61 74 61 |to know.|FileData|
|00000810| 82 21 52 75 6e 00 04 00 | 70 11 00 00 d7 00 00 00 |.!Run...|p.......|
|00000820| 43 eb ff ff 56 f5 c3 17 | 03 00 30 7f 49 63 6f 6e |C...V...|..0.Icon|
|00000830| 53 70 72 69 74 65 73 20 | 3c 4f 62 65 79 24 44 69 |Sprites |<Obey$Di|
|00000840| 72 3e 2e 21 53 70 72 69 | 74 65 73 0a 57 69 6d 70 |r>.!Spri|tes.Wimp|
|00000850| 53 6c 6f 74 20 2d 6d 69 | 6e 20 31 36 4b 20 2d 6d |Slot -mi|n 16K -m|
|00000860| 61 78 20 31 36 4b 0a 7c | 20 53 65 74 20 6e 75 6d |ax 16K.|| Set num|
|00000870| 62 65 72 20 6f 66 20 63 | 65 6e 74 69 73 65 63 6f |ber of c|entiseco|
|00000880| 6e 64 73 20 74 68 61 74 | 20 61 6e 79 20 6f 74 68 |nds that| any oth|
|00000890| 65 72 20 70 72 6f 63 65 | 73 73 0a 7c 20 63 61 6e |er proce|ss.| can|
|000008a0| 20 74 61 6b 65 20 62 65 | 66 6f 72 65 20 41 6c 65 | take be|fore Ale|
|000008b0| 72 74 65 72 20 67 65 74 | 73 20 70 69 73 73 65 64 |rter get|s pissed|
|000008c0| 20 6f 66 66 20 69 6e 20 | 74 68 65 20 6e 65 78 74 | off in |the next|
|000008d0| 20 73 74 61 74 65 6d 65 | 6e 74 0a 53 65 74 20 41 | stateme|nt.Set A|
|000008e0| 6c 65 72 74 41 66 74 65 | 72 20 34 30 30 0a 3c 4f |lertAfte|r 400.<O|
|000008f0| 62 65 79 24 44 69 72 3e | 2e 21 52 75 6e 49 6d 61 |bey$Dir>|.!RunIma|
|00000900| 67 65 0a 46 69 6c 65 44 | 61 74 61 82 21 52 75 6e |ge.FileD|ata.!Run|
|00000910| 49 6d 61 67 65 00 00 d6 | 07 00 00 43 fb ff ff 56 |Image...|...C...V|
|00000920| f5 c3 17 03 00 32 cf 0d | 00 0a 05 3a 0d 00 14 47 |.....2..|...:...G|
|00000930| f4 20 53 6d 61 6c 6c 20 | 70 72 6f 67 72 61 6d 20 |. Small |program |
|00000940| 62 79 20 49 61 6e 20 52 | 61 77 6c 69 6e 67 73 20 |by Ian R|awlings |
|00000950| 74 68 61 74 20 77 69 6c | 6c 20 62 65 65 70 20 69 |that wil|l beep i|
|00000960| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 67 69 76 65 |f it is |not give|
|00000970| 6e 20 61 0d 00 1e 46 f4 | 20 50 6f 6c 6c 69 6e 67 |n a...F.| Polling|
|00000980| 20 74 75 72 6e 20 66 6f | 72 20 6d 6f 72 65 20 74 | turn fo|r more t|
|00000990| 68 61 6e 20 58 20 73 65 | 63 6f 6e 64 73 20 61 66 |han X se|conds af|
|000009a0| 74 65 72 20 74 68 65 20 | 6c 61 73 74 20 6f 6e 65 |ter the |last one|
|000009b0| 2e 20 54 68 69 73 20 69 | 73 0d 00 28 47 f4 20 74 |. This i|s..(G. t|
|000009c0| 6f 20 61 6c 65 72 74 20 | 74 68 65 20 75 73 65 72 |o alert |the user|
|000009d0| 20 77 68 65 6e 20 61 6e | 6f 74 68 65 72 20 74 61 | when an|other ta|
|000009e0| 73 6b 20 68 61 73 20 72 | 65 74 75 72 6e 65 64 20 |sk has r|eturned |
|000009f0| 66 72 6f 6d 20 61 20 6c | 6f 6e 67 20 74 61 73 6b |from a l|ong task|
|00000a00| 0d 00 32 32 f4 20 65 67 | 20 66 69 6c 65 72 20 72 |..22. eg| filer r|
|00000a10| 65 74 75 72 6e 69 6e 67 | 20 66 72 6f 6d 20 63 6f |eturning| from co|
|00000a20| 70 79 69 6e 67 20 74 6f | 20 61 20 66 6c 6f 70 70 |pying to| a flopp|
|00000a30| 79 2e 0d 00 3c 32 f4 20 | 58 20 69 73 20 73 65 74 |y...<2. |X is set|
|00000a40| 20 62 79 20 74 68 65 20 | 73 79 73 74 65 6d 20 76 | by the |system v|
|00000a50| 61 72 69 61 62 6c 65 20 | 3c 41 6c 65 72 74 41 66 |ariable |<AlertAf|
|00000a60| 74 65 72 3e 0d 00 46 05 | 3a 0d 00 50 05 3a 0d 00 |ter>..F.|:..P.:..|
|00000a70| 5a 0f f2 49 6e 69 74 69 | 61 6c 69 73 65 0d 00 64 |Z..Initi|alise..d|
|00000a80| 0d f2 57 69 6d 70 50 6f | 6c 6c 0d 00 6e 22 c8 99 |..WimpPo|ll..n"..|
|00000a90| 20 22 57 69 6d 70 5f 43 | 6c 6f 73 65 44 6f 77 6e | "Wimp_C|loseDown|
|00000aa0| 22 2c 2c 26 34 62 35 33 | 34 31 35 34 0d 00 78 05 |",,&4b53|4154..x.|
|00000ab0| e0 0d 00 82 05 3a 0d 00 | 8c 11 dd 20 f2 49 6e 69 |.....:..|... .Ini|
|00000ac0| 74 69 61 6c 69 73 65 0d | 00 96 42 f4 20 48 65 72 |tialise.|..B. Her|
|00000ad0| 65 60 73 20 77 68 65 72 | 65 20 61 6c 6c 20 74 68 |e`s wher|e all th|
|00000ae0| 65 20 6d 65 6d 6f 72 79 | 20 62 6c 6f 63 6b 73 20 |e memory| blocks |
|00000af0| 61 72 65 20 72 65 73 65 | 72 76 65 64 2c 20 61 6e |are rese|rved, an|
|00000b00| 64 20 61 6c 6c 20 74 68 | 65 0d 00 a0 21 f4 20 57 |d all th|e...!. W|
|00000b10| 69 6d 70 2d 69 73 68 20 | 74 68 69 6e 67 73 20 61 |imp-ish |things a|
|00000b20| 72 65 20 73 65 74 20 75 | 70 2e 0d 00 aa 22 71 75 |re set u|p...."qu|
|00000b30| 69 74 25 3d a3 3a f4 20 | 73 69 67 6e 61 6c 73 20 |it%=.:. |signals |
|00000b40| 77 68 65 6e 20 74 6f 20 | 71 75 69 74 0d 00 b4 47 |when to |quit...G|
|00000b50| c8 99 20 22 57 69 6d 70 | 5f 49 6e 69 74 69 61 6c |.. "Wimp|_Initial|
|00000b60| 69 73 65 22 2c 32 30 30 | 2c 26 34 62 35 33 34 31 |ise",200|,&4b5341|
|00000b70| 35 34 2c 22 41 6c 65 72 | 74 65 72 22 20 b8 20 76 |54,"Aler|ter" . v|
|00000b80| 65 72 73 69 6f 6e 25 2c | 54 61 73 6b 48 61 6e 64 |ersion%,|TaskHand|
|00000b90| 6c 65 25 0d 00 be 36 de | 20 72 65 74 25 20 20 32 |le%...6.| ret% 2|
|00000ba0| 35 36 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |56 | |
|00000bb0| 20 3a f4 20 46 6f 72 20 | 57 69 6d 70 5f 50 6f 6c | :. For |Wimp_Pol|
|00000bc0| 6c 20 72 65 74 75 72 6e | 73 0d 00 c8 05 e1 0d 00 |l return|s.......|
|00000bd0| d2 05 3a 0d 00 dc 05 3a | 0d 00 e6 0f dd 20 f2 57 |..:....:|..... .W|
|00000be0| 69 6d 70 50 6f 6c 6c 0d | 00 f0 0f 57 69 6d 70 4d |impPoll.|...WimpM|
|00000bf0| 61 73 6b 25 3d 30 0d 00 | fa 05 f5 0d 01 04 24 c8 |ask%=0..|......$.|
|00000c00| 99 22 4f 53 5f 52 65 61 | 64 4d 6f 6e 6f 74 6f 6e |."OS_Rea|dMonoton|
|00000c10| 69 63 54 69 6d 65 22 20 | b8 20 74 69 6d 65 25 0d |icTime" |. time%.|
|00000c20| 01 0e 0d 74 69 6d 65 25 | 2b 3d 35 30 0d 01 18 35 |...time%|+=50...5|
|00000c30| c8 99 20 22 57 69 6d 70 | 5f 50 6f 6c 6c 49 64 6c |.. "Wimp|_PollIdl|
|00000c40| 65 22 2c 57 69 6d 70 4d | 61 73 6b 25 2c 72 65 74 |e",WimpM|ask%,ret|
|00000c50| 25 2c 74 69 6d 65 25 20 | b8 20 72 65 61 73 6f 6e |%,time% |. reason|
|00000c60| 25 0d 01 22 12 c8 8e 20 | 28 72 65 61 73 6f 6e 25 |%.."... |(reason%|
|00000c70| 29 20 ca 0d 01 2c 16 c9 | 20 20 30 3a f2 47 6f 74 |) ...,..| 0:.Got|
|00000c80| 4e 75 6c 6c 45 76 65 6e | 74 0d 01 36 3b c9 20 20 |NullEven|t..6;. |
|00000c90| 31 3a f2 57 4d 3a f4 20 | 52 65 64 72 61 77 20 57 |1:.WM:. |Redraw W|
|00000ca0| 69 6e 64 6f 77 2e 20 4f | 6e 6c 79 20 66 6f 72 20 |indow. O|nly for |
|00000cb0| 4e 6f 6e 2d 61 75 74 6f | 64 72 61 77 20 77 69 6e |Non-auto|draw win|
|00000cc0| 64 6f 77 73 0d 01 40 1f | c9 20 20 32 3a f4 20 4f |dows..@.|. 2:. O|
|00000cd0| 70 65 6e 20 57 69 6e 64 | 6f 77 20 72 65 71 75 65 |pen Wind|ow reque|
|00000ce0| 73 74 2e 0d 01 4a 1f c9 | 20 20 33 3a f4 20 43 6c |st...J..| 3:. Cl|
|00000cf0| 6f 73 65 20 57 69 6e 64 | 6f 77 20 72 65 71 75 65 |ose Wind|ow reque|
|00000d00| 73 74 0d 01 54 25 c9 20 | 20 34 3a f2 57 4d 3a f4 |st..T%. | 4:.WM:.|
|00000d10| 20 50 6f 69 6e 74 65 72 | 20 4c 65 61 76 69 6e 67 | Pointer| Leaving|
|00000d20| 20 77 69 6e 64 6f 77 0d | 01 5e 26 c9 20 20 35 3a | window.|.^&. 5:|
|00000d30| f2 57 4d 3a f4 20 50 6f | 69 6e 74 65 72 20 45 6e |.WM:. Po|inter En|
|00000d40| 74 65 72 69 6e 67 20 57 | 69 6e 64 6f 77 0d 01 68 |tering W|indow..h|
|00000d50| 1a c9 20 20 36 3a f2 57 | 4d 3a f4 20 4d 6f 75 73 |.. 6:.W|M:. Mous|
|00000d60| 65 20 43 6c 69 63 6b 0d | 01 72 18 c9 20 20 37 3a |e Click.|.r.. 7:|
|00000d70| f4 20 55 73 65 72 20 64 | 72 61 67 20 62 6f 78 0d |. User d|rag box.|
|00000d80| 01 7c 1a c9 20 20 38 3a | f2 57 4d 3a f4 20 4b 65 |.|.. 8:|.WM:. Ke|
|00000d90| 79 20 70 72 65 73 73 65 | 64 0d 01 86 19 c9 20 20 |y presse|d..... |
|00000da0| 39 3a f4 20 4d 65 6e 75 | 20 53 65 6c 65 63 74 69 |9:. Menu| Selecti|
|00000db0| 6f 6e 0d 01 90 19 c9 20 | 31 30 3a f4 20 53 63 72 |on..... |10:. Scr|
|00000dc0| 6f 6c 6c 20 52 65 71 75 | 65 73 74 0d 01 9a 1e c9 |oll Requ|est.....|
|00000dd0| 20 31 31 3a f2 57 4d 3a | f4 20 4c 6f 73 65 20 54 | 11:.WM:|. Lose T|
|00000de0| 65 78 74 20 43 61 72 65 | 74 0d 01 a4 1e c9 20 31 |ext Care|t..... 1|
|00000df0| 32 3a f2 57 4d 3a f4 20 | 47 61 69 6e 20 54 65 78 |2:.WM:. |Gain Tex|
|00000e00| 74 20 43 61 72 65 74 0d | 01 ae 11 c9 20 31 37 3a |t Caret.|.... 17:|
|00000e10| f2 4d 65 73 73 61 67 65 | 0d 01 b8 11 c9 20 31 38 |.Message|..... 18|
|00000e20| 3a f2 4d 65 73 73 61 67 | 65 0d 01 c2 27 c9 20 31 |:.Messag|e...'. 1|
|00000e30| 39 3a f2 57 4d 3a f4 20 | 55 73 65 72 20 6d 65 73 |9:.WM:. |User mes|
|00000e40| 73 61 67 65 20 61 63 6b | 6e 6f 77 6c 65 64 67 65 |sage ack|nowledge|
|00000e50| 0d 01 cc 05 cb 0d 01 d6 | 0b fd 20 71 75 69 74 25 |........|.. quit%|
|00000e60| 0d 01 e0 05 e1 0d 01 ea | 05 3a 0d 01 f4 05 3a 0d |........|.:....:.|
|00000e70| 01 fe 09 dd 20 f2 57 4d | 0d 02 08 3d f4 20 49 66 |.... .WM|...=. If|
|00000e80| 20 74 68 69 73 20 72 6f | 75 74 69 6e 65 20 69 73 | this ro|utine is|
|00000e90| 20 63 61 6c 6c 65 64 20 | 74 68 65 6e 20 74 68 65 | called |then the|
|00000ea0| 20 72 65 61 73 6f 6e 20 | 63 6f 64 65 20 67 69 76 | reason |code giv|
|00000eb0| 65 6e 20 62 79 0d 02 12 | 40 f4 20 57 69 6d 70 50 |en by...|@. WimpP|
|00000ec0| 6f 6c 6c 20 69 73 20 75 | 6e 75 73 65 64 2c 20 73 |oll is u|nused, s|
|00000ed0| 6f 20 57 69 6d 70 4d 61 | 73 6b 20 69 73 20 75 70 |o WimpMa|sk is up|
|00000ee0| 64 61 74 65 64 20 74 6f | 20 6d 61 73 6b 20 69 74 |dated to| mask it|
|00000ef0| 20 6f 75 74 2e 0d 02 1c | 23 57 69 6d 70 4d 61 73 | out....|#WimpMas|
|00000f00| 6b 25 3d 57 69 6d 70 4d | 61 73 6b 25 20 84 20 32 |k%=WimpM|ask% . 2|
|00000f10| 5e 72 65 61 73 6f 6e 25 | 0d 02 26 05 e1 0d 02 30 |^reason%|..&....0|
|00000f20| 05 3a 0d 02 3a 05 3a 0d | 02 44 13 dd 20 f2 47 6f |.:..:.:.|.D.. .Go|
|00000f30| 74 4e 75 6c 6c 45 76 65 | 6e 74 0d 02 4e 25 c8 99 |tNullEve|nt..N%..|
|00000f40| 22 4f 53 5f 52 65 61 64 | 4d 6f 6e 6f 74 6f 6e 69 |"OS_Read|Monotoni|
|00000f50| 63 54 69 6d 65 22 20 b8 | 20 74 69 6d 65 32 25 0d |cTime" .| time2%.|
|00000f60| 02 58 39 e7 20 74 69 6d | 65 32 25 2d 74 69 6d 65 |.X9. tim|e2%-time|
|00000f70| 25 3e 28 bb a4 45 76 61 | 6c 53 59 53 56 61 72 69 |%>(..Eva|lSYSVari|
|00000f80| 61 62 6c 65 28 22 41 6c | 65 72 74 41 66 74 65 72 |able("Al|ertAfter|
|00000f90| 22 29 29 20 8c 20 ef 37 | 0d 02 62 05 e1 0d 02 6c |")) . .7|..b....l|
|00000fa0| 05 3a 0d 02 76 05 3a 0d | 02 80 0e dd 20 f2 4d 65 |.:..v.:.|.... .Me|
|00000fb0| 73 73 61 67 65 0d 02 8a | 12 c8 8e 20 28 72 65 74 |ssage...|... (ret|
|00000fc0| 25 21 31 36 29 20 ca 0d | 02 94 0f c9 20 30 3a 71 |%!16) ..|.... 0:q|
|00000fd0| 75 69 74 25 3d b9 0d 02 | 9e 05 cb 0d 02 a8 05 e1 |uit%=...|........|
|00000fe0| 0d 02 b2 05 3a 0d 02 bc | 05 3a 0d 02 c6 1c dd 20 |....:...|.:..... |
|00000ff0| a4 45 76 61 6c 53 59 53 | 56 61 72 69 61 62 6c 65 |.EvalSYS|Variable|
|00001000| 28 56 61 72 24 29 0d 02 | d0 42 20 f4 20 46 65 65 |(Var$)..|.B . Fee|
|00001010| 64 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |d the na|me of th|
|00001020| 65 20 76 61 72 69 61 62 | 6c 65 20 6f 6e 6c 79 20 |e variab|le only |
|00001030| 69 6e 74 6f 20 74 68 65 | 20 61 72 67 75 6d 65 6e |into the| argumen|
|00001040| 74 20 69 65 20 6e 6f 74 | 0d 02 da 40 20 f4 20 3c |t ie not|...@ . <|
|00001050| 6f 62 65 79 24 44 69 72 | 3e 20 6f 72 20 4f 62 65 |obey$Dir|> or Obe|
|00001060| 79 24 44 69 72 20 62 75 | 74 20 22 4f 62 65 79 24 |y$Dir bu|t "Obey$|
|00001070| 44 69 72 22 2e 20 54 68 | 65 20 46 4e 20 77 69 6c |Dir". Th|e FN wil|
|00001080| 6c 20 72 65 74 75 72 6e | 0d 02 e4 1f 20 f4 20 74 |l return|.... . t|
|00001090| 68 65 20 76 61 6c 75 65 | 20 61 73 20 61 73 63 69 |he value| as asci|
|000010a0| 69 20 74 65 78 74 2e 0d | 02 ee 36 20 c8 99 20 22 |i text..|..6 .. "|
|000010b0| 4f 53 5f 45 76 61 6c 75 | 61 74 65 45 78 70 72 65 |OS_Evalu|ateExpre|
|000010c0| 73 73 69 6f 6e 22 2c 56 | 61 72 24 2c 72 65 74 25 |ssion",V|ar$,ret%|
|000010d0| 2c 31 30 30 20 b8 20 2c | 74 25 2c 6c 25 0d 02 f8 |,100 . ,|t%,l%...|
|000010e0| 0f 20 72 65 74 25 3f 6c | 25 3d 31 33 0d 03 02 0a |. ret%?l|%=13....|
|000010f0| 3d 24 72 65 74 25 0d 03 | 0c 05 3a 0d ff 46 69 6c |=$ret%..|..:..Fil|
|00001100| 65 44 61 74 61 82 21 52 | 75 6e 49 6d 61 67 65 54 |eData.!R|unImageT|
|00001110| 00 15 08 00 00 43 ff ff | ff 56 f5 c3 17 03 00 f6 |.....C..|.V......|
|00001120| fc 3a 0a 52 45 4d 20 53 | 6d 61 6c 6c 20 70 72 6f |.:.REM S|mall pro|
|00001130| 67 72 61 6d 20 62 79 20 | 49 61 6e 20 52 61 77 6c |gram by |Ian Rawl|
|00001140| 69 6e 67 73 20 74 68 61 | 74 20 77 69 6c 6c 20 62 |ings tha|t will b|
|00001150| 65 65 70 20 69 66 20 69 | 74 20 69 73 20 6e 6f 74 |eep if i|t is not|
|00001160| 20 67 69 76 65 6e 20 61 | 0a 52 45 4d 20 50 6f 6c | given a|.REM Pol|
|00001170| 6c 69 6e 67 20 74 75 72 | 6e 20 66 6f 72 20 6d 6f |ling tur|n for mo|
|00001180| 72 65 20 74 68 61 6e 20 | 58 20 73 65 63 6f 6e 64 |re than |X second|
|00001190| 73 20 61 66 74 65 72 20 | 74 68 65 20 6c 61 73 74 |s after |the last|
|000011a0| 20 6f 6e 65 2e 20 54 68 | 69 73 20 69 73 0a 52 45 | one. Th|is is.RE|
|000011b0| 4d 20 74 6f 20 61 6c 65 | 72 74 20 74 68 65 20 75 |M to ale|rt the u|
|000011c0| 73 65 72 20 77 68 65 6e | 20 61 6e 6f 74 68 65 72 |ser when| another|
|000011d0| 20 74 61 73 6b 20 68 61 | 73 20 72 65 74 75 72 6e | task ha|s return|
|000011e0| 65 64 20 66 72 6f 6d 20 | 61 20 6c 6f 6e 67 20 74 |ed from |a long t|
|000011f0| 61 73 6b 0a 52 45 4d 20 | 65 67 20 66 69 6c 65 72 |ask.REM |eg filer|
|00001200| 20 72 65 74 75 72 6e 69 | 6e 67 20 66 72 6f 6d 20 | returni|ng from |
|00001210| 63 6f 70 79 69 6e 67 20 | 74 6f 20 61 20 66 6c 6f |copying |to a flo|
|00001220| 70 70 79 2e 0a 52 45 4d | 20 58 20 69 73 20 73 65 |ppy..REM| X is se|
|00001230| 74 20 62 79 20 74 68 65 | 20 73 79 73 74 65 6d 20 |t by the| system |
|00001240| 76 61 72 69 61 62 6c 65 | 20 3c 41 6c 65 72 74 41 |variable| <AlertA|
|00001250| 66 74 65 72 3e 0a 3a 0a | 3a 0a 50 52 4f 43 49 6e |fter>.:.|:.PROCIn|
|00001260| 69 74 69 61 6c 69 73 65 | 0a 50 52 4f 43 57 69 6d |itialise|.PROCWim|
|00001270| 70 50 6f 6c 6c 0a 53 59 | 53 20 22 57 69 6d 70 5f |pPoll.SY|S "Wimp_|
|00001280| 43 6c 6f 73 65 44 6f 77 | 6e 22 2c 2c 26 34 62 35 |CloseDow|n",,&4b5|
|00001290| 33 34 31 35 34 0a 45 4e | 44 0a 3a 0a 44 45 46 20 |34154.EN|D.:.DEF |
|000012a0| 50 52 4f 43 49 6e 69 74 | 69 61 6c 69 73 65 0a 52 |PROCInit|ialise.R|
|000012b0| 45 4d 20 48 65 72 65 60 | 73 20 77 68 65 72 65 20 |EM Here`|s where |
|000012c0| 61 6c 6c 20 74 68 65 20 | 6d 65 6d 6f 72 79 20 62 |all the |memory b|
|000012d0| 6c 6f 63 6b 73 20 61 72 | 65 20 72 65 73 65 72 76 |locks ar|e reserv|
|000012e0| 65 64 2c 20 61 6e 64 20 | 61 6c 6c 20 74 68 65 0a |ed, and |all the.|
|000012f0| 52 45 4d 20 57 69 6d 70 | 2d 69 73 68 20 74 68 69 |REM Wimp|-ish thi|
|00001300| 6e 67 73 20 61 72 65 20 | 73 65 74 20 75 70 2e 0a |ngs are |set up..|
|00001310| 71 75 69 74 25 3d 46 41 | 4c 53 45 3a 52 45 4d 20 |quit%=FA|LSE:REM |
|00001320| 73 69 67 6e 61 6c 73 20 | 77 68 65 6e 20 74 6f 20 |signals |when to |
|00001330| 71 75 69 74 0a 53 59 53 | 20 22 57 69 6d 70 5f 49 |quit.SYS| "Wimp_I|
|00001340| 6e 69 74 69 61 6c 69 73 | 65 22 2c 32 30 30 2c 26 |nitialis|e",200,&|
|00001350| 34 62 35 33 34 31 35 34 | 2c 22 41 6c 65 72 74 65 |4b534154|,"Alerte|
|00001360| 72 22 20 54 4f 20 76 65 | 72 73 69 6f 6e 25 2c 54 |r" TO ve|rsion%,T|
|00001370| 61 73 6b 48 61 6e 64 6c | 65 25 0a 44 49 4d 20 72 |askHandl|e%.DIM r|
|00001380| 65 74 25 20 20 32 35 36 | 20 20 20 20 20 20 20 20 |et% 256| |
|00001390| 20 20 20 20 20 20 20 3a | 52 45 4d 20 46 6f 72 20 | :|REM For |
|000013a0| 57 69 6d 70 5f 50 6f 6c | 6c 20 72 65 74 75 72 6e |Wimp_Pol|l return|
|000013b0| 73 0a 45 4e 44 50 52 4f | 43 0a 3a 0a 3a 0a 44 45 |s.ENDPRO|C.:.:.DE|
|000013c0| 46 20 50 52 4f 43 57 69 | 6d 70 50 6f 6c 6c 0a 57 |F PROCWi|mpPoll.W|
|000013d0| 69 6d 70 4d 61 73 6b 25 | 3d 30 0a 52 45 50 45 41 |impMask%|=0.REPEA|
|000013e0| 54 0a 53 59 53 22 4f 53 | 5f 52 65 61 64 4d 6f 6e |T.SYS"OS|_ReadMon|
|000013f0| 6f 74 6f 6e 69 63 54 69 | 6d 65 22 20 54 4f 20 74 |otonicTi|me" TO t|
|00001400| 69 6d 65 25 0a 74 69 6d | 65 25 2b 3d 35 30 0a 53 |ime%.tim|e%+=50.S|
|00001410| 59 53 20 22 57 69 6d 70 | 5f 50 6f 6c 6c 49 64 6c |YS "Wimp|_PollIdl|
|00001420| 65 22 2c 57 69 6d 70 4d | 61 73 6b 25 2c 72 65 74 |e",WimpM|ask%,ret|
|00001430| 25 2c 74 69 6d 65 25 20 | 54 4f 20 72 65 61 73 6f |%,time% |TO reaso|
|00001440| 6e 25 0a 43 41 53 45 20 | 28 72 65 61 73 6f 6e 25 |n%.CASE |(reason%|
|00001450| 29 20 4f 46 20 20 20 20 | 20 20 20 20 20 20 20 20 |) OF | |
|00001460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001470| 20 20 20 20 20 20 20 20 | 20 20 0a 57 48 45 4e 20 | | .WHEN |
|00001480| 20 30 3a 50 52 4f 43 47 | 6f 74 4e 75 6c 6c 45 76 | 0:PROCG|otNullEv|
|00001490| 65 6e 74 0a 57 48 45 4e | 20 20 31 3a 50 52 4f 43 |ent.WHEN| 1:PROC|
|000014a0| 57 4d 3a 52 45 4d 20 52 | 65 64 72 61 77 20 57 69 |WM:REM R|edraw Wi|
|000014b0| 6e 64 6f 77 2e 20 4f 6e | 6c 79 20 66 6f 72 20 4e |ndow. On|ly for N|
|000014c0| 6f 6e 2d 61 75 74 6f 64 | 72 61 77 20 77 69 6e 64 |on-autod|raw wind|
|000014d0| 6f 77 73 0a 57 48 45 4e | 20 20 32 3a 52 45 4d 20 |ows.WHEN| 2:REM |
|000014e0| 4f 70 65 6e 20 57 69 6e | 64 6f 77 20 72 65 71 75 |Open Win|dow requ|
|000014f0| 65 73 74 2e 0a 57 48 45 | 4e 20 20 33 3a 52 45 4d |est..WHE|N 3:REM|
|00001500| 20 43 6c 6f 73 65 20 57 | 69 6e 64 6f 77 20 72 65 | Close W|indow re|
|00001510| 71 75 65 73 74 0a 57 48 | 45 4e 20 20 34 3a 50 52 |quest.WH|EN 4:PR|
|00001520| 4f 43 57 4d 3a 52 45 4d | 20 50 6f 69 6e 74 65 72 |OCWM:REM| Pointer|
|00001530| 20 4c 65 61 76 69 6e 67 | 20 77 69 6e 64 6f 77 0a | Leaving| window.|
|00001540| 57 48 45 4e 20 20 35 3a | 50 52 4f 43 57 4d 3a 52 |WHEN 5:|PROCWM:R|
|00001550| 45 4d 20 50 6f 69 6e 74 | 65 72 20 45 6e 74 65 72 |EM Point|er Enter|
|00001560| 69 6e 67 20 57 69 6e 64 | 6f 77 0a 57 48 45 4e 20 |ing Wind|ow.WHEN |
|00001570| 20 36 3a 50 52 4f 43 57 | 4d 3a 52 45 4d 20 4d 6f | 6:PROCW|M:REM Mo|
|00001580| 75 73 65 20 43 6c 69 63 | 6b 0a 57 48 45 4e 20 20 |use Clic|k.WHEN |
|00001590| 37 3a 52 45 4d 20 55 73 | 65 72 20 64 72 61 67 20 |7:REM Us|er drag |
|000015a0| 62 6f 78 0a 57 48 45 4e | 20 20 38 3a 50 52 4f 43 |box.WHEN| 8:PROC|
|000015b0| 57 4d 3a 52 45 4d 20 4b | 65 79 20 70 72 65 73 73 |WM:REM K|ey press|
|000015c0| 65 64 0a 57 48 45 4e 20 | 20 39 3a 52 45 4d 20 4d |ed.WHEN | 9:REM M|
|000015d0| 65 6e 75 20 53 65 6c 65 | 63 74 69 6f 6e 0a 57 48 |enu Sele|ction.WH|
|000015e0| 45 4e 20 31 30 3a 52 45 | 4d 20 53 63 72 6f 6c 6c |EN 10:RE|M Scroll|
|000015f0| 20 52 65 71 75 65 73 74 | 0a 57 48 45 4e 20 31 31 | Request|.WHEN 11|
|00001600| 3a 50 52 4f 43 57 4d 3a | 52 45 4d 20 4c 6f 73 65 |:PROCWM:|REM Lose|
|00001610| 20 54 65 78 74 20 43 61 | 72 65 74 0a 57 48 45 4e | Text Ca|ret.WHEN|
|00001620| 20 31 32 3a 50 52 4f 43 | 57 4d 3a 52 45 4d 20 47 | 12:PROC|WM:REM G|
|00001630| 61 69 6e 20 54 65 78 74 | 20 43 61 72 65 74 0a 57 |ain Text| Caret.W|
|00001640| 48 45 4e 20 31 37 3a 50 | 52 4f 43 4d 65 73 73 61 |HEN 17:P|ROCMessa|
|00001650| 67 65 0a 57 48 45 4e 20 | 31 38 3a 50 52 4f 43 4d |ge.WHEN |18:PROCM|
|00001660| 65 73 73 61 67 65 0a 57 | 48 45 4e 20 31 39 3a 50 |essage.W|HEN 19:P|
|00001670| 52 4f 43 57 4d 3a 52 45 | 4d 20 55 73 65 72 20 6d |ROCWM:RE|M User m|
|00001680| 65 73 73 61 67 65 20 61 | 63 6b 6e 6f 77 6c 65 64 |essage a|cknowled|
|00001690| 67 65 0a 45 4e 44 43 41 | 53 45 0a 55 4e 54 49 4c |ge.ENDCA|SE.UNTIL|
|000016a0| 20 71 75 69 74 25 0a 45 | 4e 44 50 52 4f 43 0a 3a | quit%.E|NDPROC.:|
|000016b0| 0a 3a 0a 44 45 46 20 50 | 52 4f 43 57 4d 0a 52 45 |.:.DEF P|ROCWM.RE|
|000016c0| 4d 20 49 66 20 74 68 69 | 73 20 72 6f 75 74 69 6e |M If thi|s routin|
|000016d0| 65 20 69 73 20 63 61 6c | 6c 65 64 20 74 68 65 6e |e is cal|led then|
|000016e0| 20 74 68 65 20 72 65 61 | 73 6f 6e 20 63 6f 64 65 | the rea|son code|
|000016f0| 20 67 69 76 65 6e 20 62 | 79 0a 52 45 4d 20 57 69 | given b|y.REM Wi|
|00001700| 6d 70 50 6f 6c 6c 20 69 | 73 20 75 6e 75 73 65 64 |mpPoll i|s unused|
|00001710| 2c 20 73 6f 20 57 69 6d | 70 4d 61 73 6b 20 69 73 |, so Wim|pMask is|
|00001720| 20 75 70 64 61 74 65 64 | 20 74 6f 20 6d 61 73 6b | updated| to mask|
|00001730| 20 69 74 20 6f 75 74 2e | 0a 57 69 6d 70 4d 61 73 | it out.|.WimpMas|
|00001740| 6b 25 3d 57 69 6d 70 4d | 61 73 6b 25 20 4f 52 20 |k%=WimpM|ask% OR |
|00001750| 32 5e 72 65 61 73 6f 6e | 25 0a 45 4e 44 50 52 4f |2^reason|%.ENDPRO|
|00001760| 43 0a 3a 0a 3a 0a 44 45 | 46 20 50 52 4f 43 47 6f |C.:.:.DE|F PROCGo|
|00001770| 74 4e 75 6c 6c 45 76 65 | 6e 74 0a 53 59 53 22 4f |tNullEve|nt.SYS"O|
|00001780| 53 5f 52 65 61 64 4d 6f | 6e 6f 74 6f 6e 69 63 54 |S_ReadMo|notonicT|
|00001790| 69 6d 65 22 20 54 4f 20 | 74 69 6d 65 32 25 0a 49 |ime" TO |time2%.I|
|000017a0| 46 20 74 69 6d 65 32 25 | 2d 74 69 6d 65 25 3e 28 |F time2%|-time%>(|
|000017b0| 56 41 4c 46 4e 45 76 61 | 6c 53 59 53 56 61 72 69 |VALFNEva|lSYSVari|
|000017c0| 61 62 6c 65 28 22 41 6c | 65 72 74 41 66 74 65 72 |able("Al|ertAfter|
|000017d0| 22 29 29 20 54 48 45 4e | 20 56 44 55 37 0a 45 4e |")) THEN| VDU7.EN|
|000017e0| 44 50 52 4f 43 0a 3a 0a | 3a 0a 44 45 46 20 50 52 |DPROC.:.|:.DEF PR|
|000017f0| 4f 43 4d 65 73 73 61 67 | 65 0a 43 41 53 45 20 28 |OCMessag|e.CASE (|
|00001800| 72 65 74 25 21 31 36 29 | 20 4f 46 0a 57 48 45 4e |ret%!16)| OF.WHEN|
|00001810| 20 30 3a 71 75 69 74 25 | 3d 54 52 55 45 0a 45 4e | 0:quit%|=TRUE.EN|
|00001820| 44 43 41 53 45 0a 45 4e | 44 50 52 4f 43 0a 3a 0a |DCASE.EN|DPROC.:.|
|00001830| 3a 0a 44 45 46 20 46 4e | 45 76 61 6c 53 59 53 56 |:.DEF FN|EvalSYSV|
|00001840| 61 72 69 61 62 6c 65 28 | 56 61 72 24 29 0a 20 52 |ariable(|Var$). R|
|00001850| 45 4d 20 46 65 65 64 20 | 74 68 65 20 6e 61 6d 65 |EM Feed |the name|
|00001860| 20 6f 66 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 | of the |variable|
|00001870| 20 6f 6e 6c 79 20 69 6e | 74 6f 20 74 68 65 20 61 | only in|to the a|
|00001880| 72 67 75 6d 65 6e 74 20 | 69 65 20 6e 6f 74 0a 20 |rgument |ie not. |
|00001890| 52 45 4d 20 3c 6f 62 65 | 79 24 44 69 72 3e 20 6f |REM <obe|y$Dir> o|
|000018a0| 72 20 4f 62 65 79 24 44 | 69 72 20 62 75 74 20 22 |r Obey$D|ir but "|
|000018b0| 4f 62 65 79 24 44 69 72 | 22 2e 20 54 68 65 20 46 |Obey$Dir|". The F|
|000018c0| 4e 20 77 69 6c 6c 20 72 | 65 74 75 72 6e 0a 20 52 |N will r|eturn. R|
|000018d0| 45 4d 20 74 68 65 20 76 | 61 6c 75 65 20 61 73 20 |EM the v|alue as |
|000018e0| 61 73 63 69 69 20 74 65 | 78 74 2e 0a 20 53 59 53 |ascii te|xt.. SYS|
|000018f0| 20 22 4f 53 5f 45 76 61 | 6c 75 61 74 65 45 78 70 | "OS_Eva|luateExp|
|00001900| 72 65 73 73 69 6f 6e 22 | 2c 56 61 72 24 2c 72 65 |ression"|,Var$,re|
|00001910| 74 25 2c 31 30 30 20 54 | 4f 20 2c 74 25 2c 6c 25 |t%,100 T|O ,t%,l%|
|00001920| 0a 20 72 65 74 25 3f 6c | 25 3d 31 33 0a 3d 24 72 |. ret%?l|%=13.=$r|
|00001930| 65 74 25 0a 3a 0a 46 69 | 6c 65 44 61 74 61 82 21 |et%.:.Fi|leData.!|
|00001940| 53 70 72 69 74 65 73 00 | 00 00 60 03 00 00 43 f9 |Sprites.|..`...C.|
|00001950| ff ff 56 f5 c3 17 03 00 | da 92 01 00 00 00 10 00 |..V.....|........|
|00001960| 00 00 64 03 00 00 54 03 | 00 00 21 61 6c 65 72 74 |..d...T.|..!alert|
|00001970| 00 00 00 00 00 00 04 00 | 00 00 10 00 00 00 00 00 |........|........|
|00001980| 00 00 07 00 00 00 ac 00 | 00 00 00 02 00 00 0c 00 |........|........|
|00001990| 00 00 00 ff ff ff 00 ff | ff ff 00 dd dd dd 00 dd |........|........|
|000019a0| dd dd 00 bb bb bb 00 bb | bb bb 00 99 99 99 00 99 |........|........|
|000019b0| 99 99 00 77 77 77 00 77 | 77 77 00 55 55 55 00 55 |...www.w|ww.UUU.U|
|000019c0| 55 55 00 33 33 33 00 33 | 33 33 00 00 00 00 00 00 |UU.333.3|33......|
|000019d0| 00 00 00 00 44 99 00 00 | 44 99 00 ee ee 00 00 ee |....D...|D.......|
|000019e0| ee 00 00 00 cc 00 00 00 | cc 00 00 dd 00 00 00 dd |........|........|
|000019f0| 00 00 00 ee ee bb 00 ee | ee bb 00 55 88 00 00 55 |........|...U...U|
|00001a00| 88 00 00 ff bb 00 00 ff | bb 00 00 00 bb ff 00 00 |........|........|
|00001a10| bb ff 00 00 00 00 00 00 | 00 00 31 33 13 00 00 00 |........|..13....|
|00001a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 74 77 |........|......tw|
|00001a30| 57 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |W.......|........|
|00001a40| 00 10 77 77 77 03 00 00 | 00 00 00 00 00 00 00 00 |..www...|........|
|00001a50| 00 00 00 00 00 10 77 77 | 77 03 00 00 00 00 00 00 |......ww|w.......|
|00001a60| 00 00 00 00 00 00 00 00 | 00 00 77 77 77 02 00 00 |........|..www...|
|00001a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 74 77 |........|......tw|
|00001a80| 67 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |g.......|........|
|00001a90| 00 00 71 77 37 00 00 00 | 00 00 00 00 00 00 00 00 |..qw7...|........|
|00001aa0| 00 00 00 00 00 00 40 77 | 16 00 00 00 00 00 00 00 |......@w|........|
|00001ab0| 00 00 00 00 00 00 00 00 | 00 00 10 77 03 00 00 00 |........|...w....|
|00001ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 65 |........|.......e|
|00001ad0| 01 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ae0| 00 00 00 54 01 00 00 00 | 00 00 00 00 00 00 00 00 |...T....|........|
|00001af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b00| 00 00 00 00 00 00 00 00 | 00 00 00 11 00 00 00 00 |........|........|
|00001b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 73 77 |........|......sw|
|00001b20| 47 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |G.......|........|
|00001b30| 00 10 77 77 77 04 00 00 | 00 00 00 00 00 00 00 00 |..www...|........|
|00001b40| 00 00 00 00 00 00 75 77 | 67 02 00 00 00 00 00 00 |......uw|g.......|
|00001b50| 00 00 00 00 00 00 00 00 | 00 00 10 33 01 00 00 00 |........|...3....|
|00001b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 f0 ff |........|........|
|00001b70| 0f 00 00 00 00 00 00 ff | ff ff 00 00 00 00 00 00 |........|........|
|00001b80| 00 00 ff ff ff 00 00 00 | 00 00 00 ff ff ff 00 00 |........|........|
|00001b90| 00 00 00 00 00 00 ff ff | ff 0f 00 00 00 00 00 ff |........|........|
|00001ba0| ff ff 00 00 00 00 00 00 | 00 00 ff ff ff 0f 00 00 |........|........|
|00001bb0| 00 00 00 ff ff ff 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00001bc0| ff 00 00 00 00 00 00 ff | ff ff 00 00 00 00 00 00 |........|........|
|00001bd0| 00 00 ff ff ff 00 00 00 | 00 00 00 ff ff ff 00 00 |........|........|
|00001be0| 00 00 00 00 00 00 f0 ff | ff 00 00 00 00 00 00 ff |........|........|
|00001bf0| ff ff 00 00 00 00 00 00 | 00 00 f0 ff 0f 00 00 00 |........|........|
|00001c00| 00 00 00 ff ff ff 00 00 | 00 00 00 00 00 00 00 ff |........|........|
|00001c10| 0f 00 00 00 00 00 00 ff | ff ff 00 00 00 00 00 00 |........|........|
|00001c20| 00 00 00 ff 00 00 00 00 | 00 00 00 ff ff ff 00 00 |........|........|
|00001c30| 00 00 00 00 00 00 00 ff | 00 00 00 00 00 00 00 ff |........|........|
|00001c40| ff ff 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c50| 00 00 00 ff ff ff 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c60| 00 00 00 00 00 00 00 ff | ff ff 00 00 00 00 00 00 |........|........|
|00001c70| 00 00 ff ff ff 00 00 00 | 00 00 00 ff ff ff 00 00 |........|........|
|00001c80| 00 00 00 00 00 00 ff ff | ff 0f 00 00 00 00 00 ff |........|........|
|00001c90| ff ff 00 00 00 00 00 00 | 00 00 ff ff ff 00 00 00 |........|........|
|00001ca0| 00 00 00 ff ff ff 00 00 | 00 00 00 00 00 00 00 ff |........|........|
|00001cb0| 00 00 00 00 00 00 00 ff | ff ff |........|.. |
+--------+-------------------------+-------------------------+--------+--------+