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 / MODEMS / XMODEM / XMDM125.ARK / XMDM125.UPD < prev    next >
Text File  |  1986-07-15  |  16KB  |  316 lines

  1.  
  2.         XMODEM - REMOTE CP/M FILE TRANSFER PROGRAM
  3.  
  4.   This program allows a remote user to transfer files (to or from) RCPM
  5.   systems running under BYE (remote console program).
  6.  
  7.   ----------------------------------------------------------------------
  8.           Updates and revisions (rev order)
  9.   ----------------------------------------------------------------------
  10.  
  11.  
  12.    v12.5    Fixed conditional assembly bug which caused date to
  13.   07/13/86    appear in log twice when MBBS and BYEBDOS were both set
  14.         to YES.
  15.         Fixed conditional assembly bug which did not allow MBFMSG
  16.         to be set to YES while MBDESC was set to NO.
  17.         Removed patch to log download before sending EOF because
  18.         EOF would not be sent, leaving caller's program in file
  19.         transfer mode, if LOGCALL routine exited with an error.
  20.         This problem was noticed by Keith Petersen.
  21.         Modified to abort any download which would result in a
  22.         user exceeding his time limit when BYEBDOS is YES.
  23.         Fixed bug which would cause caller to be logged off
  24.         without updating log file if transmission errors caused
  25.         his download to put him over time limit when BYEBDOS was
  26.         YES and CLOCK and TIMEON in BYE were YES (call to TCHECK
  27.         in BYE's extended BDOS call would hang up on caller).
  28.         Revised comments for some equates to make them easier to
  29.         understand.
  30.                         - Murray Simsolo
  31.  
  32.    v12.4    Fixed so that upload area is NOT asked if "XMODEM"
  33.   03/13/86    only typed (still asked if "XMODEM A" is used.)
  34.         Also fixed so upload area is NOT asked if the "RM"
  35.         function is being used to upload a message file.
  36.         New features: New uploads are made $SYS files if
  37.         the SYSNEW option is enabled. This makes it easy
  38.         to keep files in the right place, all you have to
  39.         do is reset the file attributes. A NEWPRV option
  40.         for the MBDESC option makes all new uploads private
  41.         messages to SYSOP (new MWHATS30 has "O" (for OK)
  42.         option to make private upload descriptions public
  43.         for sysop use only). I also fixed bugs that were
  44.         putting characters with high bits in the log file
  45.         and possibly in upload descriptions as well.
  46.         Also a bug in the CONTIN: area spotted by Michael
  47.         Conley was also fixed.
  48.                     -- Kim Levitt
  49.                        MBBS HQ PDSE (213) 653-6398
  50.  
  51.   ----------------------------------------------------------------------
  52.  
  53.    v12.3    Well, I blew the SPCDU stuff!. I guess I didn't un-
  54.   03/05/86    derstand how the LOGDU really worked. The only prob-
  55.         lem it should have caused is that the Sysop would
  56.         have gotten the wrong description of which D/U he
  57.         was going to upload to. These are now fixed. The Sysop
  58.         can put the file in the current D/U or specify the
  59.         D/U he wants a file to go to. Also fixed four BDOS
  60.         equates noticed by Bill Duerr: The BDNULL and BDTOUT,
  61.         and the BDHRDL and BDWRTL equates did not agree with
  62.         the BYE339 jump table.    BDWRTL is the one that may
  63.         cause problems. XMODEM said BDWRTL was 76.  BYE said
  64.         it was 75. These are also fixed now.
  65.                     -- Russ Pencin
  66.                        Dallas Connection (214) 238-1016
  67.                        300/1200/2400 baud, 24 hrs.
  68.  
  69. ========================================================================
  70.  
  71.    v12.2    Added error check for library read functions to abort
  72.    02/22/86    on read error. Revamped the upload file description
  73.         code to show the sysop ( if ZCPR2 ) the actual D/U
  74.         that he will be uploading the file to. Revamped the
  75.         ASKAREA code to skip asking the sysop what area.
  76.         Removed the BYEBDOS conditional for LOGCAL which kept
  77.         BYEBDOS systems from getting the VRECNO and correct
  78.         file time (near EOT1:). Consolidated BYECHK to work
  79.         with BYEBDOS or others to allow the ACCESS checking
  80.         to be a stand-alone equate (no longer tied to MBBS).
  81.         Added ASKSYS equate to set whether sysop wants to
  82.         be asked for file descriptions or not. Added ASKIND
  83.         equate to allow category descriptions for uploaded
  84.         files. Moved WRTLOC and CONFUN to a miscellaneous
  85.         flag area so they won't be confused with the MBBS
  86.         equates. Added BYEBDOS conditionals to all B3RTC
  87.         code to insure no conflict of equates.
  88.                     -- Russ Pencin
  89.                        Dallas Connection (214) 238-1016
  90.                        300/1200/2400 baud, 24 hrs.
  91.  
  92. ========================================================================
  93.  
  94.   v12.1     Fixed bugs in RTC handling for MBYE systems, other bugs
  95.   01/14/86    remaining since v11.7. Added modified XMDM10XX patch
  96.         so that systems supporting multiple operating systems
  97.         and/or computers can separate uploads into different
  98.         upload areas. (XMDM10XX patch by Russ Pencin of the
  99.         Dallas Connection RCP/M.) XMDM119.FIX fixes by Brian
  100.         Rau (COG-RCP/M sysop) were also included. (Some of
  101.         these were included in XMDM120 by Irv Hoff in parallel.)
  102.         Also removed unnecessary blank lines and ENDIF comments,
  103.         (no need to comment ENDIFs on short sections of con-
  104.         ditional code, although is helpful on longer sections),
  105.         and reduced amount of code by creating subroutines.
  106.         Equates set up for a ZCPR/MBBS system. Added NDESC option
  107.         so "XMODEM RN FILE.TYP" will allow a user to bypass
  108.         the DECRIB or MBDESC optional description input (for
  109.         uploads that are pre-arranged or need no description.)
  110.         Also added SYSABT option (for CONFUN users) to allow
  111.         the sysop to abort up or downloads with ^X on system
  112.         console. (Suggested by Robert Crump.)
  113.                     -- Kim Levitt
  114.                        MBBS HQ PDSE (213) 653-6398
  115.                        300/1200/2400 baud, 24 hrs.
  116.  
  117.   ----------------------------------------------------------------------
  118.  
  119.   01/11/86  There have been several XMDM119 'bug' and 'fix' notes cir-
  120.     v12.0   culating.  Incorporated the change to the "TIME:" routine
  121.         suggested by Russ Pencin - he added a PUSH-POP PSW to keep
  122.         the value in the 'A' register that contains the logon hour
  123.         from being destroyed, making the program think the user had
  124.         exceeded his maximum time limit.  Also several changes sug-
  125.         gested by Brian Rau, although one was not added as it would
  126.         have had undesired results if using equates in the EXIT area
  127.         different from his selection.
  128.  
  129.         Keith Petersen had a problem recently that caused my getting
  130.         involved in checking out the program.  He had a disk problem
  131.         which allowed XMODEM to go ahead and read data from a bad
  132.         record into the 'send' buffer, which was then sent as valid
  133.         data.  He mentioned there was possibly an error in the read
  134.         routine, not only in XMODEM but perhaps in KMD as well.  So
  135.         I started checking that area very carefully and found that
  136.         both programs handle that correctly - if the BDOS call #20
  137.         (read next record) returns with 00H, the read was ok.  If it
  138.         returns with a 01H, it was an end of file.    Anything else is
  139.         an error and can be handled as such.  Studying the "RDBLOCK"
  140.         routine (in both XMODEM and KMD) shows this is being handled
  141.         correctly, with a "File read error" statement printed if the
  142.         BDOS call cannot get a valid read.
  143.  
  144.         Checking with a number of SYSOPs reveals similar action on a
  145.         wide variety of equipment - if a bad sector prevents a good
  146.         read, normally the computer stops at that point, displaying:
  147.  
  148.                 Disk Err on B: Bad Sector
  149.  
  150.         I suspect you have all seen that at one time or another.  It
  151.         usually takes a CR or CTL-C to again put the computer into
  152.         operation, at which time it "appears" to be reading normally
  153.         but in reality almost certainly has different information
  154.         from what it should.
  155.  
  156.         It would appear there is nothing the user can do about this,
  157.         except to run FBAD on the disk system periodically and hope
  158.         no bum sectors show up - however the bad sector usually does
  159.         stop the machine at that time, notifying the operator he has
  160.         a problem and preventing further downloads at that moment.
  161.  
  162.         Anybody ambitious to do an update should consider cleaning
  163.         up the mess the CP/M+ section(s) are in.  There are areas of
  164.         unused code (no labels calling them) ahead of LOOP: GETBTIM:
  165.         and GETBDAT: routines - perhaps other places as well.
  166.  
  167.         Also restored the conditional calls in the comment field af-
  168.         ter the ENDIF statements.  Many SYSOPs felt those were quite
  169.         valuable in following the progress of various routines, par-
  170.         ticularly if they wanted to customize the program for their
  171.         own use.
  172.                     - Irv Hoff
  173.  
  174.   ----------------------------------------------------------------------
  175.  
  176.   01/01/86  Fixed bug in LOGCAL which caused a download to record in
  177.     v11.9   XMODEM.LOG as A0> regardless of actual drive/user.    Elimi-
  178.         nated MBYETOS equate.  Now anyone running BYE3 or MBYE with
  179.         an RTC can use maximum time on system to limit download time
  180.         tines, and some unused labels removed.
  181.                     - Murray Simsolo
  182.  
  183.   ----------------------------------------------------------------------
  184.  
  185.   11/02/85  New version that will allow a "RM" function to upload a mes-
  186.     v11.8   a message file for entry in a MBBS system running MBYE v4.1
  187.         and up with MFMSG.COM v2.0 and up.    Also fixed so MBDESC
  188.         will show disk/user area file uploaded to in the NEW UPLOAD:
  189.         filename display.  Also, I included an update by Lavern Og-
  190.         den that enables MBYE users to have a user's max time on
  191.         system be used in the calculations for time allowed for
  192.         downloads.                - Kim Levitt
  193.  
  194.   ----------------------------------------------------------------------
  195.  
  196.   09/08/85  Added patch so MBBS used to enter upload descriptions into
  197.     v11.7   into message file.    (MBYE40 and MBBS40 needed for this.)
  198.         Also added Murray Simsolo's XMDM116.FIX and a variation of
  199.         Mark Motley's fix to clear the WRTLOC flag when the "help"
  200.         message is displayed.  The user can abort it and his TOSEXIT
  201.         equate to make the TOS display an option on exit.  Also made
  202.         it so that instead of time on system being reset, max time
  203.         allowed on is adjusted instead if a user uploads a file.
  204.         Added LOGSYS equate to pick the old LOG.SYS filename as new
  205.         MBBS will work with XMODEM.LOG as well as LOG.SYS now.  Also
  206.         added DWNTAG option so files tagged with "F3" status attri-
  207.         bute can be downloaded regardless of access privileges.
  208.         Fixed bugs introduced into v116 by Paul Traina (he eliminat-
  209.         ed needed WRTLOC clear in DESCRIB optional code).  NOTE:
  210.         Read MURPHY'S LAWS re: computer program bug fixes.    (IF NOT
  211.         TURKEY).  (Although I didn't like all of Steve's "fixes", I
  212.         was trying to integrate his updates with John Hoffman.  The
  213.         The old NOT X and NOT Y might have been more confusing than
  214.         than NOT (X or Y) but either works.  But (NOT X or Y) is NOT
  215.         the same thing.  Changed OK2400 comments to reflect change
  216.         in code by Paul Traina.) Added code so ^X, pause, ^X will
  217.         abort an upload.            - Kim Levitt
  218.  
  219.   ----------------------------------------------------------------------
  220.  
  221.   08/11/85  Fixed bugs introduced between 112 and 115.    Added Kevin Mur-
  222.     v11.6   phy's changes to let BYEBDOS systems to gain time on system.
  223.         (Note: Must be using BYE338 for this to work properly.  If
  224.         you are running BYE337, please upgrade to v338, as v338 cor-
  225.         responds to the documentation and changes the way one of the
  226.         BYEBDOS call functions works).    - Paul Traina
  227.  
  228.   ----------------------------------------------------------------------
  229.  
  230.   08/10/85  Fixed a bug in the "turkey patch" that could cause double
  231.     v11.5   entries in the log file for uploads or worse.  Eliminated
  232.         "thru packet " in message to console that is unnecessary and
  233.         was leaving last packet number on console screen at end of
  234.         downloads if a file is sent which requires small packets at
  235.         the end.  Also I fixed the version number.    (This is #11.5
  236.         not 1.15 or 115.)  Incorporated code from John Hoffman's
  237.         11.3 update and Steve Sanders' 11.4 update to bring out one
  238.         version with all bugs fixed and features together again (I
  239.         hope).  Made some of Steve's feature patches optional.
  240.         (DSPFNAM for display file name option, MBYE37 equate renamed
  241.         to MBYETOS.)        - Kim Levitt
  242.  
  243.   ----------------------------------------------------------------------
  244.  
  245.   08/10/85  Steve Sanders' version.  (Did not include v113 updates.)
  246.     v11.4   LUXMOD equate added so XMODEM can be configured to    work as
  247.         a LUXMODEM program.  XM-FNAM2.ADD patch added to display se-
  248.         lected file name on downloads and uploads so user can verify
  249.         system didn't get garbage for the filename.  Fixed TAGLBR
  250.         option to work correctly.  Misc. cleanup up and changes.
  251.                     - Steve Sanders
  252.  
  253.   ----------------------------------------------------------------------
  254.  
  255.   08/09/85  This version does not add any new features, what it does is
  256.     v11.3   is to get all of the known patches together in one place so
  257.         that future revisions of this program, will eliminate the
  258.         problem, of seeing what patches, and fixes have been carried
  259.         through.            - John Hoffman
  260.  
  261.   ----------------------------------------------------------------------
  262.  
  263.   07/16/86  1)    Added universal I/O option for users of Bye > 3.37 if
  264.     v11.2    BYEBDOS is set, then a large section of equates are not
  265.         used.  At the current time, xmodem expects you to have a
  266.         RTC if BYEBDOS is set.
  267.         2)    Added in fixes from XMDM110.FX2, thanks for the patch.
  268.         My appologies to the people I messed up.  Courtesy of:
  269.         Steve Saunders, Richie Dervan, Ron Mani.
  270.         3)    Re-wrote options selection section. Talk about spaghetti
  271.         code.  It's much cleaner now, adding function "RX".
  272.         4)    1k request ignored if user is calling in at 300 baud.
  273.         5)    If user types "R" - system sends "CK" instead of "C".
  274.         This is transparent to all present modem programs other
  275.         than ProYAM for MS-DOS 16-bit computers.  With ProYAM,
  276.         when uploading a file, the first block will have to be
  277.         resent, or the user can type "RX" to disable this auto-
  278.         protocol select flag.  This change does not affect the
  279.         current "1k" protocol, it's really a great idea...cour-
  280.         tesy of Irv Hoff.
  281.         6)    Local console display mimicks MEX114 in 1k mode.
  282.                     - Paul Traina
  283.  
  284.   ----------------------------------------------------------------------
  285.   07/21/85  1)    Reincorporated the use of ERRCDE, which had been partly
  286.     v11.1    ially removed from the program, as an assembly time op-
  287.         tion.  The external overlay passes a code in Reg. A when
  288.         a parity, overrun or framing error is detected.  Other-
  289.         wise Reg. A=0.    This could be important to some users
  290.         who may be using checksum instead of CRC.
  291.         2)    Added a version (last edit) date, which appears when the
  292.         program signs-on.
  293.         3)    Compressed the help/example screen
  294.         4)    Added routines for a BIOS, binary clock at GETTIME &
  295.          GETDATE        - Don Brown
  296.  
  297.   ----------------------------------------------------------------------
  298.  
  299.   07/20/85  1)    corrected send time for 1k packets to be more accurate.
  300.     v11.0    XMDM110 looks to see what block size we use.  (Thanks go
  301.         to Irv Hoff for the table entries.)
  302.         2)    changed send-time to print "mm:ss" instead of "mm mins,
  303.         ss secs"
  304.         3)    Removed equate OLDRBBS, not necessary because LASTCALR
  305.         FCB looks for any file with the firstname of "LASTCALR".
  306.         4)    Changed MBRTC to B3RTC (and sub-equates) because BYE335
  307.         and newer have compatible RTC capability.
  308.         5)    Added an equate "OXGATE".  If B3RTC (previously called
  309.         MBRTC) or RTC is set to true, then OXGATE equate takes
  310.         effect.  This equate tells the system to stop reading
  311.         data from the last caller file after the second comma.
  312.         (The date was getting printed twice.
  313.                     - Paul Traina
  314.  
  315.   ----------------------------------------------------------------------
  316.