Home » Archimedes archive » Acorn User » AU 1996-05.adf » Regulars » StarInfo/Casula/!Boot/Utils/Banner
StarInfo/Casula/!Boot/Utils/Banner
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 User » AU 1996-05.adf » Regulars |
Filename: | StarInfo/Casula/!Boot/Utils/Banner |
Read OK: | ✔ |
File size: | 0283 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10DIM thistime% 5 20DIM thattime% 5 30DIM nicetime% 44 40 50?thistime%=3 60SYS"OS_Word",14,thistime% 70 80file%=OPENUP("Utils:LastBooted") 90IF file%=0 THEN 100 file%=OPENOUT("Utils:LastBooted") 110 that$="Unknown" 120ELSE 130 FOR byte%=0 TO 4:thattime%?byte%=BGET#file%:NEXT byte% 140 PTR#file%=0 150 SYS"OS_ConvertDateAndTime",thattime%,nicetime%,44,"%24:%MI.%SE on %WE %ZDY%ST %MO" TO ,zero%:?zero%=13:that$=$nicetime% 160ENDIF 170FOR byte%=0 TO 4:BPUT#file%,thistime%?byte%:NEXT byte% 180CLOSE#file% 190 200SYS"OS_ConvertDateAndTime",thistime%,nicetime%,44,"%24:%MI.%SE on %WE %ZDY%ST %MO" TO ,zero%:?zero%=13:this$=$nicetime% 210 220PRINT"Last boot: ";that$ 230PRINT"It is now: ";this$'
� thistime% 5 � thattime% 5 � nicetime% 44 ( 2?thistime%=3 <ș"OS_Word",14,thistime% F Pfile%=�("Utils:LastBooted") Z� file%=0 � d! file%=�("Utils:LastBooted") n that$="Unknown" x� �3 � byte%=0 � 4:thattime%?byte%=�#file%:� byte% � �#file%=0 �{ ș"OS_ConvertDateAndTime",thattime%,nicetime%,44,"%24:%MI.%SE on %WE %ZDY%ST %MO" � ,zero%:?zero%=13:that$=$nicetime% �� �1� byte%=0 � 4:�#file%,thistime%?byte%:� byte% ��#file% � �yș"OS_ConvertDateAndTime",thistime%,nicetime%,44,"%24:%MI.%SE on %WE %ZDY%ST %MO" � ,zero%:?zero%=13:this$=$nicetime% � ��"Last boot: ";that$ ��"It is now: ";this$' �
00000000 0d 00 0a 11 de 20 74 68 69 73 74 69 6d 65 25 20 |..... thistime% | 00000010 35 0d 00 14 11 de 20 74 68 61 74 74 69 6d 65 25 |5..... thattime%| 00000020 20 35 0d 00 1e 12 de 20 6e 69 63 65 74 69 6d 65 | 5..... nicetime| 00000030 25 20 34 34 0d 00 28 04 0d 00 32 10 3f 74 68 69 |% 44..(...2.?thi| 00000040 73 74 69 6d 65 25 3d 33 0d 00 3c 1c c8 99 22 4f |stime%=3..<..."O| 00000050 53 5f 57 6f 72 64 22 2c 31 34 2c 74 68 69 73 74 |S_Word",14,thist| 00000060 69 6d 65 25 0d 00 46 04 0d 00 50 1f 66 69 6c 65 |ime%..F...P.file| 00000070 25 3d ad 28 22 55 74 69 6c 73 3a 4c 61 73 74 42 |%=.("Utils:LastB| 00000080 6f 6f 74 65 64 22 29 0d 00 5a 0f e7 20 66 69 6c |ooted")..Z.. fil| 00000090 65 25 3d 30 20 8c 0d 00 64 21 20 20 66 69 6c 65 |e%=0 ...d! file| 000000a0 25 3d ae 28 22 55 74 69 6c 73 3a 4c 61 73 74 42 |%=.("Utils:LastB| 000000b0 6f 6f 74 65 64 22 29 0d 00 6e 15 20 20 74 68 61 |ooted")..n. tha| 000000c0 74 24 3d 22 55 6e 6b 6e 6f 77 6e 22 0d 00 78 05 |t$="Unknown"..x.| 000000d0 cc 0d 00 82 33 20 20 e3 20 62 79 74 65 25 3d 30 |....3 . byte%=0| 000000e0 20 b8 20 34 3a 74 68 61 74 74 69 6d 65 25 3f 62 | . 4:thattime%?b| 000000f0 79 74 65 25 3d 9a 23 66 69 6c 65 25 3a ed 20 62 |yte%=.#file%:. b| 00000100 79 74 65 25 0d 00 8c 0f 20 20 cf 23 66 69 6c 65 |yte%.... .#file| 00000110 25 3d 30 0d 00 96 7b 20 20 c8 99 22 4f 53 5f 43 |%=0...{ .."OS_C| 00000120 6f 6e 76 65 72 74 44 61 74 65 41 6e 64 54 69 6d |onvertDateAndTim| 00000130 65 22 2c 74 68 61 74 74 69 6d 65 25 2c 6e 69 63 |e",thattime%,nic| 00000140 65 74 69 6d 65 25 2c 34 34 2c 22 25 32 34 3a 25 |etime%,44,"%24:%| 00000150 4d 49 2e 25 53 45 20 6f 6e 20 25 57 45 20 25 5a |MI.%SE on %WE %Z| 00000160 44 59 25 53 54 20 25 4d 4f 22 20 b8 20 2c 7a 65 |DY%ST %MO" . ,ze| 00000170 72 6f 25 3a 3f 7a 65 72 6f 25 3d 31 33 3a 74 68 |ro%:?zero%=13:th| 00000180 61 74 24 3d 24 6e 69 63 65 74 69 6d 65 25 0d 00 |at$=$nicetime%..| 00000190 a0 05 cd 0d 00 aa 31 e3 20 62 79 74 65 25 3d 30 |......1. byte%=0| 000001a0 20 b8 20 34 3a d5 23 66 69 6c 65 25 2c 74 68 69 | . 4:.#file%,thi| 000001b0 73 74 69 6d 65 25 3f 62 79 74 65 25 3a ed 20 62 |stime%?byte%:. b| 000001c0 79 74 65 25 0d 00 b4 0b d9 23 66 69 6c 65 25 0d |yte%.....#file%.| 000001d0 00 be 04 0d 00 c8 79 c8 99 22 4f 53 5f 43 6f 6e |......y.."OS_Con| 000001e0 76 65 72 74 44 61 74 65 41 6e 64 54 69 6d 65 22 |vertDateAndTime"| 000001f0 2c 74 68 69 73 74 69 6d 65 25 2c 6e 69 63 65 74 |,thistime%,nicet| 00000200 69 6d 65 25 2c 34 34 2c 22 25 32 34 3a 25 4d 49 |ime%,44,"%24:%MI| 00000210 2e 25 53 45 20 6f 6e 20 25 57 45 20 25 5a 44 59 |.%SE on %WE %ZDY| 00000220 25 53 54 20 25 4d 4f 22 20 b8 20 2c 7a 65 72 6f |%ST %MO" . ,zero| 00000230 25 3a 3f 7a 65 72 6f 25 3d 31 33 3a 74 68 69 73 |%:?zero%=13:this| 00000240 24 3d 24 6e 69 63 65 74 69 6d 65 25 0d 00 d2 04 |$=$nicetime%....| 00000250 0d 00 dc 18 f1 22 4c 61 73 74 20 62 6f 6f 74 3a |....."Last boot:| 00000260 20 22 3b 74 68 61 74 24 0d 00 e6 19 f1 22 49 74 | ";that$....."It| 00000270 20 69 73 20 6e 6f 77 3a 20 22 3b 74 68 69 73 24 | is now: ";this$| 00000280 27 0d ff |'..| 00000283