home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SYSTEM / CLOCK10.ZIP / README.TXT < prev   
Encoding:
Text File  |  1990-10-18  |  2.3 KB  |  56 lines

  1. You should now have the following files:
  2.  
  3. CLOKDEMO.C    - C demo
  4. CLOKDEMO.EXE    - Working version (hopefully) of the demo
  5. CLOCK.H        - C Header file
  6. CLOCKFUN.C    - Functions to handle the clock.  It currently only
  7.             sets the position. 
  8. CLOCKFUN.OBJ    - Compiled (Small Model) CLOCKFUN.C 
  9. README.TXT    - This file 
  10. CLOCKRES.ASM    - .ASM source 
  11. CLOCKRES.OBJ    - Small model .OBJ file you can link to a C program,
  12.             reassemble for anything else. 
  13. CLOCKRES.COM    - TSR, reboot to remove from memory.
  14.  
  15.  
  16. This is real easy to use, just follow the example in CLOKDEMO.C
  17.  
  18. There are three equates in the CLOCKRES.ASM file that can be changed
  19. as follows:
  20.  
  21. If TSR is set to 0, the file will assemble to a object file for
  22. linking into your C program. If TSR is set to nonzero, the file will
  23. assemble to a TSR.  As currently written, this TSR will will require a
  24. reboot to be removed from memory.  If you assemble to a TSR, you will
  25. need to link it and use EXE2BIN to convert it to a .COM file, or you
  26. can use the /t option in TLINK and save yourself the trouble.
  27.  
  28. By the way, CLOCKRES.ASM is written using TASM's IDEAL mode.  If you
  29. feel like you have to use MASM or something else, it shouldn't be to
  30. hard to convert it to something that MASM likes, or you can buy TASM
  31. and save yourself the trouble.
  32.  
  33. Set ATBIOS to zero for machines that don't have a real time clock,
  34. (most XT class machines.)  Setting ATBIOS to something other than zero
  35. causes a different function call to be assembled, which makes the code
  36. smaller, but perhaps slower.  Either setting will work for AT class
  37. machines or better.
  38.  
  39. If you are assembling the C callable version and will not be writing over
  40. the clock occasionally, set REFRESH to 0.  This will allow screen
  41. updates only when the time actually changes, which will leave more
  42. time for the machine to do things that might actually be important.
  43.  
  44. If you are using something besides the SMALL memory model, change
  45. line 24 of CLOCKRES.ASM.
  46.  
  47. Due to an approximation I made in the ATBIOS = 0 version of the code,
  48. the clock can sometimes be a few seconds off, but who cares?
  49.  
  50.  For What It's Worth, this thing is FREE.
  51.  Please keep the original files together and distribute them unchanged!
  52.  
  53. (c) David C. Schooley  (CIS 72571,2543)
  54. Birmingham, AL and Stillwater, OK (GO Pokes!!!)
  55. October 1990
  56.