home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / OSBORNE / EXTIME89.LBR / EXTIME.DZC / EXTIME.DOC
Text File  |  2000-06-30  |  1KB  |  41 lines

  1. W. vanRiper  17 June 1985
  2.  
  3. *** extime ***
  4.  
  5. This is a short routine that allows you to set the date and time without
  6. adding punctuation characters.  I constantly crash my system with crazed
  7. assembly routines and hate to go through the business of setting the time
  8. with the Osborne-supplied utility.  This file is only 1k. I use it with
  9. George Peace's wonderful EXCLOCK.
  10.  
  11.  
  12. usage:      extime<ret>
  13.  
  14. displays:    enter month: 06 <- you enter 2 digits
  15.                 day: 17 <- two more
  16.                hour: 03 <- two more     
  17.              minute: 55 <- two more    
  18.  
  19. To reassemble you'll need Richard Conn's SYSLIB, either 2.X or 3.X.  It is
  20. currently set up for 1985, and to change this you'll need to change the 
  21. number of days since 1/1/78, which is the way DRI always calculates time. 
  22. To patch the .COM file:
  23.  
  24.     locations 01EA,01EB currently contain  FD,09
  25.     which is the offset to 1985 
  26.  
  27.     to get the offset to 1986:
  28.     add 365 (016D) to this, giving 0B6A and
  29.     change   FD,09 to 6A,0B for 1986
  30.  
  31.     to get the offset to 1987:
  32.     add another 365 for 1987, etc.
  33.  
  34. By the way, there is a default date in CPM3.SYS which is 01/01/82 for my
  35. system.  You can change this with DU or a similar utility so that the 
  36. new date is in the SCB when the system boots.  There is no use for this
  37. unless you change it every day....
  38.  
  39. y so that the 
  40. new date is in the SCB when the system boots.  There is no use for this
  41. unl