home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / genie-commodore-file-library / C128CPM / CPM-DL-INTRO.TXT < prev    next >
Encoding:
Text File  |  2019-04-13  |  4.0 KB  |  71 lines

  1.             GETTING DOWNLOADED FILES TO WORK UNDER C128 CP/M
  2.  
  3. So you want to get started using the OTHER cpu in your 128: the Z80 chip.  
  4. You've heard, from the manuals and elsewhere, that there is loads of CP/M 
  5. software available, the vast majority of which you could use on your 128.
  6.  
  7. So let's say you find a source of CP/M software.  Library #27 on GEnie's
  8. C64/128 Flagship, where this file was located, as well as the CP/M RoundTable
  9. on GEnie, is probably a good place to look.  But your terminal program
  10. downloads files in the 128's native mode, producing commdore (C=) PRG or SEQ
  11. disk files- which are not directly readable by CP/M.  So how do you get these
  12. files into CP/M format?
  13.  
  14. To start, you will find the program CrossLink2.1b quite helpful.  This program
  15. runs in the 128's native mode- meaning you aren't stuck with the catch-22 of
  16. having to convert a file conversion utility.  It will read and write C= 5.25"
  17. disks (with a 1541 or 1571) as well as CP/M single sided and double sided
  18. disks.  (It claims to read and write MS-DOS disks as well, although I have not
  19. tried this myself.)  This way, if you have a disk you have formatted under
  20. CP/M (using the utility FORMAT.COM included on your CP/M system disk), you can
  21. translate files on CBM disks to a format readable by CP/M.
  22.  
  23. Eventually, you will probably want the CP/M program RDCBM.COM (version 2.1).
  24. This CP/M program reads C= disks.  It has one major advantage over Crosslink:
  25. there is no limit to the size of files it can read.  Crosslink can only
  26. read/write files up to about 45K in size.  RDCBM.COM also supports the CP/M
  27. RAMdisk, if you have a 1750 REU (which I heartily recommend if you use either
  28. CP/M or GEOS much).
  29.  
  30. So now you have the files readable by CP/M.  But wait!  All of these files
  31. have funny extentions like .LBR and .ARK, or .CZM instead of .COM.  And you
  32. try to run them- and nothing happens!  That is because these are compressed or
  33. archived files, which need to be uncompressed or dearchived before they can be
  34. used.
  35.  
  36. But how do you convert them to a usable format?  The standard commodore 
  37. utilities in general won't work on CP/M files.
  38.  
  39. The first file you will need is UNARC16.ARK (perhaps called UNARC16.SDA).  This 
  40. program will dearchive .ARK files.  It is a self dissolving archiver itself 
  41. (i.e. you don't need it to get it).  Rename it to UNARC16.COM, and run it like 
  42. any other CP/M program.  This finished, you will have a DeARKiving utility.
  43.  
  44. Next, you will probably want to get ahold of some library and uncompressing
  45. utilities.  I would recommend for most uses LT31, a utility that will extract
  46. files from libraries and decompress all of the common compression formats
  47. seen in CP/M.  With just LT31 and UNARC16 you should be able to dissolve all
  48. CP/M archives you find.
  49.  
  50. If your tastes don't run that way, there are individual library and
  51. decompression utilities you can use.  DELBR12.ARK is a must, if for no other
  52. reason simply because you will need it to dissolve LT31.LBR.  You can use
  53. UNARC16 to dissolve the DELBR12.ARK.  NULU152A is a more powerful library
  54. managing utility, which will allow you to create as well as dissolve
  55. libraries.  Also, there are individually compacted files.  Files with
  56. extentions .?Z? (the ? meaning any character) are "crunched," and files with
  57. extentions .?Q? are "squeezed," and files with extentions .?Y? are "lharced."
  58. Sometimes you will find compacted files inside a library (.LBR file).  In
  59. order to unsqueeze and uncrunch files, you will want the utilities USQ120.COM
  60. and UNCR-Z80.COM.  LT31 is probably your best bet for dealing with lharc'ed
  61. files.
  62.  
  63. Once you have these files, you have everything you will need to get started
  64. taking advantage of the large amount of public domain software available for
  65. CP/M.  And at this stage you might want to look into the wonders of ZPM and
  66. ZCCP... I won't distract you by discussing that here, but will rather refer
  67. you to the text file which introduces all that.  Meanwhile, enjoy!
  68.  
  69. Robert Knop (R.KNOP1)
  70.  
  71.