home *** CD-ROM | disk | FTP | other *** search
/ Brotikasten / BROTCD01.iso / c128 / c16.d64 / cpm_cbm.doc < prev    next >
Text File  |  1995-08-08  |  6KB  |  117 lines

  1. Tools for getting CP/M Software to your C128 CP/M System
  2.  
  3. For those of you who are interested in obtaining all of that nice Public Domain
  4. CP/M Software available for your C128 CP/M System, there are ways!  Several of
  5. them, as a matter of fact.
  6.  
  7. If we had a choice, we would opt for a smiple overlay for one of the nice CP/M
  8. Terminal Programs available that would run on our C128 CP/M system.  While
  9. there is hope for this alternative, don't hold your breath waiting for it.
  10. Currently there is no modem support in the CBM BIOS for the C128 CP/M.  There
  11. appears to be a reasonable chance that C= will upgrade the BIOS to add this
  12. support, but there is no assurance that this will happen and if it does, there
  13. is a chance that only 300 BAUD will be supported.
  14.  
  15. I suggest that if you are really interested in this alternative, send a request
  16. (NOT a DEMAND) to one of the SYSOPS on the C= support SIG on Compuserve
  17. (PCS-44, section 2).  While you are waiting for this development, don't just
  18. twiddle your thumbs waiting for CP/M software, go out and get it!  If you are
  19. reading this message, chances are you have the means already.  There are quite
  20. a few nice terminal programs for the C64 which can be used to download CP/M
  21. software to your C64/C128 disks.  Do it!  Then read the following guide for
  22. putting that software on your CP/M disks.
  23.  
  24.  
  25. Ground Rules:
  26.  
  27. There are basically two types of CP/M fils you might download:
  28.  
  29. 1. BINARY files - most of these have names like filename.COM or filename.LBR.
  30.    There are some others in this category, like squeezed files (filename.LSQ).
  31.  
  32. 2. ASCII files - these are usually text files containing documentation or
  33.    source code.  Some common names are filename.txt, filename.asm,
  34.    filename.doc, etc.  These files can be squeezed too (filename.asq).  If you
  35.    encounter a squeezed file of this type, treat it like a BINARY file.
  36.  
  37. The important thing to remember is that if the transfer doesn' work the way
  38. you try it the first time, try it the other way.
  39.  
  40.  
  41. TOOLS:
  42.  
  43. 1.  CPMTRA.DOC - This file appears in dl9 of the TPUG Programming sig.  It
  44.     describes a method of using memory transfer to put the file on your CP/M
  45.     disk.  This method is reserved for file which are CBM PRG files on your
  46.     disk and generally must be BINARY files and less than 50K in length.  It
  47.     will probably work for files up to about 56-57K if you want to push it.
  48.  
  49. 2.  CPM271.IMG and CPM271.DOC - These files appear in dl9 of the TPUG
  50.     Programming sig.  This program runs in C128 mode and is used to move files
  51.     from a C64/C128 mode disk to a C64 formatted CP/M disk.  The limit on file
  52.     size is 134K since that is all the C64 formatted disk will hold.  As soon
  53.     as track/sector skewing info is made available for the C128 single and
  54.     double sided disks, those formats will be supported also with a new
  55.     version of CPM271.  This program is basic source code, but will run in C128
  56.     FAST mode if you are running in 80 cols.  Nevertheless, it is very slow.
  57.     As soon as the C128 version of BLITZ is in my hands, that will be helped to
  58.     some extent.  You will probably be able to effect a faster transfer running
  59.     one of the following programs in C64 mode.  This program does allow more 
  60.     options during the transfer than the C64 programs which follow.
  61.  
  62. 3.  CPM241.IMG - This file appears in dl4 of the TPUG sig.  This program was
  63.     originally written to support transfers for the old C64 CP/M cartridge, but
  64.     since the C64 CP/M format disk is still supported by the C128 CP/M (in fact
  65.     its the only format we know much about at present), it still works fine.
  66.     I have BLITZed this program and as a result it runs faster than CPM271 with
  67.     a few less options.
  68.  
  69. 4.  CPMU64.IMG - This file appears in dl4 of the TPUG sig.  CPM241 and CPM271
  70.     both require 2 disk drives, one for the CBM disk and one for the CP/M disk.
  71.     If you have only one disk drive, then CPMU64 is your only tool.  It
  72.     uses a 16K buffer to transfer the file with disk swaps.  If the file is
  73.     larger than 16K, be aware that the second (and subsequent) pass must read
  74.     past all of the data already transfers to get to the next 16K buffer of
  75.     data, so be PATIENT!  This file has been BLITZed also and uses MLC to read
  76.     the 16K buffer, so for small files, it is about as fast as CPM241.
  77.  
  78.  
  79. Note:  If you are transferring more than one file per run with the transfer
  80.        programs, you should re-initialize the CP/M disk before transferring
  81.        the next program.  This shouldn't be needed, but there is a minor bug
  82.        somewhere which I haven't had the time to track down and fix.  As long
  83.        as only one file per initialize is done, the programs work fine.
  84.  
  85.        Be sure that you have room on the CP/M disk to hold the program you are
  86.        transferring or you may waste a lot of time when the CP/M disk fills up
  87.        after you have been transferring for a couple of hours (DRAT!).
  88.  
  89.        As a general rule, you will have better success if you follow the
  90.        following guidelines when using the transfer programs:
  91.  
  92.        1.  Always use USER 0 for the CP/M disk.
  93.        2.  When transferring ASCII files, use an extention of ASM and then
  94.            rename it if necessary after you get into CP/M.
  95.        3.  When transferring BINARY files, use an extention of COM and then
  96.            rename it if necessary after you get into CP/M.
  97.  
  98.  
  99. Where do you get all of this Public Domain CP/M software?  The two best sources
  100. I know of are the CP-MIG (g pcs-47) and KAYPRO (g KAYPRO) sigs on Compuserve.
  101. If you happen to be within local calling range of a good CP/M bulletin board
  102. and have a good XMODEM download program, that is the cheapest source for some
  103. of the more common (and best) CP/M utility software that is in the Public
  104. Domain.
  105.  
  106. I am sure that better methods will develop for getting this software, but until
  107. they are available, you can't say there is NO way to get it.  Right now the
  108. only limitation is that the file has to be 134K or less and that covers a LOT
  109. of ground.
  110.  
  111. P.S. - There are probably multiple versions of CPM241 and CPMU64 on dl4 in the
  112.        TPUG sig.  Get the versions I uploaded [71535,403] if you want the
  113.        BLITZed versions.
  114.  
  115.  
  116. Mike McLawhorn [71535,403]
  117.