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 / CPM / PROGRAMS / CLOCKK / MDCLCK13.LBR / -READ.MZ / -READ.ME
Text File  |  2000-06-30  |  8KB  |  191 lines

  1.  
  2.  
  3.  
  4.  
  5.                                   MDCLCK13.LBR
  6.  
  7.         This  library  contains (I hope!) the  necessary  information  to 
  8.         build,  install  and  use  a  Real-Time  Clock  for  all   Morrow 
  9.         MicroDecision  computers  that  have  the  40  pin  internal  I/O 
  10.         expansion connector.  This should include all rev. 2 MD2 and MD3s 
  11.         (those with a Centronics printer port) and all the Hard drive MDs 
  12.         (MD5,  11, 16 and 34).  It runs fine on my rev. 2 MD3 and my MD5.
  13.  
  14.  
  15.         This library contains the following files:
  16.  
  17.         -3/31/87       A 0k date file.
  18.  
  19.         -OSNES.NZT     Notes  by  John Osnes on his super  neat  programs 
  20.                        CLOCKOUT  and SETCLOCK which he has so kindly  let 
  21.                        me include.  These are examples of how really good 
  22.                        assembly  language  programs  should  be  written.  
  23.                        John  also modified CADPRINT so that Okidata  ML92 
  24.                        and 93 printers can be used.  Thanks John.
  25.  
  26.         -READ.MZ       This file.
  27.  
  28.         BNKBIOS3.DZF   A  editor  script  file  for  SSED.COM  that  will 
  29.                        generate  a  new BNKBIOS3.MAC file from  your  old 
  30.                        BNKBIOS3.MAC  (revision  2.0) file to  enable  the 
  31.                        time get function under CPM3.
  32.  
  33.         BYERTC.IZS     The  insert  for using this clock  with  the  BYE5 
  34.                        series of RCP/M programs.
  35.  
  36.         CADPRINT.AZM   This is the source file for CADPRINT.COM. CADPRINT 
  37.                        will print the schematic for the clock circuit  on 
  38.                        an  EPSON  (or  compatible)  or  Okidata   ML92/93 
  39.                        printers.  There are equates in the  front  (EPSON 
  40.                        and OKI92) in hopes that other people will add the 
  41.                        necessary  code for other printers.  The  peculiar 
  42.                        EPSON  code in the file is surrounded by IF  EPSON 
  43.                        ....  ENDIF  ;EPSON.  If some brave soul  were  to 
  44.                        incorporate  say an CITOH then he would add  CITOH 
  45.                        EQU  YES and changethe EPSON to EPSON EQU  NO  and 
  46.                        the OKI92 to OKI92 EQU NO.  Then he would have  to 
  47.                        add  the  appropriate  CITOH code  in  the  proper 
  48.                        places  surrounded  by  an  IF  CITOH  ....  ENDIF 
  49.                        ;CITOH.  I hope that various people will take  the 
  50.                        time to develop and enter the proper code for many 
  51.                        printers,  since I plan on using this  program  in 
  52.                        the future for other hardware articles.  If you do 
  53.                        develop support code for other printers, send me a 
  54.                        copy  either by mail or via the MOR BBS.   I  will 
  55.                        check it out as far as I can and then  incorporate 
  56.                        it into the next revision of CADPRINT.  Thanks.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.                                     1
  63.  
  64.  
  65.  
  66.  
  67.         CADPRINT.CZM   This  program will print a schematic of the  clock 
  68.                        on an EPSON compatible printer.  It expects to see 
  69.                        the  data  files PRT.PG0 through  PRT.PG8  on  the 
  70.                        default  disk.   These data files are  created  by 
  71.                        COCOCAD.BAS,  a  public domain  schematic  drawing 
  72.                        program  for  the Radio Shack Color  Computer.   A 
  73.                        very nice piece of work.
  74.  
  75.         CPM3CLCK.ZZZ   Instructions for modifying the BIOS for the  MD-HD 
  76.                        machines  to enable the CPM3 clock support.   Only 
  77.                        partial at the moment since it will only read  the 
  78.                        clock for CPM3 functions.  The clock must still be 
  79.                        set  using  one of the programs  in  the  library.  
  80.                        Still   with  this  change  you  can  enable   the 
  81.                        automatic time stamping in CPM3.
  82.  
  83.         MDCLOCK.WZ     A  NewWord file of an article for MOR  about  this 
  84.                        clock.   Contains a lot of the details  about  the 
  85.                        workings and history of it.
  86.  
  87.         PARTS.LZT      Parts list for the clock.  Total Cost = $18.69
  88.  
  89.         PRT.PZ0        The   data  files  for  CADPRINT.   Contains   the
  90.          through       schematic.   All must be present  (unsqueezed)  on
  91.         PRT.PZ8        the default disk for CADPRINT to run.              
  92.  
  93.         READTIME.AZM   Programs to read and display the clock written  in
  94.         READTIME.BZS   8080  assembly language, MicroSoft BASIC, MIX  'C'
  95.         READTIME.CZ    and   Turbo  Pascal  3.0.   READTIME.COM  is   the
  96.         READTIME.CZM   assembled  version of READTIME.ASM.  The  programs
  97.         READTIME.PZS   will  clear the screen and display the day of  the 
  98.                        week,  date and time continuously until a  key  is 
  99.                        pressed on the keyboard.  The Turbo Pascal version 
  100.                        is  a  little stubborn and you may have  to  press 
  101.                        several times to get it to exit.                   
  102.                                                                           
  103.                        I  am  not particularly proud  of  these  programs 
  104.                        (especially  the  'C' and Pascal  versions)  since 
  105.                        they  are  a rather brute force  approach  to  the
  106.                        problem,  but  they work and demonstrate  what  is
  107.                        necessary to read the clock.  They are pretty well 
  108.                        commented.   Maybe  someone else will  write  some 
  109.                        more elegant programs.
  110.  
  111.         SETTIME.AZM    8080  assembly language, MicroSoft BASIC, MIX  'C'
  112.         SETTIME.BZS    and  Turbo  Pascal 3.0 programs  for  setting  the
  113.         SETTIME.CZ     clock.   SETTIME.COM is the assembled  version  of
  114.         SETTIME.CZM    SETTIME.ASM.   The programs will prompt  for  each
  115.         SETTIME.PZS    value  and display the current value.  A  <cr>  by 
  116.                        itself  will  use the current  value.   Since  the 
  117.                        clock is capable of either 24 or 12 hour time  and 
  118.                        understands  about  leap years, these  values  are 
  119.                        also requested.  A final prompt asks for a  return 
  120.                        to start the clock.  Setting the clock ALWAYS sets 
  121.                        the seconds to zero, so remember to give  yourself 
  122.  
  123.  
  124.                                     2
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.                        a little cushion when entering the minutes.        
  134.                                                                           
  135.                        Again, I am not proud of these programs, but  they 
  136.                        do work and demonstrate how to set the clock.
  137.  
  138.         CLOCKOUT.AZM   Super neat programs by John Osnes for setting  and    
  139.         CLOCKOUT.COM   reading  the clock.  The SETCLOCK.COM file is  set  
  140.         SETCLOCK.AZM   for MDT60/70 terminals.  You might need to  change  
  141.         SETCLOCK.CZM   it  for your particular terminal.  See  -OSNES.NOT 
  142.                        for instructions.  These programs are more general 
  143.                        purpose  than are mine and can be used with  other 
  144.                        clocks.   Thes  are great examples of  truly  good 
  145.                        assembly  language programming and are well  worth 
  146.                        studying.
  147.  
  148.         SSED.CZM       Simple,    Stupid   EDitor.    Will   take    your 
  149.                        BNKBIOS3.MAC (revision 2.0) file and create a  new 
  150.                        BNKBIOS3.MAC file with the clock support using the 
  151.                        BNKBIOS3.DIF editor script file.
  152.  
  153.         UNCR.COM       Uncruncher for uncrunching those files with a  ?Z? 
  154.                        extension.
  155.  
  156.         Mike Allen
  157.         400J Summer Wind Way
  158.         Glen Burnie, MD 21061
  159.         (301) 768-1721
  160.  
  161.         3/31/87
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.                                     3
  191.