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 / CCPEXT.C < prev    next >
Text File  |  1986-10-17  |  640b  |  24 lines

  1. /*
  2.  *  C C P E X T . C
  3.  *
  4.  * This is a test file for doing a ccp extension.  This routine
  5.  * is called as <tempdisk>:ccp.ext, and is loaded to
  6.  * address 0x6000.
  7.  *
  8.  * This is written in Manx Aztec C II version 1.05g
  9.  *
  10.  *
  11.  * Written 9/1986 by Michael D. Kersenbrock
  12.  */
  13. main()
  14. {    /* dummy */
  15. }
  16.  
  17. ccpext(cmdline,hbuffer)
  18. char *cmdline;        /* points to command line (at the byte count)       */
  19. char *hbuffer;        /* simple defn for now, make a struct pointer later */
  20. {
  21.     printf("\nCommand line: %s\n",cmdline+1);
  22.     return(0);    /* zero should keep history mechanism active        */
  23. }
  24. dressè    push    hl            ; save itè    ex    de,hl            ;