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 / CPM3 / CCP105P.ARK / LRUNHDR.MAC < prev    next >
Text File  |  1986-10-17  |  2KB  |  72 lines

  1.     .z80
  2.     aseg
  3.  
  4. ;Modified CCP for CP/M version 3.1
  5. ;
  6. ;This CCP is intended to overcome some of the shortfalls of the
  7. ;CCP supplied with CP/M Plus.  It is especially useful in an RCPM
  8. ;environment.  See CCP+.DOC for more details.
  9. ;
  10. ;This is the modified dissasembled version of the CCP.
  11. ;
  12. ;Jim Lopushinsky,  Edmonton, Alberta, Canada
  13. ;403-435-6579 @ 300/1200 bps
  14. ;
  15. ;Feb 3/85    Released to public domain
  16. ;Feb 8/85    Incorporated DRI CCP patch #2
  17. ;Feb 20/85    Fixed ZCPR maxdrv compare variable
  18. ;Feb 20/85    Init MAXDRV,MAXUSR, and WHEEL bytes on cold boot.
  19. ;May 21/85    Converted Select drive to BDOS calls
  20. ;Sep 8/85    Added Library Command run facility (Thanks to Richard Saeks)
  21.  
  22. no        equ    0
  23. yes        equ    0ffffh
  24.  
  25. ;-----------------------------------------------------------------
  26. ;The following equate determines weather the CCP or CMDRUN 
  27. ;library processor is assembled.
  28.  
  29. ccp        equ    no    ;yes=CCP, no=CMDRUN
  30.  
  31. ;------------------------------------------------------------------------------
  32. ;The following equate determines whether the CCP has UNIX (tm of AT&T) csh-like
  33. ;history handling enabled.
  34.  
  35. ccphistory      equ    no        ;yes=history, no=lrun-loader
  36.  
  37.  
  38. ;-----------------------------------------------------------------
  39.  
  40. TPA         EQU    100H    ;Tpa programs get loaded here
  41.  
  42.         org    tpa    ;start at tpa
  43.  
  44.         jp    start    ;jump over variables
  45.  
  46. ;----------------------------------------------------------------
  47. ;The EXDRV and EXUSR values determine which drive/user area is
  48. ;excluded when searching for COMMAND.LBR.  The purpose of these
  49. ;values is to prevent callers from uploading a COMMAND.LBR and
  50. ;invoking CMDRUN to execute .COM files from it.  These 2 values
  51. ;should be the UPLOAD area of your system.  If you do not wish
  52. ;to exclude any drive/user, use 0 for EXDRV.
  53.  
  54. EXDRV:        db    1    ;Exclude drive.  A=1, B=2, etc
  55.                 ;0 = do not exclude any drive/user
  56.  
  57. EXUSR:        db    4    ;Exclude user number.
  58.  
  59. ;----------------------------------------------------------------
  60. ;Do not modify the following equates.
  61.  
  62. WHLLBR        EQU    NO
  63. EXPAND        EQU    NO
  64. TIME        EQU    NO
  65. BYECHK        EQU    NO
  66. NOXOFF        EQU    NO
  67. YESPRL        EQU    NO
  68. YESLBR        EQU    NO
  69. TIMEON        EQU    NO
  70.  
  71.     include    CCP105.MAC
  72. ry, no=lrun-lo