home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / zsus / z3help / z.lbr / ZSDOS6.HZP / ZSDOS6.HLP
Encoding:
Text File  |  1991-11-18  |  10.3 KB  |  211 lines

  1.  Function  0: Boot          -- BIOS Functions --
  2.  Function  1: Warm Boot
  3.  Function  2: Console Status
  4.  Function  3: Console Input
  5.  Function  4: Console Output 
  6.  Function  5: List Output
  7.  Function  6: Punch Output
  8.  Function  7: Reader Input
  9.  Function  8: Home Disk
  10.  Function  9: Select Disk
  11.  Function 10: Set Track
  12.  Function 11: Set Sector
  13.  Function 12: Set DMA Address
  14.  Function 13: Read Sector
  15.  Function 14: Write Sector
  16.  Function 15: List Status
  17.  Function 16: Translate Sector
  18. :
  19.  
  20.      +---------------------------------------------------------------+
  21.      |                    BIOS FUNCTION 0 -- BOOT                    |
  22.      +--------------------------------+------------------------------+
  23.      | Entry:  None                   | Exit:  None                  |
  24.      |                                |                              |
  25.      |                                |                              |
  26.      +--------------------------------+------------------------------+
  27.  
  28. Performs a cold boot of the system.
  29. :
  30.  
  31.      +---------------------------------------------------------------+
  32.      |                 BIOS FUNCTION 1 -- WARM BOOT                  |
  33.      +--------------------------------+------------------------------+
  34.      | Entry:  None                   | Exit:  None                  |
  35.      |                                |                              |
  36.      |                                |                              |
  37.      +--------------------------------+------------------------------+
  38.  
  39. Performs a warm boot of the system.
  40. :
  41.  
  42.      +---------------------------------------------------------------+
  43.      |               BIOS FUNCTION 2 -- CONSOLE STATUS               |
  44.      +--------------------------------+------------------------------+
  45.      | Entry:  None                   | Exit:  A = FFh if ready      |
  46.      |                                |        A = 0 if not ready    |
  47.      |                                |                              |
  48.      +--------------------------------+------------------------------+
  49.  
  50. Determines whether the console has a character ready to read.
  51. :
  52.  
  53.      +---------------------------------------------------------------+
  54.      |               BIOS FUNCTION 3 -- CONSOLE INPUT                |
  55.      +--------------------------------+------------------------------+
  56.      | Entry:  None                   | Exit:  A = Character         |
  57.      |                                |                              |
  58.      |                                |                              |
  59.      +--------------------------------+------------------------------+
  60.  
  61. Gets character from the console, waiting if a character is not yet ready.
  62. :
  63.  
  64.      +---------------------------------------------------------------+
  65.      |               BIOS FUNCTION 4 -- CONSOLE OUTPUT               |
  66.      +--------------------------------+------------------------------+
  67.      | Entry:  C = Character          | Exit:  None                  |
  68.      |                                |                              |
  69.      |                                |                              |
  70.      +--------------------------------+------------------------------+
  71.  
  72. Sends a character to the console.
  73. :
  74.  
  75.      +---------------------------------------------------------------+
  76.      |                BIOS FUNCTION 5 -- LIST OUTPUT                 |
  77.      +--------------------------------+------------------------------+
  78.      | Entry:  C = Character          | Exit:  None                  |
  79.      |                                |                              |
  80.      |                                |                              |
  81.      +--------------------------------+------------------------------+
  82.  
  83. Sends a character to the printer (LST device).
  84. :
  85.  
  86.      +---------------------------------------------------------------+
  87.      |                BIOS FUNCTION 6 -- PUNCH OUTPUT                |
  88.      +--------------------------------+------------------------------+
  89.      | Entry:  C = Character          | Exit:  None                  |
  90.      |                                |                              |
  91.      |                                |                              |
  92.      +--------------------------------+------------------------------+
  93.  
  94. Sends a character to the PUNCH device.
  95. :
  96.  
  97.      +---------------------------------------------------------------+
  98.      |                BIOS FUNCTION 7 -- READER INPUT                |
  99.      +--------------------------------+------------------------------+
  100.      | Entry:  None                   | Exit:  A = Character         |
  101.      |                                |                              |
  102.      |                                |                              |
  103.      +--------------------------------+------------------------------+
  104.  
  105. Gets a character from the READER device.
  106. :
  107.  
  108.      +---------------------------------------------------------------+
  109.      |                 BIOS FUNCTION 8 -- HOME DISK                  |
  110.      +--------------------------------+------------------------------+
  111.      | Entry:  None                   | Exit:  None                  |
  112.      |                                |                              |
  113.      |                                |                              |
  114.      +--------------------------------+------------------------------+
  115.  
  116. Moves read head of current disk to track 0.
  117. :
  118.  
  119.      +---------------------------------------------------------------+
  120.      |                BIOS FUNCTION 9 -- SELECT DISK                 |
  121.      +--------------------------------+------------------------------+
  122.      | Entry:  C = Drive (0=A)        | Exit: HL = Address of DPH    |
  123.      |         E = Initial select     |       HL = 0 if invalid drv  |
  124.      |             flag               |                              |
  125.      +--------------------------------+------------------------------+
  126.  
  127. Selects given drive for future disk operations.  If this is the initial 
  128. selection of this drive, the flag in E should be non-zero.  The address of 
  129. the Disk Parameter Header (DPH) is returned.
  130. :
  131.  
  132.      +---------------------------------------------------------------+
  133.      |                 BIOS FUNCTION 10 -- SET TRACK                 |
  134.      +--------------------------------+------------------------------+
  135.      | Entry: BC = Track number       | Exit:  None                  |
  136.      |                                |                              |
  137.      |                                |                              |
  138.      +--------------------------------+------------------------------+
  139.  
  140. Selects disk track for next read or write operation.
  141. :
  142.  
  143.      +---------------------------------------------------------------+
  144.      |                BIOS FUNCTION 11 -- SET SECTOR                 |
  145.      +--------------------------------+------------------------------+
  146.      | Entry: BC = Sector number      | Exit:  None                  |
  147.      |                                |                              |
  148.      |                                |                              |
  149.      +--------------------------------+------------------------------+
  150.  
  151. Selects disk sector for next read or write operation.
  152. :
  153.  
  154.      +---------------------------------------------------------------+
  155.      |              BIOS FUNCTION 12 -- SET DMA ADDRESS              |
  156.      +--------------------------------+------------------------------+
  157.      | Entry: BC = DMA address        | Exit:  None                  |
  158.      |                                |                              |
  159.      |                                |                              |
  160.      +--------------------------------+------------------------------+
  161.  
  162. Sets direct memory access (DMA) address for subsequent read and write 
  163. operations.
  164. :
  165.  
  166.      +---------------------------------------------------------------+
  167.      |                BIOS FUNCTION 13 -- READ SECTOR                |
  168.      +--------------------------------+------------------------------+
  169.      | Entry:  None                   | Exit:  A = 0 if no error     |
  170.      |        DE = Address of FCB     |        A = 1 if error        |
  171.      |                                |                              |
  172.      +--------------------------------+------------------------------+
  173.  
  174. Reads a logical sector (128-bytes) from the selected track and sector of 
  175. the selected disk.
  176. :
  177.  
  178.      +---------------------------------------------------------------+
  179.      |               BIOS FUNCTION 14 -- WRITE SECTOR                |
  180.      +--------------------------------+------------------------------+
  181.      | Entry:  C = 0 (write data)     | Exit:  A = 0 if no error     |
  182.      |         C = 1 (write directory)|        A = 1 if error        |
  183.      |         C = 2 (write new data) |                              |
  184.      +--------------------------------+------------------------------+
  185.  
  186. Writes a logical sector (128-bytes) to the selected track and sector of the 
  187. selected disk.
  188. :
  189.  
  190.      +---------------------------------------------------------------+
  191.      |                BIOS FUNCTION 15 -- LIST STATUS                |
  192.      +--------------------------------+------------------------------+
  193.      | Entry:  None                   | Exit:  A = 0 if ready        |
  194.      |                                |        A = FFh if not ready  |
  195.      |                                |                              |
  196.      +--------------------------------+------------------------------+
  197.  
  198. Determines whether the printer (LST device) is ready to accept a character.
  199. :
  200.  
  201.      +---------------------------------------------------------------+
  202.      |             BIOS FUNCTION 16 -- TRANSLATE SECTOR              |
  203.      +--------------------------------+------------------------------+
  204.      | Entry: BC = Logical sector     | Exit: HL = Physical sector   |
  205.      |        DE = Address of         |                              |
  206.      |             translation table  |                              |
  207.      +--------------------------------+------------------------------+
  208.  
  209. Translates a logical sector number into the actual physical sector number, 
  210. using the translation table.
  211.