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 / ENTERPRS / CPM / UTILS / A / EDIR.ZIP / NO-STOP.ASM < prev    next >
Assembly Source File  |  1990-11-24  |  2KB  |  69 lines

  1.  
  2. ;NO-STOP FOR CP/M 2.2 AS OF 11/28/87
  3. ;COPYRIGHT (C) 1987 ROBERT GREENLEE, P.O. BOX 23286, SAN DIEGO CA 92123
  4. ;PHONE VOICE 619-268-0112
  5. ;      MODEM 619-569-8613.
  6. ;
  7. ;THIS PROGRAM IS A PAL OF EDIR'S.  REFER TO EDIR.DOC.
  8. ;
  9. ;THIS PROGRAM STOPS THE BDOS FROM WAITING FOR A KEYPRESS AFTER DISPLAYING 
  10. ; AN ERROR MESSAGE SUCH AS "Bdos Err On A: Bad Sector." 
  11. ;
  12. ;ON MOST COMPUTERS THE PROGRAM ONLY LASTS UNTIL THE NEXT WARM BOOT.  
  13. ;
  14. ;TO CREATE THE NO-STOP.COM FILE FROM THIS SOURCE USE ASM.COM AND LOAD.COM
  15. ; LIKE SO:
  16. ;
  17. ;     A>ASM NO-STOP
  18. ;     A>LOAD NO-STOP
  19. ;
  20. ;
  21.  
  22. ORG 0100H
  23.  
  24. JMP START
  25.  
  26. MESSAGE:
  27. DB 0DH,0AH
  28. DB 'NO-STOP v1.0 (C) 1987 by Robert Greenlee, P.O. Box 23286,',0DH,0AH
  29. DB 'San Diego, CA 92123.  619-268-0112 Voice.  Modem 619-569-8613.',0DH,0AH
  30. DB 0DH,0AH
  31. DB 'This program temporarily patches the CP/M 2.2 BDOS and stops it',0DH,0AH
  32. DB 'from waiting for a key to be pressed each time it displays an',0DH,0AH
  33. DB 'error message such as Bdos Err On B: Bad Sector.  Be cautious',0DH,0AH
  34. DB 'when using this program since the data in any bad sectors will',0DH,0AH
  35. DB 'be accepted.  Refer to EDIR.DOC for more information.',0DH,0AH
  36. DB 0DH,0AH
  37. DB 'On most computers NO-STOP lasts only until the next Warm Boot.',0DH,0AH
  38. DB '$'
  39.  
  40. SAYOOPS:
  41. DB 0DH,0AH
  42. DB 'Oh darn nothing happened!  It seems you''re not using the real',0DH,0AH
  43. DB 'CP/M 2.2 BDOS which NO-STOP needs in order for it to work.',0DH,0AH
  44. DB '$'
  45.  
  46.  
  47. START:
  48. LDA 2
  49. SUI 14
  50. MOV H,A
  51. MVI L,0F7H
  52. MVI A,0C1H
  53. CMP M
  54.  
  55. MVI C,9
  56. LXI D,SAYOOPS
  57. JNZ 5        ;IF NOT REAL CP/M 2.2 BDOS SAY SO AND ABORT.
  58.  
  59. INR L
  60. MVI M,0C3H      ;OPCODE FOR RET 
  61.  
  62. MVI C,9
  63. LXI D,MESSAGE    ;DISPLAY SIGNON MESSAGE AND RETURN TO CCP.
  64. JMP 5
  65.  
  66.  END
  67.  
  68.  
  69.