home *** CD-ROM | disk | FTP | other *** search
/ The Don Maslin Archive / maslin_archive.zip / AARDVARK_Tape_Backups / maslin_c_d_3oct95 / ddrive / sydex / sanyo / convert.doc < prev    next >
Text File  |  1984-01-31  |  19KB  |  426 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                               C O N V E R T
  10.  
  11.  
  12.     SUBJECT                                                       PAGE
  13.  
  14.     I.  Specifications
  15.         a.  Compatible MS-DOS computers..............................1
  16.         b.  CP/M diskettes converted.................................1
  17.         c.  Functions of Convert.....................................1
  18.         d.  What Convert can't do....................................2
  19.         e.  Special cases............................................2
  20.  
  21.    II.  Operations
  22.         a.  Getting started using Convert............................3
  23.         b.  How to stop Convert......................................3
  24.         c.  The Convert display......................................3
  25.         d.  Changing the CP/M drive..................................4
  26.         e.  Changing the CP/M disk type..............................4
  27.         f.  Errors...................................................4
  28.         g.  Formatting a CP/M diskette...............................4
  29.         h.  Displaying the directory of a diskette...................5
  30.         i.  Deleting files on a diskette.............................5
  31.         j.  Copying files between CP/M and MS/DOS....................5
  32.         k.  Returning to DOS.........................................6
  33.         l.  Designing a new CP/M diskette format.....................6
  34.  
  35.    III. Appendix
  36.         a.  Diskette type characteristics............................8
  37.    
  38.  
  39.  
  40. .pa
  41.  
  42.                                                                     Page 1
  43.  
  44.  
  45.     I.  SPECIFICATIONS
  46.  
  47.         a.  Compatible MS/DOS computers
  48.  
  49.         Convert requires 64k of RAM memory,  2 floppy drives,  and the 
  50.         MS-DOS operating system.
  51.  
  52.         Convert runs on most MS/DOS computers including:
  53.  
  54.            Chameleon                      Eagle PC-II
  55.            Columbia                       Hyperion
  56.            Compaq                         IBM
  57.            Corona                         Sanyo
  58.  
  59.  
  60.         CP/M diskettes converted
  61.  
  62.         Convert converts the following CP/M diskette types:
  63.  
  64.         Access Matrix 9 ss                NEC PC ss
  65.         Chameleon or IBM ss               NEC PC ds
  66.         Chameleon or IBM ds               Osborne dd
  67.         Columbia CP/M-86 v.1.5            Otrona CP/M ds
  68.         Cromemco ds                       PMC-101 ds
  69.         DEC VT-180 ss                     Sanyo MBC-1000/1150
  70.         Epson Valdocs or CP/M-B           Superbrain 20 (jr.)
  71.         Epson CP/M v. A                   Superbrain 30
  72.         HP-125 ds                         Systel ds
  73.         Kaypro 2 ss                       Televideo  802
  74.         Kaypro 4 or 10                    Toshiba T-100
  75.         LNW ss                            TRS-80 Model 4
  76.         Lobo MAX-80 ss                    Xerox 820 dd
  77.         Morrow ss                         Zenith Z-100 ds
  78.         NCR Decision Mate 5               Zorba 7 dd
  79.     
  80.         Also you may define and use up to 10 additional diskette types
  81.  
  82.     c.  Functions of Convert
  83.  
  84.         Format CP/M diskettes
  85.         Display the directory of CP/M or MS/DOS Diskettes
  86.         Delete files on CP/M and MS/DOS diskettes
  87.         Copy files from a CP/M diskette to a MS/DOS diskette
  88.         Copy files from a MS/DOS diskette to a CP/M diskette
  89.         Define new CP/M diskette types
  90. .pa
  91.  
  92.                                                                 Page 2
  93.  
  94.  
  95.     d.  What Convert can't do
  96.  
  97.         Convert  can  not read diskettes created by operating  systems 
  98.         incompatible with CP/M or MS/DOS, i.e. TRSDOS.
  99.  
  100.         Convert  will not translate 8080 or Z80 programs to run in  an 
  101.         8086 environment.  Convert moves files,  it does NOT translate 
  102.         them!
  103.  
  104.         Convert can  not read or write "single density" formats (about 
  105.         80k per diskette,  i.e. Osborne sd and Xerox sd) or "quad den-
  106.         sity" formats (about 700k per diskette,  i.e.  Eagle II, Altos
  107.         and Rainbow) or "hard sectored" formats (Heath and North Star) 
  108.         or special patented formats (Apple and Victor).
  109.  
  110.         e.  Special cases
  111.  
  112.         Convert  may  have trouble reading diskettes  preformatted  on 
  113.         CP/M machines,  especially on a Lobo MAX-80, Zorba 7 or a Kay-
  114.         pro 4 or 10.  If so, the  diskettes  must be formatted by Con-
  115.         vert before copying files, etc.
  116.  
  117.         Convert  can  NOT format Toshiba  diskettes.   Format  Toshiba 
  118.         diskettes only with a Toshiba machine.
  119.  
  120.         Cromemco  diskettes  may  be  read  by  Convert  only  if  the 
  121.         diskettes  were  formatted on a Cromemco machine and then  re-
  122.         formatted  by Convert.   After doing this  special  formatting 
  123.         procedure,  the diskettes may be read and written by both Con-
  124.         vert and the Cromemco.
  125.  
  126.         You may have trouble reading MS/DOS diskettes after using Con-
  127.         vert,  if  you  returned to DOS by rebooting the  computer  or 
  128.         pressing Escape.  Return to DOS by selecting function 9 at the 
  129.         function menu,  or, if you must reboot or use Escape, turn the 
  130.         power off and back on and reboot the system.
  131.  
  132.  
  133. .pa
  134.  
  135.                                                                 Page 3
  136.  
  137.         II.  Operations
  138.  
  139.         a.  Getting started using Convert
  140.  
  141.         Before  using  Convert,  copy the program to a  spare  program 
  142.         diskette  or hard disk and place the original master  diskette 
  143.         in a safe place.
  144.  
  145.         Do  not make copies and give them to your friends!   Integrity 
  146.         benefits everyone!
  147.  
  148.         Start  Convert as you would any other program by  placing  the 
  149.         Convert program in the drive of your choice and typing:
  150.         Convert <Return>.
  151.  
  152.         You  may remove the Convert program disk while executing  Con-
  153.         vert,  except  if  you  are updating the permanent  CP/M  type 
  154.         definition with function 7.
  155.  
  156.         b.  How to stop Convert
  157.  
  158.         You  may press Escape while using Convert to stop  a  selected 
  159.         function in progress.   Usually Convert will stop immediately, 
  160.         but if you are copying files,  Convert will stop at the end of 
  161.         the copy action in progress.
  162.  
  163.         c.  The Convert display
  164.  
  165.         The  display  of your computer is divided into 4  areas  while 
  166.         using Convert.
  167.  
  168.         The top line of the display is a status line.   It shows which 
  169.         drive  is  assigned for CP/M diskettes and what type  of  CP/M 
  170.         disks are expected in the CP/M drive.
  171.  
  172.         The  second through 20th lines are an information area used to 
  173.         show useful information,  for example, a list of CP/M types to 
  174.         chose from.
  175.  
  176.         The 21st through  24th lines are used to display  the list  of 
  177.         possible functions.  When displaying a directory, this list is 
  178.         turned off so that a larger directory may be displayed.   Sub-
  179.         sequently selecting function 8 will redisplay the list.
  180.  
  181.         The  25th  line is a question or request line.   Requests  for 
  182.         user responses will be displayed on this line.   Also,  during 
  183.         the  execution of some functions,  the user will be advised of 
  184.         the activity taking place, or of problems, via this line. 
  185.  
  186.         
  187. .pa
  188.  
  189.                                                                 Page 4
  190.  
  191.  
  192.         d.  Changing the CP/M drive
  193.  
  194.         Initially  drive B is selected as the CP/M drive.  This  means 
  195.         that  Convert  looks  for CP/M compatible disks only  in  this 
  196.         drive and for MS/DOS disks in all other drives.   Placing CP/M 
  197.         or  MS/DOS  disks in the wrong drives may damage the  data  on 
  198.         your disks, so be careful!.  If you wish to assign a different 
  199.         drive  for CP/M compatible disks,  select function 1 and enter 
  200.         the identifying letter of the drive you choose.
  201.  
  202.         e.  Changing the CP/M diskette type
  203.  
  204.         Initially IBM double-sided CP/M disks are selected as the CP/M 
  205.         disk type.   This means that Convert looks only for IBM  disks 
  206.         in  the CP/M drive.   Placing a different type of CP/M disk in 
  207.         the drive may damage the data on your disks, so once again, be 
  208.         careful!   If you wish to assign a different type of CP/M disk 
  209.         to  the  CP/M drifve,  select function 2 (a list  of  possible 
  210.         types will appear in the information area of the display), and 
  211.         enter the character corresponding to the type you choose.
  212.  
  213.         f.  Errors
  214.  
  215.         If  Convert detects a problem reading or writing a  disk,  you 
  216.         will be asked if you wish to abort, retry, or ignore, the same 
  217.         as MS/DOS does.   Retry if you simply needed to close the door 
  218.         or  insert the disk,  otherwise abort and try to  execute  the 
  219.         function again or follow the instructions,  for example,  "run 
  220.         diagnostics."
  221.  
  222.         g.  Formatting a CP/M diskette
  223.  
  224.         In order to move files to CP/M disks,  you must have formatted 
  225.         disks of the correct type.  Convert will format CP/M disks for 
  226.         you,  except  for Toshiba disks,  which must be formatted by a 
  227.         Toshiba machine,  and Cromemco disks,  which must be formatted 
  228.         by a Cromemco machine and then reformatted by Convert.
  229.  
  230.         To format a CP/M disk,  select function 3,  place a blank disk 
  231.         in the CP/M drive,  and answer the question "Ready to format a 
  232.         disk" by pressing <Y>.   If you do not want to format a  disk, 
  233.         press <N>.  While formatting, Convert will keep you advised of 
  234.         its progress by displaying the track and side being formatted.
  235.  
  236. .pa
  237.  
  238.                                                                 Page 5
  239.  
  240.  
  241.         h.  Displaying the directory of a disk
  242.  
  243.         You  may wish to list the files on a CP/M or MS/DOS disk while 
  244.         using Convert.   To list the directory of a disk: select func-
  245.         tion 4 and enter the character corresponding to the drive con-
  246.         taining the disk.   The names of the files on the disk will be 
  247.         listed  in  four columns,  with file sizes rounded up  to  the 
  248.         nearest K or kilobyte.   Then the total space on the disk, the 
  249.         amount used,  the number of files, and the remaining available 
  250.         space  will be displayed.   The function list is removed  from 
  251.         the display so there will be more room for listing the files.
  252.  
  253.         i.  Deleting files on a disk
  254.  
  255.         You  may wish to delete or remove files from a CP/M or  MS/DOS 
  256.         disk while using Convert.  To delete files: select fundtion 5, 
  257.         enter the character corresponding to the drive containing  the 
  258.         disk (the directory of the disk will be listed as function 4), 
  259.         and  enter the name of the file or files to be  deleted.   You 
  260.         may  use  the standard MS/DOS wildcards * and ?  to specify  a 
  261.         group  of files.   Convert will delete the files  and  confirm 
  262.         this  by  listing the directory of the disk after the  delete, 
  263.         and noting the number of files deleted.
  264.  
  265.         j.  Copying files between CP/M and MS/DOS disks
  266.  
  267.         The  main purpose of Convert is to move or copy files  between 
  268.         CP/M  and MS/DOS disks.   You may copy from one CP/M format to 
  269.         another CP/M format by first copying your CP/M disk to MS/DOS, 
  270.         changing to the new CP/M format,  and then copying from MS/DOS 
  271.         to CP/M.
  272.  
  273.         To  copy files between disks,  select function  6,  enter  the 
  274.         character for the drive to copy from,  and enter the character 
  275.         for the drive to copy to.   Convert will list the files on the 
  276.         drive  to copy from.   Enter the name of the file or files  to 
  277.         copy  (you may use the standard wildcards * and  ?).   Convert 
  278.         will  list  the files on the drive to copy to.   If  you  used 
  279.         wildcards, Convert will ask that you confirm that the files be 
  280.         copied  to the new disk with the same file names.   If you did 
  281.         not use wildcards, you may enter a different name for the file 
  282.         on  the new disk.   Be sure there is enough remaining space on 
  283.         the disk you are copying to.
  284.  
  285. .pa
  286.  
  287.  
  288.                                                                 Page 6
  289.  
  290.         k.  Returning to DOS
  291.  
  292.         When  you  are finished using Convert,  select function  9  to 
  293.         return to DOS.
  294.  
  295.         In  an  emergency,  you  may exit  from  Convert  by  pressing 
  296.         CTL/ALT/DEL.  This may confuse the operating system, so always 
  297.         turn power off and back and reboot the system before executing 
  298.         another program after an emergency exit.
  299.  
  300.         l.  Designing a new CP/M disk format
  301.  
  302.         A very useful feature of Convert is the ability to define your 
  303.         own CP/M disk types.   This allows you to customize Convert to 
  304.         read,  write,  and format new and different CP/M disk types as 
  305.         they are introduced.
  306.  
  307.         To  define  a disk type,  you must obtain certain  information 
  308.         about  it first.   If you have access to a CP/M machine  which 
  309.         uses  the  type,  most of the information may be  obtained  by 
  310.         executing the CP/M command STAT/DSK:<RETURN>.   A list of disk 
  311.         type  characteristics  will  display,  note  the  values  for: 
  312.         kilobyte   drive   capacity,   32  byte   directory   entries, 
  313.         records/extent,  records/block,  (logical) sectors/track,  and 
  314.         reserved tracks.
  315.  
  316.         If the kilobyte drive capacity is less than 128,  the disk  is 
  317.         single density.   If it is greater than 400,  the disk is quad 
  318.         density.  If the disk is single density, quad density, or hard 
  319.         sectored, Convert can NOT reproduce it.  The disk label should 
  320.         note  if  the disk is hard sectored.   Disks with  a  capacity 
  321.         between  256 and 400 may be quad density;  this can usually be 
  322.         confirmed by reading the specifications in the computer  users 
  323.         guide.
  324.  
  325.         The  rest of the required information may usually be  obtained 
  326.         by  reading the computer user's guide or by calling the  manu-
  327.         facturer.  
  328.  
  329.         You must determine  the number of physical  sectors/track.  If 
  330.         this  value  is  not available,  the sector size in  bytes  is 
  331.         known, you may calculate it as follows:
  332.  
  333.             physical sectors per track = logical sectors per track
  334.                         x (128/sector size in bytes)
  335.  
  336.         The sector order is the order in which the CP/M computer reads 
  337.         the  sectors  on  the disk.   This is  sometimes  called  slew 
  338.         factor.   This is usually 1,  2, 3, etc., in other words, in a 
  339.         direct linear order.   The first sector is usually 1,  but  on 
  340.         some machines is 0.
  341.  
  342. .pa
  343.  
  344.  
  345.                                                                 Page 7
  346.  
  347.         If  you  can not determine the order from the manufacturer  or 
  348.         the  documentation,  you may determine it by  experimentation.  
  349.         First define the type with a sector order of 1, 2, 3, etc.  
  350.  
  351.         After completing the definition, copy a text file of more than 
  352.         5K in size from MS/DOS to the new CP/M type with Convert.   On 
  353.         the  CP/M machine,  view the text file.   If you get  a  "BDOS 
  354.         error sector not found" message,  probably the first sector is 
  355.         0, not 1 -- or 1, not 0.  Or the number of physical sectors is 
  356.         really more than believed.
  357.  
  358.         If  part  of  the text disappeared,  the  number  of  physical 
  359.         sectors  is  probably  less than believed.   If the  order  is 
  360.         really 1, 2, 3, etc., part of the text will be out of order.
  361.  
  362.         The  next most common order is odd sectors  first,  then  even 
  363.         sectors.    You   may  redefine  until  the  proper  order  is 
  364.         discovered,  or  you may locally deduce the correct  order  by 
  365.         drawing  a map of the results of the attempt,  using 1,2,3 and 
  366.         analyzing it.
  367.  
  368.         You must determine if data on the disk is "inverted".  This is 
  369.         a  highly technical question and may be determined by  talking 
  370.         to  the  manufacturer or simply trying not inverted  and  then 
  371.         inverted.   If you pick the wrong answer,  the directory of  a 
  372.         CP/M disk will list as strings of illogical characters.  
  373.  
  374.         When you have all of the information about a disk type, pick a 
  375.         name  of no more than 19 characters for the type,  and  select 
  376.         function  7.   Select  the  number of the type which  you  are 
  377.         defining,  then  one item at a time enter the correct  defini-
  378.         tions.   When all of the definitions are correct, press RETURN 
  379.         and save the changes on the Convert disk by pressing <Y>.
  380.  
  381.         Test your new disk type by copying text files of more than  5K 
  382.         in size between CP/M and MS/DOS,  and verifying that the files 
  383.         look  the same on both machines.   Especially look for missing 
  384.         or out-of-place text.
  385.  
  386.         Some  disk  types have one-of-a-kind anomalies  which  Convert 
  387.         does not know about, and these disks will never work with Con-
  388.         vert.  Most notable in this category is Apple.
  389.  
  390. .pa
  391.  
  392.                                                                 Page 8
  393.  
  394.         APPENDIX
  395.  
  396.         Disk type characteristics
  397.  
  398.         1.  Name_____________________________________________________
  399.  
  400.         2.  Kilobyte drive capacity                    ______________
  401.  
  402.         3.  32 byte directory entries                  ______________
  403.  
  404.         4.  Records/extent (128 or 256)                ______________
  405.  
  406.         5.  Records/block (8 or 16)                    ______________
  407.  
  408.         6.  Logical sectors/track                      ______________
  409.  
  410.         7.  Reserved tracks                            ______________
  411.  
  412.         8.  Physical sectors track                     ______________
  413.  
  414.         9.  Sector order                  ______ ______ ______ ______
  415.  
  416.               ______ ______ ______ ______ ______ ______ ______ ______ 
  417.  
  418.               ______ ______ ______ ______ ______ ______ ______ ______
  419.  
  420.        1O.  Inverted data (yes or no)                  ______________
  421.  
  422.             This  information must be determined when defining  a  new 
  423.             disk type.
  424.      
  425. .pa
  426.