Home » Archimedes archive » Acorn User » AU 1994-06.adf » !StarInfo_StarInfo » Oneliners/Time

Oneliners/Time

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 1994-06.adf » !StarInfo_StarInfo
Filename: Oneliners/Time
Read OK:
File size: 00FD bytes
Load address: 0000
Exec address: 0000
File contents
   10SYS&400C0,200,&4B534154,"Time":DIMb 319:!b=TRUE:b!12=160:b!16=68:b!20=&1700011D:b!24=b+48:b!28=b+45:b!32=9:b!45=&D3252:SYS&400C2,,b TOb!4:b!12=0:SYS66TOt:REPEAT:SYS66TOn:WHILE(n-t)>0:t+=100:ENDWHILE:SYS&400E1,0,b+64,t TOr:$(b+48)=RIGHT$(TIME$,8):SYS&400CD,,b:UNTILr=17ANDb!80=0ORr=6:SYS&400DD:END

�ș&400C0,200,&4B534154,"Time":�b 319:!b=�:b!12=160:b!16=68:b!20=&1700011D:b!24=b+48:b!28=b+45:b!32=9:b!45=&D3252:ș&400C2,,b �b!4:b!12=0:ș66�t:�:ș66�n:ȕ(n-t)>0:t+=100:�:ș&400E1,0,b+64,t �r:$(b+48)=‘$,8):ș&400CD,,b:�r=17�b!80=0�r=6:ș&400DD:�
�
00000000  0d 00 0a fb c8 99 26 34  30 30 43 30 2c 32 30 30  |......&400C0,200|
00000010  2c 26 34 42 35 33 34 31  35 34 2c 22 54 69 6d 65  |,&4B534154,"Time|
00000020  22 3a de 62 20 33 31 39  3a 21 62 3d b9 3a 62 21  |":.b 319:!b=.:b!|
00000030  31 32 3d 31 36 30 3a 62  21 31 36 3d 36 38 3a 62  |12=160:b!16=68:b|
00000040  21 32 30 3d 26 31 37 30  30 30 31 31 44 3a 62 21  |!20=&1700011D:b!|
00000050  32 34 3d 62 2b 34 38 3a  62 21 32 38 3d 62 2b 34  |24=b+48:b!28=b+4|
00000060  35 3a 62 21 33 32 3d 39  3a 62 21 34 35 3d 26 44  |5:b!32=9:b!45=&D|
00000070  33 32 35 32 3a c8 99 26  34 30 30 43 32 2c 2c 62  |3252:..&400C2,,b|
00000080  20 b8 62 21 34 3a 62 21  31 32 3d 30 3a c8 99 36  | .b!4:b!12=0:..6|
00000090  36 b8 74 3a f5 3a c8 99  36 36 b8 6e 3a c8 95 28  |6.t:.:..66.n:..(|
000000a0  6e 2d 74 29 3e 30 3a 74  2b 3d 31 30 30 3a ce 3a  |n-t)>0:t+=100:.:|
000000b0  c8 99 26 34 30 30 45 31  2c 30 2c 62 2b 36 34 2c  |..&400E1,0,b+64,|
000000c0  74 20 b8 72 3a 24 28 62  2b 34 38 29 3d c2 91 24  |t .r:$(b+48)=..$|
000000d0  2c 38 29 3a c8 99 26 34  30 30 43 44 2c 2c 62 3a  |,8):..&400CD,,b:|
000000e0  fd 72 3d 31 37 80 62 21  38 30 3d 30 84 72 3d 36  |.r=17.b!80=0.r=6|
000000f0  3a c8 99 26 34 30 30 44  44 3a e0 0d ff           |:..&400DD:...|
000000fd