[comp.sys.apple2] Need DOS 3.3 RWTS help

skrenta@amix.commodore.com (Rich Skrenta) (05/03/90)

My copy of Beneath Apple Dos is long lost.  I need to know what the fields
of the IOB passed to RWTS are, and what they mean.  Could someone send me
the specs?  Thanks.

Rich
-- 
skrenta@amix.commodore.com

ARMS1493@SNYPLAVA.BITNET (05/06/90)

RWTS Parameters  (IOB)


     +-------+-----------+-----------------------+-----------------------+
 +00 |  $01  | (slot)*16 |          Drive        |       Volume #        |
     +-------+-----------+-----------------------------------------------+
 +04 | Track | Sector    | Address of DCR (Device Characteristics Table) |
     +-------+-----------+-----------------------------------------------+
 +08 | Addr of Buffer    |        Not Used       |          $00          |
     +-------------------+-----------------------+-----------------------+
 +0C |  CC   |   RC      |  Previous Volume      |   Previous Slot       |
     +-------------------------------------------------------------------|
 +10 |  Previous Drive   |
     +-------------------+


CC: Command Code

   $00 - Seek
   $01 - Read
   $02 - Write
   $03 - Format

RC:  Return Code
   $00 - No Errors
   $08 - Formatting Error
   $10 - Write Protected
   $20 - Vol Mismatch
   $40 - Drive Error
   $80 - Read Error





Device Characteristics Table
      (DCR)



     +--------------+----------------+---------------------+
 +00 |   Type $00   |   Phases  $01  |   Motor On  $EFD8   |
     +--------------+----------------+---------------------+