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-MOD.001 < prev    next >
Text File  |  2000-06-30  |  1KB  |  32 lines

  1.  
  2. Note : This will be in the next NUBYE release [tmb]
  3.  
  4. Date : 09/22/86
  5. From : Bob Clyne, CoSysop Royal Oak RCP/M (313) 759-6569
  6. Re   : NUBYE v1.01 modification
  7.  
  8.    Many users routinely hit CR's when logging onto a system -- since
  9. NUBYE currently accepts a CR at the nulls question, this can cause
  10. those users to get the default nulls (and they may not have a chance
  11. to reset them without calling back).
  12.    Remove the code marked with "==>>" below and this will prevent
  13. any response other than numerical to the nulls question.
  14.  
  15. ;
  16. ASKNL0: LDA     NULTRY
  17.         CPI     12              ; Retry limit? (allow for noisy lines)
  18.         JZ      PREOFF          ; Yes, else continue
  19.         INR     A
  20.         STA     NULTRY          ; Increment counter and save it
  21.         LXI     H,NULMSG        ; Nulls message
  22.         CALL    PRINTB          ; Send it
  23.         CALL    MINPUT          ; Get value
  24. ==>>    MVI     C,'0'           ; Default 0 nulls               <<== remove
  25. ==>>    CPI     CR              ; Default ok?                   <<==   "
  26. ==>>    JZ      $+14            ; Yes, so skip next 5 lines     <<==   "
  27.         MOV     C,A
  28.         CPI     '0'
  29.         JC      ASKNL0          ; Bad, retry
  30.  
  31. ** end of modification file **
  32.