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 / NUBYE / NUBY-FIX.003 < prev    next >
Text File  |  2000-06-30  |  996b  |  48 lines

  1.  
  2. Note : This fix will be in the next NUBYE release [tmb]
  3.  
  4. Date : 09/21/86
  5. From : Bob Clyne, CoSysop Royal Oak RCP/M (313) 759-6569
  6. Re   : NUBYE v1.01 bug report/fix
  7.  
  8.    When ASKNUL is set to YES, the NULTRY counter is not being
  9. reset between calls.  The fix is marked with "==>>".
  10.  
  11. ;
  12. ANSW:     IF    NOT CPM3
  13.     CALL    BDCHEK
  14.      ENDIF
  15. ;
  16.      IF    MOTOR
  17.     CALL    DSKON        ; Turn on drives
  18.      ENDIF
  19. ;
  20.      IF    (NOT USEZCPR) AND (ZCPR2 OR ZCPR3)
  21.     MVI    A,MAXUSR    ; Reset maximum user area
  22.     STA    MXUSR        ; Set it in bye
  23.     INR    A        ; Bump it
  24.     STA    MAXUSER        ; Set it in ZCPR
  25.     MVI    A,MAXDRV-'@'    ; Reset maximum drive
  26.     STA    MXDRV
  27.     DCR    A
  28.     STA    MAXDRIV
  29.      ENDIF
  30. ;
  31.      IF    CHGPATH
  32.     CALL    REMPAT        ; Set up the secure path for caller
  33.      ENDIF
  34. ;
  35.     XRA    A
  36.     STA    CDOFF        ; Limit for waiting for c/r
  37.     STA    FKFLAG        ; F-key lead-in flag
  38.     STA    LFEEDS        ; Turn LF's on again
  39. ==>>     IF    ASKNUL
  40. ==>>    STA    NULTRY        ; Reset nulls-try counter
  41. ==>>     ENDIF
  42.     STA    TWIT        ; Initiate this flag off, always
  43. ;
  44.      IF    ZCPR2 OR ZCPR3
  45.     STA    WHEEL        ; Initiate with WHEEL off, always
  46.      ENDIF
  47. ;
  48.