home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / enterprs / cpm / utils / a / dskdrv16.lzh / IO-GP.DRV < prev    next >
Encoding:
Text File  |  1991-01-16  |  1.3 KB  |  30 lines

  1. ; rename this IO-GP.DRV to RSXIO.INC for assembly with RSXMAST
  2. subttl    'DSKDRIVE machine depandant drivers'
  3. ;
  4. ; rdhst/wthst read or write to/from buff from/to hstrk/hstsec.
  5. ; One physical block is transferred.  Errflg is set to zero on
  6. ; a good transfer, else non-zero.  This is the total responsiblity
  7. ; of this portion of the system.  It refers to the extended disk
  8. ; parameter tables for host configuration.  The "modrv" byte is
  9. ; used for the CPM drive identifier.
  10. ;
  11. ; This file only outlines the functions.  If used all read/write
  12. ; calls will return an error.
  13. ;
  14. ; For general purpose outline only
  15. rdhst:
  16. wthst:    ori    0ffh;        signal error for everything
  17.     sta    errflg
  18.     ret
  19. ;
  20. ; This portion must be customized on installation to host only.
  21. ; These four bytes following MUST BE the last portion of this file.
  22. ; This makes them accessible by a negative offset from the "info"
  23. ; pointer, which is returned by the master RSX enquiry call, and
  24. ; allows supporting software to dynamically reconfigure the system.
  25. ;
  26. modrv:    db    drv-'A';    drive id to use (0=A). patchable
  27. dskode:    db    02h;    ???    The drive selection coding.
  28. dendbl:    db    0;    ???    base command for double density
  29. densgl:    db    32;    ???    base command for single density
  30. 0▓