home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / vrac / disk100s.zip / DISK-ENG.DOC next >
Text File  |  1994-05-23  |  23KB  |  419 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                   DISK-EMU
  8.  
  9.                           Floppy disk drive emulator
  10.  
  11.                                 Version 1.00
  12.  
  13.                       (c) 1.994  Carlos Fernández Sanz
  14.                          Emporium programming group
  15.   93:341/101.2@SubNet, 2:341/31.29@FidoNet, cfsanz@nebula.encomix.com
  16.  
  17.                                 English docs
  18.  
  19.  
  20.  
  21. 1. Description of the program and its characteristics
  22. -----------------------------------------------------
  23.     Shortly: DISK-EMU is a resident program  that emulates a flopy disk
  24. drive in RAM memory.
  25.     The emulation is carried out through the BIOS, making it compatible
  26. with all the programs that do not access the hardware directly  (except
  27. the copiers, no other does so).
  28.     DISK-EMU  must not be considered as a RAM disk.  Although the drive
  29. emulated is what is usually considered  as a RAM disk,  that is not the
  30. real purpose of this program.
  31.     Just to show why DISK-EMU is not a simple RAM disk,  I will comment
  32. some of its features:
  33.         -The emulation is at the BIOS level, not  DOS level.  So, every
  34.          program  that works with  a floppy disk drive  also works with
  35.          the DISKEMU drive.
  36.         -DISK-EMU allows you  to change  a disk on the fly. So, you can
  37.          quickly install programs with various installation diskettes.
  38.         -It is possible to make exact images of the emulated disk drive,
  39.          which is much more quickly than copying file by file.
  40.          The images have CRC, so it is possible  to detect any possible
  41.          error in the disks.
  42.         -DISK-EMU compress the images, so it can be used  as an storage
  43.          method  for  programs  of  various  diskettes  instead  of the
  44.          typical compression programs.
  45.         -You can enter  the DISK-EMU menu  during  the installations in
  46.          any  video  mode,  text and graphics  as well.  DISK-EMU  will
  47.          correctly restore the screen when coming back.
  48.         -You can enter a shell to DOS from  the DISK-EMU menu.  e.g. to
  49.          delete some files in the middle of an installation  (to gain a
  50.          little more space).
  51.         -DISK-EMU drives  can be write  protected, just like the normal
  52.          disk  drives. Besides,  there is  an special  protection  mode
  53.          (pseudo), which protects the disk "cheating" the programs.
  54.          This is very useful  when programs  need to write  in the disk
  55.          although you do not want so.
  56.         -The emulated drives can be of any kind, from the usual ones of
  57.          360 kb, 720 kb, 1.2 Mb and 1.44, to those of  2.88 Mb,  or any
  58.          non-standard formats, e.g. 100 tracks with 20 sectors/track...
  59.  
  60. 2. Hardware and software requirements to use DISKEMU.
  61. -----------------------------------------------------
  62.     Not too much really, nowadays. At least (and enough) the following:
  63.  
  64.                 -386SX or better.
  65.                 -10 kb  of  conventional  memory, and the one necessary
  66.                  for the disks to be created. Tipically 1.44 Mb. Memory
  67.                  can also  be used for  the resident  swapping, but the
  68.                  hard disk can be used for that purpose.
  69.                 -Very likely a EGA or VGA  for installations in graphic
  70.                  modes.  I have not tested it with a CGA,  so I can not
  71.                  assure if it works with it.
  72.                 -An XMS or EMS memory driver. Any of them can be used.
  73.  
  74. 3. Distribution conditions of DISK-EMU.
  75. ---------------------------------------
  76.     DISK-EMU  is  distributed  as   shareware.  This  means  that   the
  77. evaluation copy is freely distributed.  The user can test it for a time
  78. (usually, about three weeks) to decide whether he/she likes the program
  79. or not. if he/she likes it, he/she must register, which will  give him/
  80. her some privileges  which are detailed below.  If he/she does not like
  81. it,  he/she just simply must stop using it. This way of distribution is
  82. of absolute confidence for the user, since he does exactly know what he
  83. is  paying for, and very  cheap for the programmer, which  also gives a
  84. benefit to the user, who pays less.
  85.     Concerning DISK-EMU, registering it gives the following benefits:
  86.  
  87.         -Of course,  the right  to use the program  whenever  you want,
  88.          with no  limitations.  The  registered  version  must  not  be
  89.          distributed,  being the user  the responsible  of guaranteeing
  90.          this.  The registered versions  are protected  by the law like
  91.          any other program, and its distribution is a crime that can be
  92.          severely punished.
  93.         -Free upgrades  to every little modification.  I mean,  all the
  94.          1.x  versions.  I use  the "traditional" numbering system,  in
  95.          which changing the main number means really important changes.
  96.          So,  it surely  will be some  versions  1.x.  To receive  this
  97.          upgrades sending a diskette and an envelope with a right stamp
  98.          and the address already written on it will be enough.
  99.         -An upgrade  to the following important revision.  This upgrade
  100.          will  be automatically  send to all  the registered  users the
  101.          moment it is finished, with no delays.
  102.         -Electronic mail support,  you can choose between SubNet  (this
  103.          is the best way), FidoNet or Internet.  Ordinary mail can also
  104.          be used, although it is too slow.
  105.         -The  registered  version  has  options  not  available  in the
  106.          shareware version.
  107.         -The suggestions of registered users will always be in my mind.
  108.         -The diskette with the registered version of DISK-EMU  also has
  109.          many other programs with utilities having something to do with
  110.          DISK-EMU. Most of them are free. Some others are shareware too.
  111.  
  112.     The shareware  version can  be distributed in any  media, including
  113. the diskettes that go with magazines, CD-ROMs, BBS, networks like Inter-
  114. net, service catalogues of shareware selling, etc, as long as:
  115.         1. None of the files that go with the program is deleted.
  116.            Other files and advertisements can be added.
  117.         2. The asked price is the same of the one of any other program.
  118.  
  119.     To  register, send  1.800  pesetas  (from Spain)  or 20 US  dollars
  120. (from outside Spain). Accepted payment methods are:
  121.  
  122.         -Deposit in the following bank account:
  123.                    Name: Carlos Fernández Sanz
  124.                    Bank: Caja de Madrid
  125.                  Office: 1119
  126.                 Account: 3001052409
  127.          The receipt of  the deposit or a photocopy of  it must be sent
  128.          to the address detailed  below.  To make  the send faster, the
  129.          desposit can be notified by electronic mail.  If this happens,
  130.          add the quantity of the last two numbers of your phone number,
  131.          just to identify your deposit quickly. If you use FidoNet send
  132.          the message direct, do not route it.
  133.         -Bank cheque.
  134.         -Simply, send money.  Take care!  If you do so use a registered
  135.          letter.
  136.         -Postal order. This way is very slow, since I have to go to the
  137.          central  post office,  and so I do not go  until  I have  some
  138.          waiting.
  139.         -Cash  on  delivery.  Only  if no  other way  can be used.  The
  140.          additional costs of the delivery are paid by the user.
  141.  
  142.         Whatever the method you choose is compulsory  to send perfectly
  143.         filled the form included in the file ORDER.DOC.
  144.         The address is:
  145.  
  146.                 Carlos Fernández Sanz
  147.                 C/Fermín Caballero 60, 3-B
  148.                 Madrid 28034
  149.                 Spain
  150.  
  151. 4. Guarantees of the distribution of DISK-EMU.
  152. ----------------------------------------------
  153.     There is no guarantee in the shareware version. The user is the only
  154. responsible of the use of the program,  not being the author responsible
  155. of any harm or mistake the use of DISK-EMU can produce.
  156.     I do guarantee  that  the registered version  includes all  what  is
  157. described in this document and just the way it is described.
  158.  
  159. 5. Parameters that can be used with DISK-EMU
  160. --------------------------------------------
  161.     By  default,  DISK-EMU  creates  a drive  of the same  size  of the
  162. physical  drive A:,  using extended memory  preferably  (if there is no
  163. extended memory, expanded memory would be use),  and it uses RAM memory
  164. as a container for the swapping methods.  Its behaviour can be modified
  165. through the command line with the following parameters:
  166.  
  167.     Parameter   Meaning                              Default value.
  168. ------------------------------------------------------------------------
  169.     0           Do not create any virtual disk.      Create the disk.
  170.     360, 1220,  Size of the virtual disk.            That of the physical
  171.     720, 1440,                                       drive.
  172.     2880.
  173.     N:drive     Number of drive to be emulated       0
  174.     T:tracks    Tracks of the virtual disk.          That of the physical
  175.                                                      drive (40 or 80).
  176.     H:heads     Heads of the virtual disk.           2.
  177.     S:sectors   Sectors per track of the virtual     That of the physical
  178.                 disk.                                drive (9, 15 or 18)
  179.     B:bytes/s   Bytes per sector.                    512
  180.     D:dir.      Working directory.                   C:\
  181.     K:code      Code of the hot-key. This code can   Alt-Tab
  182.                 be obtained through the menu.
  183.     E           Use EMS first than XMS               Use XMS
  184.    *FO          Format the disk when creating it.    Do not format.
  185.                 It only works on standard disks.
  186.    *M           Reduce the memory usage taking it    Use the neccesary.
  187.                 from the shell.
  188.     F           Use hard drive to swapping zones.    Use EMS/XMS
  189.     U           Uninstall a previous installed
  190.                 version.
  191.    *R:file      Load the image file. It is possible
  192.                 to make a batch process with this
  193.                 parameter.
  194.    *W:file      Save the current image in a file.
  195.    *WP:file     Save the current image in a file.
  196.                 The image will be saved compressed.
  197.     ?           It shows a help screen.
  198.  
  199.    The parameters marked with an * only work in the registered version.
  200.    The parameter  R will have  two different behaviours:  If a DISK-EMU
  201. copy is already in memory, it loads the image.  If there is no DISK-EMU
  202. copy in memory, the disk is copied in the one to be installed.
  203.    All the  commands of  reading/writting  files can  be  cancelled  by
  204. pressing ESC.
  205.    Those commands that can be dangerous warn the user. For instance, to
  206. load a disk it is necessary to delete the one already loaded.  The user
  207. will be warned appropiately.
  208.    All the parameters can go after / or - (e.g. /R, or -R).
  209.  
  210. 6. The DISK-EMU menu.
  211. ---------------------
  212.     It  is  accessed through  the  key  combination  choosen  with  the
  213. parameter K, its default value is Alt-Tab.  To exit the menu and return
  214. to the current program, ESC will be used.
  215.     DISK-EMU will stop the running program, saving all  the information
  216. necessary to let it continue after calling DISK-EMU.  This includes the
  217. program itself  (which is overwritten  in memory with the  non-resident
  218. part of DISK-EMU), the screen (text mode or graphic mode so well), DTA,
  219. and so on.  Which happens when activating the menu  is not important at
  220. all for the user (although it is interesting for programmers).
  221.      The menu is divided in three parts, which are  "Image", "File" and
  222. "System". In the screen there is also an information panel with all the
  223. characteristics of the current virtual disks, if there is any.
  224.      In this panel is shown the following information:
  225.  
  226.      If there is  no virtual disk, it simply has a warning. If there is
  227. a disk:
  228.  
  229.          Drive: Number  of the  physical  drive  substituted.  This  is
  230.                 better explained below.
  231.         Tracks: Number of tracks.
  232.          Heads: Number of heads.
  233.  Sectors/Track: Number of sectors per track.
  234.   Bytes/sector: Number of bytes per sector.
  235.  Total sectors: Total number of sectors in the disk.
  236.    Total bytes: Total number of bytes of the  disk. The formula used is
  237.                 HEADS * TRACKS * SECTORS/TRACK * BYTES/SECTOR. The less
  238.                 experienced user would ask  why this number  is not the
  239.                 same that the DIR command of  DOS returns when the disk
  240.                 is empty. This is because the first sectors of the disk
  241.                 are used by the DOS to manage the disk space.
  242.      Protected: The  disk can  be protected  against  writting  or  not.
  243.                 There is also a third  way of working (I have called it
  244.                 pseudo)  that has  the disk  protected  but cheats  the
  245.                 programs  that try  to write in  the disk, returning an
  246.                 "OK"  as  the  result  of  a  writting  operation. Some
  247.                 programs  try  to  write   configuration  files  during
  248.                 installations (and also other things) in the disks, and
  249.                 they do not let the user decide  whether he wants it or
  250.                 not. This pseudo mode is very useful if this happens.
  251.         Active: The disk can be active or not. In the latter, the drive
  252.                 accesses are sent  to the BIOS, and then the real drive
  253.                 is the one that works.
  254.  
  255.     The menu options are the following:
  256.  
  257.     "IMAGE" file.
  258.  
  259.         -Create      | A submenu  appears with  options  to choose  the
  260.          virtual disk| size of the disk.  It can be a standard disk, or
  261.                      | it can have its own characteristics. To create a
  262.                      | virtual disk the current one must be erased,  if
  263.                      | there is one.
  264.         -Delete disk | Deletes from memory the virtual disk and it puts
  265.                      | the physical drive to work again.
  266.         -(Un)protect | It   toggles  between   the  protection  options,
  267.          disk        | already explained before.
  268.         -(De)Activate| Activates or deactivates the disk.
  269.         -Change drive| This option  is only available in the registered
  270.                      | version.
  271.                      | By  default,  DISKEMU  substitutes  the physical
  272.                      | drive  0,  which  is  the  drive  A:  under DOS.
  273.                      | However, any other drive can be substituted (are
  274.                      | valid from 0 to 3). The physical drive 1 is  the
  275.                      | drive B:. However, in the systems with  only one
  276.                      | floppy  drive,  DOS assigns a  0 to A: and B: as
  277.                      | well,  so in this systems  it is not possible to
  278.                      | simply announce the drive change.  To solve this
  279.                      | problem to possible solutions are available:
  280.                      | 1. Change the CMOS and set that there is another
  281.                      | drive, although it is not present.
  282.                      | 2. Load the DRIVER.SYS,  that comes with MS-DOS.
  283.                      | For instance, DEVICE=DRIVER.SYS /D:1 /F:7  makes
  284.                      | DOS assign a drive letter to the physical  drive
  285.                      | 1  (this can be the DISK-EMU drive)  and set its
  286.                      | characteristics  to those of a 1.44 Mb one.  The
  287.                      | way DRIVER.SYS works is explained in the  manual
  288.                      | of the operative system.
  289.                      | The  letter can  be E:, F:, etc.,  although  DOS
  290.                      | still handles the drive as a floppy disk  drive,
  291.                      | so  all the commands for this drives  still work
  292.                      | perfectly.
  293.                      | Systems with two drives can install the DISK-EMU
  294.                      | drive  as  the  physical  drive 2  (with /D:2 in
  295.                      | DRIVER.SYS),  to have access for every drive  at
  296.                      | the same time.
  297.  
  298.     "FILE" menu.
  299.  
  300.         -Read image  | DISK-EMU  will show a list with the image  files
  301.                      | stored in the current working directory,  and it
  302.                      | will let the user choose one to load it. Besides,
  303.                      | it will tell the operative system a disk  change
  304.                      | has taken place, just to make everything work in
  305.                      | the same way  as a disk had been changed  in the
  306.                      | real drive.  In the shareware  version only  the
  307.                      | first five images will be listed.
  308.         -Write image | This option writes an image, without compressing
  309.                      | it, but with CRC, in the working directory.
  310.                      | Besides the name, a description can be inserted,
  311.                      | this description appears with the option of read
  312.                      | image, to make the identification easier.
  313.         -Write       | Just  the same  that  the previous one,  but the
  314.          without CRC | images does not have CRC. This option is used to
  315.                      | create  images  that  are going  to be used  and
  316.                      | deleted inmediatedly, and which are not suitable
  317.                      | of storing, because they are not sure.  However,
  318.                      | not  being necessary  to calculate the CRC  they
  319.                      | are stored more quickly.
  320.         -Write with  | This option is only available  in the registered
  321.          compression | version.
  322.                      | Images  are  saved  compressed,  saving a lot of
  323.                      | space.
  324.         -Delete an   | It permits deleting an image from the hard drive,
  325.          image       | which  is  very useful if the space is needed to
  326.                      | continue with the installation of a program.
  327.  
  328.     "SYSTEM" menu.
  329.  
  330.         -Credits     | It shows  a screen with the names of  the people
  331.                      | who  have  helped in  the  development  of  this
  332.                      | program.
  333.         -Change      | It allows the user to change the key combination
  334.          hot-key     | selected  to invoke the menu.  First of all  the
  335.                      | main key  is to be pressed  (letters or numbers)
  336.                      | and after that the secondary key(s)  (CTRL, ALT,
  337.                      | etc). DISK-EMU  will return the associated  code
  338.                      | of this combination,  code that can be used with
  339.                      | the parameter K for future installations.
  340.         -Shell to DOS| This option  is only available in the registered
  341.                      | version.
  342.                      | It exits temporarily to DOS. After doing whatever
  343.                      | necessary in DOS  (even  another program can  be
  344.                      | called) type EXIT to return to the menu.
  345.         -Uninstall   | Uninstalls  DISK-EMU  from memory,  if it can be
  346.                      | done so.
  347.  
  348. 7. Some aditional tips about DISK-EMU.
  349. --------------------------------------
  350.     Although  the way of  working with  DISK-EMU  is already  perfectly
  351. described, some other things must be discussed.
  352.     Firstly, the virtual disk must be formatted, just as any other disk.
  353. This can seem funny,  but the disk  needs  the formatter  to save  some
  354. important  information  at the beginning of the disk.  Fortunately,  it
  355. only takes ones second to format a DISK-EMU disk.
  356.     To format the disks I highly recommend the widely spread  FDFORMAT.
  357. It is free and is distributed with source. It is available at most BBS.
  358. It is much better than the FORMAT of DOS, with DISK-EMU as well as with
  359. any physical disk. The disk with the registered version of DISK-EMU has
  360. a copy of it, just in case you have any problem finding it.
  361.     Although DISK-EMU uses compression, it was not thought of as a  way
  362. of storing files, but disks. For files,  it is better to use any  other
  363. wonderful utilities designed for it, like PKZIP or ARJ.
  364.     DISK-EMU must not be loaded before any other program that  receives
  365. real time messages (e.g., networks, communication programs, etc).  When
  366. entering  the menu,  DISK-EMU stops  all this programs,  so data may be
  367. lost. Besides that,  programs like DesqView must not be loaded  before.
  368. The correct way (if you want to access the menu,  if you do not want to
  369. do it is not necessary to do so) is by loadin DISK-EMU within a window.
  370.  
  371. 8. Contacting the author
  372. ------------------------
  373.     My main electronic address are:
  374.  
  375.         SubNet  : 93:341/101.2
  376.         FidoNet : 2:341/31.29
  377.         InterNet: cfsanz@encomix.nebula.com
  378.  
  379.     If are unable to contact me  through those addresses, you  may try
  380. the following ones:
  381.  
  382.         SubNet  : 93:341/901.16
  383.         FidoNet : 2:341/18.107
  384.         InterNet: cccanto@eui.upm.es -> This one belongs a friend, but
  385. you can use it. He will forward the messages to me.
  386.  
  387.     Of course, snail mail is also a  posibility. In that  case, please
  388. please send a envelope with the correct stamp and your address.
  389.  
  390. 9. Credits
  391. ----------
  392.     Besides me,  Carlos Fernández Sanz,  as the author  of the program,
  393. some other people have colaborated in the developing of DISK-EMU:
  394.  
  395.     Betatesters:
  396.         Rafael Imedio           93:341/101.2    2:341/31.0
  397.         Francisco J. González   93:341/101.3    2:341/31.11
  398.         Paco Romero             93:341/901.0    2:341/53.0
  399.         Pedro de Paz            93:341/501.0    2:341/52.0
  400.         Nacho Rapallo           93:341/108.0    2:341/31.7
  401.         Antonio Cordero         93:341/108.0    2:341/31.7
  402.         Roger Manuel            93:341/108.0    2:341/31.7
  403.  
  404.     Francisco  J.  González has  helped me  a  lot with the translation
  405. into English of the program and its documentation.
  406.     Luis Crespo (the  author of Visual  Player) told me  his experience
  407. on the distribution of his fine program.
  408.     Ciriaco García de Celis, with his  wonderful book "El Universo Digi-
  409. tal del IBM PC, AT y  PS/2" gave me  a lot of useful  information about
  410. TSRs.
  411.     I also want to greet everyone who came to the computer meeting some
  412. friends made in Madrid, I will see  you in Barcelona in our  way to the
  413. the Assembly '94 this summer:
  414.     Javier y Juan Carlos  Arévalo, from  Iguana. Arturo  Ramírez-M (you
  415. are very good at DOOM), Jon Beltrán de Heredia  (I wait impatiently for
  416. your assembly book), Arcadi Magre, Francisco Carrascosa, Oscar  Esteban,
  417. Aitor Garay, Patxi Olarte, Reddevil, and some others that I forget.
  418.     Greetings also go to Mstislav, Daf, Undo.
  419.