Home » Archimedes archive » Acorn Computing » 1995 01.adf » 9501 » TechForum/TskAlrmBug/SetTaskAlm

TechForum/TskAlrmBug/SetTaskAlm

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 » 1995 01.adf » 9501
Filename: TechForum/TskAlrmBug/SetTaskAlm
Read OK:
File size: 0214 bytes
Load address: 0000
Exec address: 0000
File contents
   10SYS "Wimp_Initialise", 200, &4B534154, "AppAlm" TO ,handle%
   20DIM b% 1024
   30b%!0  = 48
   40b%!12 = 0
   50b%!16 = &500    : REM Message_AlarmSet
   60b%!20 = 0       : REM Specify time via ordinals rather than UTC
   70b%?24 = 204     : REM 1996 ( = 204+256*7 )
   80b%?25 = 7
   90b%?26 = 9       : REM September
  100b%?27 = 30      : REM 30th
  110b%?28 = 15      : REM 3pm
  120b%?29 = 45      : REM & 45 minutes
  130P%=b%+30:[OPT0:EQUS"AppAlarms":EQUB0:]
  140P%=b%+40:[OPT0:EQUS"Help":EQUB0:]
  150SYS "Wimp_SendMessage", 17, b%, 0
  160SYS "Wimp_CloseDown"
  170END

=ș "Wimp_Initialise", 200, &4B534154, "AppAlm" � ,handle%

� b% 1024
b%!0  = 48
(
b%!12 = 0
2(b%!16 = &500    : � Message_AlarmSet
<Ab%!20 = 0       : � Specify time via ordinals rather than UTC
F,b%?24 = 204     : � 1996 ( = 204+256*7 )
P
b%?25 = 7
Z!b%?26 = 9       : � September
db%?27 = 30      : � 30th
nb%?28 = 15      : � 3pm
x$b%?29 = 45      : � & 45 minutes
�*P%=b%+30:[OPT0:EQUS"AppAlarms":EQUB0:]
�%P%=b%+40:[OPT0:EQUS"Help":EQUB0:]
�$ș "Wimp_SendMessage", 17, b%, 0
�ș "Wimp_CloseDown"
��
�
00000000  0d 00 0a 3d c8 99 20 22  57 69 6d 70 5f 49 6e 69  |...=.. "Wimp_Ini|
00000010  74 69 61 6c 69 73 65 22  2c 20 32 30 30 2c 20 26  |tialise", 200, &|
00000020  34 42 35 33 34 31 35 34  2c 20 22 41 70 70 41 6c  |4B534154, "AppAl|
00000030  6d 22 20 b8 20 2c 68 61  6e 64 6c 65 25 0d 00 14  |m" . ,handle%...|
00000040  0d de 20 62 25 20 31 30  32 34 0d 00 1e 0e 62 25  |.. b% 1024....b%|
00000050  21 30 20 20 3d 20 34 38  0d 00 28 0d 62 25 21 31  |!0  = 48..(.b%!1|
00000060  32 20 3d 20 30 0d 00 32  28 62 25 21 31 36 20 3d  |2 = 0..2(b%!16 =|
00000070  20 26 35 30 30 20 20 20  20 3a 20 f4 20 4d 65 73  | &500    : . Mes|
00000080  73 61 67 65 5f 41 6c 61  72 6d 53 65 74 0d 00 3c  |sage_AlarmSet..<|
00000090  41 62 25 21 32 30 20 3d  20 30 20 20 20 20 20 20  |Ab%!20 = 0      |
000000a0  20 3a 20 f4 20 53 70 65  63 69 66 79 20 74 69 6d  | : . Specify tim|
000000b0  65 20 76 69 61 20 6f 72  64 69 6e 61 6c 73 20 72  |e via ordinals r|
000000c0  61 74 68 65 72 20 74 68  61 6e 20 55 54 43 0d 00  |ather than UTC..|
000000d0  46 2c 62 25 3f 32 34 20  3d 20 32 30 34 20 20 20  |F,b%?24 = 204   |
000000e0  20 20 3a 20 f4 20 31 39  39 36 20 28 20 3d 20 32  |  : . 1996 ( = 2|
000000f0  30 34 2b 32 35 36 2a 37  20 29 0d 00 50 0d 62 25  |04+256*7 )..P.b%|
00000100  3f 32 35 20 3d 20 37 0d  00 5a 21 62 25 3f 32 36  |?25 = 7..Z!b%?26|
00000110  20 3d 20 39 20 20 20 20  20 20 20 3a 20 f4 20 53  | = 9       : . S|
00000120  65 70 74 65 6d 62 65 72  0d 00 64 1c 62 25 3f 32  |eptember..d.b%?2|
00000130  37 20 3d 20 33 30 20 20  20 20 20 20 3a 20 f4 20  |7 = 30      : . |
00000140  33 30 74 68 0d 00 6e 1b  62 25 3f 32 38 20 3d 20  |30th..n.b%?28 = |
00000150  31 35 20 20 20 20 20 20  3a 20 f4 20 33 70 6d 0d  |15      : . 3pm.|
00000160  00 78 24 62 25 3f 32 39  20 3d 20 34 35 20 20 20  |.x$b%?29 = 45   |
00000170  20 20 20 3a 20 f4 20 26  20 34 35 20 6d 69 6e 75  |   : . & 45 minu|
00000180  74 65 73 0d 00 82 2a 50  25 3d 62 25 2b 33 30 3a  |tes...*P%=b%+30:|
00000190  5b 4f 50 54 30 3a 45 51  55 53 22 41 70 70 41 6c  |[OPT0:EQUS"AppAl|
000001a0  61 72 6d 73 22 3a 45 51  55 42 30 3a 5d 0d 00 8c  |arms":EQUB0:]...|
000001b0  25 50 25 3d 62 25 2b 34  30 3a 5b 4f 50 54 30 3a  |%P%=b%+40:[OPT0:|
000001c0  45 51 55 53 22 48 65 6c  70 22 3a 45 51 55 42 30  |EQUS"Help":EQUB0|
000001d0  3a 5d 0d 00 96 24 c8 99  20 22 57 69 6d 70 5f 53  |:]...$.. "Wimp_S|
000001e0  65 6e 64 4d 65 73 73 61  67 65 22 2c 20 31 37 2c  |endMessage", 17,|
000001f0  20 62 25 2c 20 30 0d 00  a0 17 c8 99 20 22 57 69  | b%, 0...... "Wi|
00000200  6d 70 5f 43 6c 6f 73 65  44 6f 77 6e 22 0d 00 aa  |mp_CloseDown"...|
00000210  05 e0 0d ff                                       |....|
00000214