Home » CEEFAX disks » telesoftware14.adl » 05-03-89/Dat\Inf

05-03-89/Dat\Inf

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 » CEEFAX disks » telesoftware14.adl
Filename: 05-03-89/Dat\Inf
Read OK:
File size: 09E0 bytes
Load address: 0000
Exec address: FFFFFFFF
File contents


                         The ADFS DateStamper ROM

                         ========================


                                                           By Jason Robson



   This program is in the  form  of  a  ROM  image  and  provides a way of

date-stamping  files  as they are saved using the ADFS. The program is for

use on the  Master  128  only  as it uses the computers real time clock to

read the current time. To use it  you  must  load  it into one of the four

available sideways RAM banks with a command such as,


                 *SRLOAD image 8000 <bank> Q    <RETURN>


                      - where <bank> is a number from 4 to 7


   Once you have loaded the  ROM  image  into  sideways RAM you must press

<CTRL> + <BREAK> to initalise it. Once this is  done  you  should  now see

the  message  'ADFS  DateStamper ROM V1.0' appear  underneath the familiar

'Acorn MOS' and this  should  be  a  good  indication  that  everything is

working.

   The ROM directs all SAVEs  and  *SAVEs  to  the  ROM,  which  will then

automatically datestamp the program by  storing the time that the file was

saved in an information file called  ?.  The file ? must not be deleted or

overwritten as you will loose all the dates that the ROM has saved.

   Using the ROM will give  you  three extra * commands which are outlined

below,


   *WHEN <filename>  -     This command will tell you  when  the  specific

                           file was saved. You may get  the  message  'Not

                           datestamped' which tells you that the file  was

                           either not saved with the ROM in  the  computer

                           or that the file was saved in  another way than

                           with  SAVE  or  *SAVE. You  may  also  get  the

                           message  'No  information  file  in  directory'

                           which  means that the ? file is not  present on

                           the disc.


   *TIMECAT          -     This command goes through the entire  directory

                           doing the equivalent of a  *WHEN  for each file

                           in it.


   *UPDATED          -     This command displays  the  time  that the disc

                           was last saved to.


   The output from all these commands is best viewed in an 80 column mode.



NOTE

====


The program uses ECONET locations for its workspace so it will not work in

an ECONET environment.



00000000  0a 0d 0a 0d 20 20 20 20  20 20 20 20 20 20 20 20  |....            |
00000010  20 20 20 20 20 20 20 20  20 20 20 20 20 54 68 65  |             The|
00000020  20 41 44 46 53 20 44 61  74 65 53 74 61 6d 70 65  | ADFS DateStampe|
00000030  72 20 52 4f 4d 0a 0d 20  20 20 20 20 20 20 20 20  |r ROM..         |
00000040  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000050  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000060  3d 3d 3d 3d 3d 3d 3d 3d  0a 0d 0a 0d 20 20 20 20  |========....    |
00000070  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000000a0  20 20 20 20 20 20 20 42  79 20 4a 61 73 6f 6e 20  |       By Jason |
000000b0  52 6f 62 73 6f 6e 0a 0d  0a 0d 0a 0d 20 20 20 54  |Robson......   T|
000000c0  68 69 73 20 70 72 6f 67  72 61 6d 20 69 73 20 69  |his program is i|
000000d0  6e 20 74 68 65 20 20 66  6f 72 6d 20 20 6f 66 20  |n the  form  of |
000000e0  20 61 20 20 52 4f 4d 20  20 69 6d 61 67 65 20 20  | a  ROM  image  |
000000f0  61 6e 64 20 20 70 72 6f  76 69 64 65 73 20 61 20  |and  provides a |
00000100  77 61 79 20 6f 66 0a 0d  64 61 74 65 2d 73 74 61  |way of..date-sta|
00000110  6d 70 69 6e 67 20 20 66  69 6c 65 73 20 20 61 73  |mping  files  as|
00000120  20 74 68 65 79 20 61 72  65 20 73 61 76 65 64 20  | they are saved |
00000130  75 73 69 6e 67 20 74 68  65 20 41 44 46 53 2e 20  |using the ADFS. |
00000140  54 68 65 20 70 72 6f 67  72 61 6d 20 69 73 20 66  |The program is f|
00000150  6f 72 0a 0d 75 73 65 20  6f 6e 20 74 68 65 20 20  |or..use on the  |
00000160  4d 61 73 74 65 72 20 20  31 32 38 20 20 6f 6e 6c  |Master  128  onl|
00000170  79 20 20 61 73 20 69 74  20 75 73 65 73 20 74 68  |y  as it uses th|
00000180  65 20 63 6f 6d 70 75 74  65 72 73 20 72 65 61 6c  |e computers real|
00000190  20 74 69 6d 65 20 63 6c  6f 63 6b 20 74 6f 0a 0d  | time clock to..|
000001a0  72 65 61 64 20 74 68 65  20 63 75 72 72 65 6e 74  |read the current|
000001b0  20 74 69 6d 65 2e 20 54  6f 20 75 73 65 20 69 74  | time. To use it|
000001c0  20 20 79 6f 75 20 20 6d  75 73 74 20 20 6c 6f 61  |  you  must  loa|
000001d0  64 20 20 69 74 20 69 6e  74 6f 20 6f 6e 65 20 6f  |d  it into one o|
000001e0  66 20 74 68 65 20 66 6f  75 72 0a 0d 61 76 61 69  |f the four..avai|
000001f0  6c 61 62 6c 65 20 73 69  64 65 77 61 79 73 20 52  |lable sideways R|
00000200  41 4d 20 62 61 6e 6b 73  20 77 69 74 68 20 61 20  |AM banks with a |
00000210  63 6f 6d 6d 61 6e 64 20  73 75 63 68 20 61 73 2c  |command such as,|
00000220  0a 0d 0a 0d 20 20 20 20  20 20 20 20 20 20 20 20  |....            |
00000230  20 20 20 20 20 2a 53 52  4c 4f 41 44 20 69 6d 61  |     *SRLOAD ima|
00000240  67 65 20 38 30 30 30 20  3c 62 61 6e 6b 3e 20 51  |ge 8000 <bank> Q|
00000250  20 20 20 20 3c 52 45 54  55 52 4e 3e 0a 0d 0a 0d  |    <RETURN>....|
00000260  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000270  20 20 20 20 20 20 2d 20  77 68 65 72 65 20 3c 62  |      - where <b|
00000280  61 6e 6b 3e 20 69 73 20  61 20 6e 75 6d 62 65 72  |ank> is a number|
00000290  20 66 72 6f 6d 20 34 20  74 6f 20 37 0a 0d 0a 0d  | from 4 to 7....|
000002a0  20 20 20 4f 6e 63 65 20  79 6f 75 20 68 61 76 65  |   Once you have|
000002b0  20 6c 6f 61 64 65 64 20  74 68 65 20 20 52 4f 4d  | loaded the  ROM|
000002c0  20 20 69 6d 61 67 65 20  20 69 6e 74 6f 20 20 73  |  image  into  s|
000002d0  69 64 65 77 61 79 73 20  52 41 4d 20 79 6f 75 20  |ideways RAM you |
000002e0  6d 75 73 74 20 70 72 65  73 73 0a 0d 3c 43 54 52  |must press..<CTR|
000002f0  4c 3e 20 2b 20 3c 42 52  45 41 4b 3e 20 74 6f 20  |L> + <BREAK> to |
00000300  69 6e 69 74 61 6c 69 73  65 20 69 74 2e 20 4f 6e  |initalise it. On|
00000310  63 65 20 74 68 69 73 20  69 73 20 20 64 6f 6e 65  |ce this is  done|
00000320  20 20 79 6f 75 20 20 73  68 6f 75 6c 64 20 20 6e  |  you  should  n|
00000330  6f 77 20 73 65 65 0a 0d  74 68 65 20 20 6d 65 73  |ow see..the  mes|
00000340  73 61 67 65 20 20 27 41  44 46 53 20 20 44 61 74  |sage  'ADFS  Dat|
00000350  65 53 74 61 6d 70 65 72  20 52 4f 4d 20 56 31 2e  |eStamper ROM V1.|
00000360  30 27 20 61 70 70 65 61  72 20 20 75 6e 64 65 72  |0' appear  under|
00000370  6e 65 61 74 68 20 74 68  65 20 66 61 6d 69 6c 69  |neath the famili|
00000380  61 72 0a 0d 27 41 63 6f  72 6e 20 4d 4f 53 27 20  |ar..'Acorn MOS' |
00000390  61 6e 64 20 74 68 69 73  20 20 73 68 6f 75 6c 64  |and this  should|
000003a0  20 20 62 65 20 20 61 20  20 67 6f 6f 64 20 20 69  |  be  a  good  i|
000003b0  6e 64 69 63 61 74 69 6f  6e 20 20 74 68 61 74 20  |ndication  that |
000003c0  20 65 76 65 72 79 74 68  69 6e 67 20 69 73 0a 0d  | everything is..|
000003d0  77 6f 72 6b 69 6e 67 2e  0a 0d 20 20 20 54 68 65  |working...   The|
000003e0  20 52 4f 4d 20 64 69 72  65 63 74 73 20 61 6c 6c  | ROM directs all|
000003f0  20 53 41 56 45 73 20 20  61 6e 64 20 20 2a 53 41  | SAVEs  and  *SA|
00000400  56 45 73 20 20 74 6f 20  20 74 68 65 20 20 52 4f  |VEs  to  the  RO|
00000410  4d 2c 20 20 77 68 69 63  68 20 20 77 69 6c 6c 20  |M,  which  will |
00000420  74 68 65 6e 0a 0d 61 75  74 6f 6d 61 74 69 63 61  |then..automatica|
00000430  6c 6c 79 20 64 61 74 65  73 74 61 6d 70 20 74 68  |lly datestamp th|
00000440  65 20 70 72 6f 67 72 61  6d 20 62 79 20 20 73 74  |e program by  st|
00000450  6f 72 69 6e 67 20 74 68  65 20 74 69 6d 65 20 74  |oring the time t|
00000460  68 61 74 20 74 68 65 20  66 69 6c 65 20 77 61 73  |hat the file was|
00000470  0a 0d 73 61 76 65 64 20  69 6e 20 61 6e 20 69 6e  |..saved in an in|
00000480  66 6f 72 6d 61 74 69 6f  6e 20 66 69 6c 65 20 63  |formation file c|
00000490  61 6c 6c 65 64 20 20 3f  2e 20 20 54 68 65 20 66  |alled  ?.  The f|
000004a0  69 6c 65 20 3f 20 6d 75  73 74 20 6e 6f 74 20 62  |ile ? must not b|
000004b0  65 20 64 65 6c 65 74 65  64 20 6f 72 0a 0d 6f 76  |e deleted or..ov|
000004c0  65 72 77 72 69 74 74 65  6e 20 61 73 20 79 6f 75  |erwritten as you|
000004d0  20 77 69 6c 6c 20 6c 6f  6f 73 65 20 61 6c 6c 20  | will loose all |
000004e0  74 68 65 20 64 61 74 65  73 20 74 68 61 74 20 74  |the dates that t|
000004f0  68 65 20 52 4f 4d 20 68  61 73 20 73 61 76 65 64  |he ROM has saved|
00000500  2e 0a 0d 20 20 20 55 73  69 6e 67 20 74 68 65 20  |...   Using the |
00000510  52 4f 4d 20 77 69 6c 6c  20 67 69 76 65 20 20 79  |ROM will give  y|
00000520  6f 75 20 20 74 68 72 65  65 20 65 78 74 72 61 20  |ou  three extra |
00000530  2a 20 63 6f 6d 6d 61 6e  64 73 20 77 68 69 63 68  |* commands which|
00000540  20 61 72 65 20 6f 75 74  6c 69 6e 65 64 0a 0d 62  | are outlined..b|
00000550  65 6c 6f 77 2c 0a 0d 0a  0d 20 20 20 2a 57 48 45  |elow,....   *WHE|
00000560  4e 20 3c 66 69 6c 65 6e  61 6d 65 3e 20 20 2d 20  |N <filename>  - |
00000570  20 20 20 20 54 68 69 73  20 63 6f 6d 6d 61 6e 64  |    This command|
00000580  20 77 69 6c 6c 20 74 65  6c 6c 20 79 6f 75 20 20  | will tell you  |
00000590  77 68 65 6e 20 20 74 68  65 20 20 73 70 65 63 69  |when  the  speci|
000005a0  66 69 63 0a 0d 20 20 20  20 20 20 20 20 20 20 20  |fic..           |
000005b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000005c0  66 69 6c 65 20 77 61 73  20 73 61 76 65 64 2e 20  |file was saved. |
000005d0  59 6f 75 20 6d 61 79 20  67 65 74 20 20 74 68 65  |You may get  the|
000005e0  20 20 6d 65 73 73 61 67  65 20 20 27 4e 6f 74 0a  |  message  'Not.|
000005f0  0d 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000600  20 20 20 20 20 20 20 20  20 20 20 20 64 61 74 65  |            date|
00000610  73 74 61 6d 70 65 64 27  20 77 68 69 63 68 20 74  |stamped' which t|
00000620  65 6c 6c 73 20 79 6f 75  20 74 68 61 74 20 74 68  |ells you that th|
00000630  65 20 66 69 6c 65 20 20  77 61 73 0a 0d 20 20 20  |e file  was..   |
00000640  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000650  20 20 20 20 20 20 20 20  65 69 74 68 65 72 20 6e  |        either n|
00000660  6f 74 20 73 61 76 65 64  20 77 69 74 68 20 74 68  |ot saved with th|
00000670  65 20 52 4f 4d 20 69 6e  20 20 74 68 65 20 20 63  |e ROM in  the  c|
00000680  6f 6d 70 75 74 65 72 0a  0d 20 20 20 20 20 20 20  |omputer..       |
00000690  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000006a0  20 20 20 20 6f 72 20 74  68 61 74 20 74 68 65 20  |    or that the |
000006b0  66 69 6c 65 20 77 61 73  20 73 61 76 65 64 20 69  |file was saved i|
000006c0  6e 20 20 61 6e 6f 74 68  65 72 20 77 61 79 20 74  |n  another way t|
000006d0  68 61 6e 0a 0d 20 20 20  20 20 20 20 20 20 20 20  |han..           |
000006e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000006f0  77 69 74 68 20 20 53 41  56 45 20 20 6f 72 20 20  |with  SAVE  or  |
00000700  2a 53 41 56 45 2e 20 59  6f 75 20 20 6d 61 79 20  |*SAVE. You  may |
00000710  20 61 6c 73 6f 20 20 67  65 74 20 20 74 68 65 0a  | also  get  the.|
00000720  0d 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000730  20 20 20 20 20 20 20 20  20 20 20 20 6d 65 73 73  |            mess|
00000740  61 67 65 20 20 27 4e 6f  20 20 69 6e 66 6f 72 6d  |age  'No  inform|
00000750  61 74 69 6f 6e 20 20 66  69 6c 65 20 20 69 6e 20  |ation  file  in |
00000760  20 64 69 72 65 63 74 6f  72 79 27 0a 0d 20 20 20  | directory'..   |
00000770  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000780  20 20 20 20 20 20 20 20  77 68 69 63 68 20 20 6d  |        which  m|
00000790  65 61 6e 73 20 74 68 61  74 20 74 68 65 20 3f 20  |eans that the ? |
000007a0  66 69 6c 65 20 69 73 20  6e 6f 74 20 20 70 72 65  |file is not  pre|
000007b0  73 65 6e 74 20 6f 6e 0a  0d 20 20 20 20 20 20 20  |sent on..       |
000007c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000007d0  20 20 20 20 74 68 65 20  64 69 73 63 2e 0a 0d 0a  |    the disc....|
000007e0  0d 20 20 20 2a 54 49 4d  45 43 41 54 20 20 20 20  |.   *TIMECAT    |
000007f0  20 20 20 20 20 20 2d 20  20 20 20 20 54 68 69 73  |      -     This|
00000800  20 63 6f 6d 6d 61 6e 64  20 67 6f 65 73 20 74 68  | command goes th|
00000810  72 6f 75 67 68 20 74 68  65 20 65 6e 74 69 72 65  |rough the entire|
00000820  20 20 64 69 72 65 63 74  6f 72 79 0a 0d 20 20 20  |  directory..   |
00000830  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000840  20 20 20 20 20 20 20 20  64 6f 69 6e 67 20 74 68  |        doing th|
00000850  65 20 65 71 75 69 76 61  6c 65 6e 74 20 6f 66 20  |e equivalent of |
00000860  61 20 20 2a 57 48 45 4e  20 20 66 6f 72 20 65 61  |a  *WHEN  for ea|
00000870  63 68 20 66 69 6c 65 0a  0d 20 20 20 20 20 20 20  |ch file..       |
00000880  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000890  20 20 20 20 69 6e 20 69  74 2e 0a 0d 0a 0d 20 20  |    in it.....  |
000008a0  20 2a 55 50 44 41 54 45  44 20 20 20 20 20 20 20  | *UPDATED       |
000008b0  20 20 20 2d 20 20 20 20  20 54 68 69 73 20 63 6f  |   -     This co|
000008c0  6d 6d 61 6e 64 20 64 69  73 70 6c 61 79 73 20 20  |mmand displays  |
000008d0  74 68 65 20 20 74 69 6d  65 20 20 74 68 61 74 20  |the  time  that |
000008e0  74 68 65 20 64 69 73 63  0a 0d 20 20 20 20 20 20  |the disc..      |
000008f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000900  20 20 20 20 20 77 61 73  20 6c 61 73 74 20 73 61  |     was last sa|
00000910  76 65 64 20 74 6f 2e 0a  0d 0a 0d 20 20 20 54 68  |ved to.....   Th|
00000920  65 20 6f 75 74 70 75 74  20 66 72 6f 6d 20 61 6c  |e output from al|
00000930  6c 20 74 68 65 73 65 20  63 6f 6d 6d 61 6e 64 73  |l these commands|
00000940  20 69 73 20 62 65 73 74  20 76 69 65 77 65 64 20  | is best viewed |
00000950  69 6e 20 61 6e 20 38 30  20 63 6f 6c 75 6d 6e 20  |in an 80 column |
00000960  6d 6f 64 65 2e 0a 0d 0a  0d 0a 0d 4e 4f 54 45 0a  |mode.......NOTE.|
00000970  0d 3d 3d 3d 3d 0a 0d 0a  0d 54 68 65 20 70 72 6f  |.====....The pro|
00000980  67 72 61 6d 20 75 73 65  73 20 45 43 4f 4e 45 54  |gram uses ECONET|
00000990  20 6c 6f 63 61 74 69 6f  6e 73 20 66 6f 72 20 69  | locations for i|
000009a0  74 73 20 77 6f 72 6b 73  70 61 63 65 20 73 6f 20  |ts workspace so |
000009b0  69 74 20 77 69 6c 6c 20  6e 6f 74 20 77 6f 72 6b  |it will not work|
000009c0  20 69 6e 0a 0d 61 6e 20  45 43 4f 4e 45 54 20 65  | in..an ECONET e|
000009d0  6e 76 69 72 6f 6e 6d 65  6e 74 2e 0a 0d 0a 0d 0d  |nvironment......|
000009e0
05-03-89/Dat\Inf.m0
05-03-89/Dat\Inf.m1
05-03-89/Dat\Inf.m2
05-03-89/Dat\Inf.m4
05-03-89/Dat\Inf.m5