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 / C128 / C128CMPT.DOC < prev    next >
Text File  |  2000-06-30  |  11KB  |  179 lines

  1. =========================
  2. C-128 Compatibility
  3. By: Carl F Howard
  4.     [CHUCK.WAGON]
  5.      09-19-1987
  6. ========================
  7.  
  8.      This  is  an  article on the aspects of compatibility of the  C-128  and
  9. other  operating systems and software available to facilitate  the  importing
  10. and  exporting  of data.  This article centers on the CP/M mode of  operation
  11. although the discussion will cover the various modes of the C-128 as well.
  12.  
  13.      Although  the  C-128 utilizes 8-bit CPU's it's diversity as  a  personal
  14. computer for home and small business purposes is one of it's main Assets, and
  15. I  am sure many new users of the machine aren't even aware of the  capacities
  16. available  to them.  Aside from playing your favorite games in C-64 mode  the
  17. Native  128  80 column capabilities allows much convenience for  the  use  of
  18. productivity applications to the new user.
  19.  
  20.      There  is already a wide base of Word Processing,  Data Base and Spread-
  21. Sheet Software available for use.  Additionally by utilizing the CP/M mode of
  22. operation  users can take advantage of Business Applications and a huge  base
  23. of public Domain Software as well.  Also, it is possible to use your C-128 to
  24. process  data brought home from the office or school which was created on  an
  25. MSDOS machine.  This  article  will  help  you become  aware  of the  various
  26. different  disk  and data type formats and the software available to  convert
  27. data for your particular application.
  28.  
  29.      First  it is necessary for the new user to understand a little about the
  30. way  information is stored in the commodore computer and how it differs  from
  31. other types of computers used in the U.S.  As you are aware all data utilized
  32. by  a  computer is essentially processed in binary numbers in  the  forms  of
  33. zeros  and  ones.  This  represents  the on and off state  of  an  individual
  34. transistor switch in the intergrated chips of your computer.  This is  simple
  35. enough  as far as it goes but how does the computer know when you press a key
  36. on the keyboard what your pressing and what it means?
  37.  
  38.      Well  each  key has a numeric value assigned to it.  The  value  can  be
  39. expressed in Decimal,  Hexadecimal or binary form. And it is this value which
  40. is  converted to a binary number that allows the computer to distinguish what
  41. key is being pressed and what it means. Most computers used in the U.S. use a
  42. standard code called ASCCI which assigns a value of decimal 1 to decimal  128
  43. to  characters used by them.  Commodore in their unique wisdom however  chose
  44. not  to  use  this  standard an developed a character  set  unique  to  there
  45. machines  using  decimal codes 1 to 256.  So in order to use data created  by
  46. other  machines it is necessary to convert it too PETASCCI code a form  which
  47. your Commodore computer can understand.
  48.  
  49.      Aside from the data differences Commodore also chose to use a  different
  50. way of storing  information on their floppy disk as well. Mostly their reason
  51. for this was to build a cheaper disk drive. They use GCR format as opposed to
  52. MFM format for the rest of the U.S.  computer industry.  I won't go into  the
  53. difference  here  but,  it is nice to know that the 1571 Disk Drive  has  the
  54. capability  of reading and writing to both formats with the use of the proper
  55. software.  We'll  get into this  more bellow.  The thing to remember here  is
  56. that  all Native Commodore operating systems (home computers) including  CP/M
  57. use the GCR format.
  58.  
  59.      Well armed with this information what else do we need to know?  For  one
  60. it  is important to know whether you are using a single or double sided  disk
  61. format.  For  another it is important to know which operating system (or disk
  62. drive)  your  disk was formatted on.  The types of disk formats  we  will  be
  63. discussing here are the following:
  64.  
  65. a.  C-64    Single Sided  1541
  66. b.  C-128   Single Sided  1571 (1541 compatible)
  67. c.  C-128   Double Sided  1571 (not 1541 compatible)
  68. d.  C-128   CP/M (GCR) 1571 Single Sided (1541 compatible))
  69. e.  C-128   CP/M (GCR) 1571 Double Sided (not 1541 Compatible))
  70. f.  C-128   CP/M (MFM) IBM (CP/M-86) Single Sided 1571 (not 1541 Compatible))
  71. g.  C-128   CP/M (MFM) IBM (CP/M-86) Double Sided 1571 (not 1541 Compatible))
  72. h.  MSDOS   IBM Double Sided (9 tracks) DOS Version 2.0 or higher.
  73.  
  74.      As you can see I have listed the Disk types in upward compatible  order.
  75. Commodore did develop a CP/M version (2.2) for the C-64 which required an add
  76. on  cartridge to implement and as such I've included it in our list  although
  77. we  will  be  discussing the 128 Version here which is CP/M + (Ver  3.0)  and
  78. takes advantage of the 128's Banked Memory (additional 64k as opposed to only
  79. 64k for Ver 2.2).
  80.  
  81.     The  Stock C-128 CP/M Operating System which comes with the  computer  is
  82. capable of reading and writing formats d. e. f. & g.  noted above.  The stock
  83. system  is  also capable of reading  Kaypro And Epson Formats  as  well.  The
  84. System  will automatically identify the disk type in current use in the lower
  85. right hand corner of your monitor.  Note when a disk format other than a  128
  86. Single  or Double Sided format is used the user must tell the system  whether
  87. or  not the non-128 formatted disk is a single or double sided disk.  This is
  88. done  by  pressing the left or right arrow keys on the top row  next  to  the
  89. function  keys.  Failing  to identify the correct format can cause disk  read
  90. and  write  errors  so be sure to properly set the  system  for  the  correct
  91. format.
  92.  
  93.      There are Two Public Domain Programs available that will enhance the  C-
  94. 128  Systems  ability to read write and format other CP/M formats.  They  are
  95. Called  NFORMAT.COM and UNIDRIVE.LBR File numbers 1554 and 2682 in the  C-128
  96. library  number 34 on the CP/M R.T.  NFORMAT will allow you to format all  of
  97. the  formats indicated above and Osborne DD formats as  well.  Unidrive  will
  98. allow  you  to  read/write  up to 10 formats out of a menu  of  25  different
  99. formats  not supported by the stock O/S.  Although there are more  than  200+
  100. CP/M formats these 25 will surely enhance your systems capabilities and cover
  101. a range of the more popular formats you will encounter.
  102.  
  103.      More  than likely at some point you will want to transfer data you  have
  104. created  on your C-64 or 128 in native mode.  The stock system can't do this.
  105. But don't get discouraged.  A real Nifty Program to read and transfer/convert
  106. Data  from  your  Commodore disk has been put in the  Public  Domain  by  Rob
  107. Tiloston  called RDCBM21.LBR.  This is file number 3733 on the CP/M  R.T.  It
  108. will  allow  you to transfer binary (program) files or sequential  files  you
  109. have  created in native mode to your Ram Disk or second Disk Drive while  you
  110. are  in CP/M operating mode.  The program will also convert PETASCCI to ASCCI
  111. for  you as well.  CP/M uses ASCII files and your Commodore text  files  will
  112. have  to be converted for you to use them in CP/M mode.  The program is  very
  113. helpful in this respect and eliminates your having to use other utility files
  114. for  the conversion.  The other nice feature of this program is that you  can
  115. transfer  CP/M  program files you have down loaded with your Native  terminal
  116. program  to  a Commodore formatted disk directly to a CP/M disk or  your  RAM
  117. disk while in CP/M mode. This is a much eaiser way of accomplishing transfers
  118. than  some  of the earlier transfer programs that came out in  the  beginning
  119. days of C-128 CP/M.  The program is menu driven and easy to use and I  highly
  120. recommend it for anyone just beginning in CP/M mode.
  121.  
  122.      While  we're on the topic of Commodore to CP/M transfers I'll shift back
  123. into  Native mode transfer programs for just a moment.  There are 2  programs
  124. that  are available here on GEnie for use in 128 Mode to facilitate  Disk  to
  125. Disk transfers of Data.  One is a DEMO program of a commercial program called
  126. Big Blue Reader,  File number 2264 in Library 9 of the Commodore R.T.  and it
  127. will allow you to view MSDOS Data files on your 128.  The actual program will
  128. implement full file transfers and I believe the current version also supports
  129. CP/M transfer as well. The suggested retail price is $29.95.
  130.  
  131.      The  other Program is called CROSSLINK2.LBR,   File number 3023 also  in
  132. Library  9.  Cross Link is a fully implemented menu Driven Disk to Disk  (2nd
  133. Drive  optional)   transfer  program  that will  make just about any kind  of
  134. transfer/conversion you can think of.  It will handle CBM,  CP/M and IBM Disk
  135. formats  and   do  ASCCI  PETASCCI conversions  as well PRG and  Screen  file
  136. conversions  too.  This means that it will convert just about  any  Commodore
  137. text file format into a usable CP/M or MSDOS format that you require. You can
  138. also  use  it  to  convert different text file formats used  by  the  various
  139. Commodore word processing applications programs too.  It is an absolute  MUST
  140. HAVE  utility for any one using more than one type of word processor on their
  141. Commodore computer.
  142.  
  143.      The  major draw back with using either of these two programs  though  is
  144. that  they  are  limited in the size of the files that they can  transfer  to
  145. about 200 disk blocks or 40k of memory.  This is because they store the  data
  146. being transferred in a RAM buffer and Don't transfer the data directly.  This
  147. can  be overcome by splitting a larger file into smaller ones for text  files
  148. but  you will not have this option in the case of a Program  ARC or LBR files
  149. which can't be split. For larger files you are going to have to use the RDCBM
  150. program  above or employ a direct conversion method of tranfering  your  data
  151. such  as  a Null Modem Cable (See my article in the June issue of the  S.B.J.
  152. for more info on this method).
  153.  
  154.      Now back to CP/M mode,  to use an MSDOS formatted disk on your 128 there
  155. is a program called RDMS233C.LBR, File number 2566  in Library 34 of the CP/M
  156. R.T.  This program will allow you to copy an MSDOS disk file directly to your
  157. RAM  disk or second drive.  File size is limited only to the  available  disk
  158. space.  The  only problem with this program however is that it will only read
  159. an  MSDOS disk not write to it.  To get the Data back to an MSDOS format  you
  160. will  have  to  copy it to a CP/M disk and use the  Crosslink  program  noted
  161. above.
  162.  
  163.      For  those of you who will be doing a lot of MSDOS / CP/M transfers  and
  164. don't  want to go through the Gymnastics of multiple file conversions I would
  165. highly recommend an MSDOS Program called UNIFORM.  It is a commercial program
  166. which  retails for $59.95 available at most retail software outlets that will
  167. allow  you to read/write CP/M disk on the second floppy drive of  your  MSDOS
  168. machine.  It  supports over 200+ CP/M formats and you can take your work home
  169. and  bring it back the next day if you use one of the Alternate  MFM  formats
  170. supported on the Commodore 128 noted above.  It's well worth the price if you
  171. do  a  lot  of  work at home and don't want to spend the extra  time  at  the
  172. office.
  173.  
  174.      Well  that's about all for now if you have questions or need  help  with
  175. any  of  these  programs drop me a line and I'll be glad to offer  what  ever
  176. assistance I can.
  177.  
  178. Happy *Puting*                    -=[CARL]=-                    [CHUCK.WAGON]
  179.