home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / languages / c / oslib / HelpData / ADFS / HelpData next >
Encoding:
Text File  |  1995-06-28  |  31.7 KB  |  709 lines

  1. adfs_controller
  2. Defined in:       <adfs=>adfs.$>.h
  3. Declaration:      typedef int adfs_controller;
  4. Values:           <adfs_CONTROLLER_DISC_NOT_PRESENT>
  5.                   <adfs_CONTROLLER1772>
  6.                   <adfs_CONTROLLER71X>
  7.                   <adfs_CONTROLLER_ST506>
  8.                   <adfs_CONTROLLER_IDE>error_ADFS_DRIVER_IN_USE
  9. Defined in:       <adfs=>adfs.$>.h
  10. Declaration:      #define error_ADFS_DRIVER_IN_USE 0x108A0uadfs_CONTROLLER_DISC_NOT_PRESENT
  11. Defined in:       <adfs=>adfs.$>.h
  12. Declaration:      #define adfs_CONTROLLER_DISC_NOT_PRESENT ((<adfs_controller>) 0)adfs_CONTROLLER1772
  13. Defined in:       <adfs=>adfs.$>.h
  14. Declaration:      #define adfs_CONTROLLER1772 ((<adfs_controller>) 1)adfs_CONTROLLER71X
  15. Defined in:       <adfs=>adfs.$>.h
  16. Declaration:      #define adfs_CONTROLLER71X ((<adfs_controller>) 2)adfs_CONTROLLER_ST506
  17. Defined in:       <adfs=>adfs.$>.h
  18. Declaration:      #define adfs_CONTROLLER_ST506 ((<adfs_controller>) 3)adfs_CONTROLLER_IDE
  19. Defined in:       <adfs=>adfs.$>.h
  20. Declaration:      #define adfs_CONTROLLER_IDE ((<adfs_controller>) 4)xadfs_disc_op
  21. Performs various operations on a disc - see individual reason codesadfs_disc_op
  22. Performs various operations on a disc - see individual reason codesxadfsdiscop_verify
  23. Defined in:       <adfs=>adfs.$>.h
  24. Declaration:      extern <os_error=>os.os_error> *xadfsdiscop_verify (bits flags,
  25.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  26.                      int size,
  27.                      <filecore_disc_address=>filecore.filecore_disc_address> *next_disc_addr,
  28.                      int *unverified);
  29. Description:      Verifies a disc
  30. Entry:            flags (R1)
  31.                   disc_addr (R2)
  32.                   size (R4)
  33. Exit:             next_disc_addr (R2)
  34.                   unverified (R4)adfsdiscop_verify
  35. Defined in:       <adfs=>adfs.$>.h
  36. Declaration:      extern int adfsdiscop_verify (bits flags,
  37.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  38.                      int size,
  39.                      <filecore_disc_address=>filecore.filecore_disc_address> *next_disc_addr);
  40. Description:      Verifies a disc
  41. Entry:            flags (R1)
  42.                   disc_addr (R2)
  43.                   size (R4)
  44. Exit:             next_disc_addr (R2)
  45. Returns:          unverified (R4)xadfsdiscop_read_sectors
  46. Defined in:       <adfs=>adfs.$>.h
  47. Declaration:      extern <os_error=>os.os_error> *xadfsdiscop_read_sectors (bits flags,
  48.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  49.                      byte *data,
  50.                      int size,
  51.                      <filecore_disc_address=>filecore.filecore_disc_address> *next_disc_addr,
  52.                      byte **next_data,
  53.                      int *unread);
  54. Description:      Reads sectors from a disc
  55. Entry:            flags (R1)
  56.                   disc_addr (R2)
  57.                   data (R3)
  58.                   size (R4)
  59. Exit:             next_disc_addr (R2)
  60.                   next_data (R3)
  61.                   unread (R4)adfsdiscop_read_sectors
  62. Defined in:       <adfs=>adfs.$>.h
  63. Declaration:      extern int adfsdiscop_read_sectors (bits flags,
  64.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  65.                      byte *data,
  66.                      int size,
  67.                      <filecore_disc_address=>filecore.filecore_disc_address> *next_disc_addr,
  68.                      byte **next_data);
  69. Description:      Reads sectors from a disc
  70. Entry:            flags (R1)
  71.                   disc_addr (R2)
  72.                   data (R3)
  73.                   size (R4)
  74. Exit:             next_disc_addr (R2)
  75.                   next_data (R3)
  76. Returns:          unread (R4)xadfsdiscop_write_sectors
  77. Defined in:       <adfs=>adfs.$>.h
  78. Declaration:      extern <os_error=>os.os_error> *xadfsdiscop_write_sectors (bits flags,
  79.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  80.                      byte const *data,
  81.                      int size,
  82.                      <filecore_disc_address=>filecore.filecore_disc_address> *next_disc_addr,
  83.                      byte **next_data,
  84.                      int *unwritten);
  85. Description:      Writes sectors to a disc
  86. Entry:            flags (R1)
  87.                   disc_addr (R2)
  88.                   data (R3)
  89.                   size (R4)
  90. Exit:             next_disc_addr (R2)
  91.                   next_data (R3)
  92.                   unwritten (R4)adfsdiscop_write_sectors
  93. Defined in:       <adfs=>adfs.$>.h
  94. Declaration:      extern int adfsdiscop_write_sectors (bits flags,
  95.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  96.                      byte const *data,
  97.                      int size,
  98.                      <filecore_disc_address=>filecore.filecore_disc_address> *next_disc_addr,
  99.                      byte **next_data);
  100. Description:      Writes sectors to a disc
  101. Entry:            flags (R1)
  102.                   disc_addr (R2)
  103.                   data (R3)
  104.                   size (R4)
  105. Exit:             next_disc_addr (R2)
  106.                   next_data (R3)
  107. Returns:          unwritten (R4)xadfsdiscop_read_track
  108. Defined in:       <adfs=>adfs.$>.h
  109. Declaration:      extern <os_error=>os.os_error> *xadfsdiscop_read_track (bits flags,
  110.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  111.                      byte *data);
  112. Description:      Reads a track from a floppy disc
  113. Entry:            flags (R1)
  114.                   disc_addr (R2)
  115.                   data (R3)adfsdiscop_read_track
  116. Defined in:       <adfs=>adfs.$>.h
  117. Declaration:      extern void adfsdiscop_read_track (bits flags,
  118.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  119.                      byte *data);
  120. Description:      Reads a track from a floppy disc
  121. Entry:            flags (R1)
  122.                   disc_addr (R2)
  123.                   data (R3)xadfsdiscop_read_id
  124. Defined in:       <adfs=>adfs.$>.h
  125. Declaration:      extern <os_error=>os.os_error> *xadfsdiscop_read_id (bits flags,
  126.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  127.                      byte *data);
  128. Description:      Reads a hard disc ID
  129. Entry:            flags (R1)
  130.                   disc_addr (R2)
  131.                   data (R3)adfsdiscop_read_id
  132. Defined in:       <adfs=>adfs.$>.h
  133. Declaration:      extern void adfsdiscop_read_id (bits flags,
  134.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  135.                      byte *data);
  136. Description:      Reads a hard disc ID
  137. Entry:            flags (R1)
  138.                   disc_addr (R2)
  139.                   data (R3)xadfsdiscop_write_track
  140. Defined in:       <adfs=>adfs.$>.h
  141. Declaration:      extern <os_error=>os.os_error> *xadfsdiscop_write_track (bits flags,
  142.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  143.                      byte const *data);
  144. Description:      Writes a track to a disc
  145. Entry:            flags (R1)
  146.                   disc_addr (R2)
  147.                   data (R3)adfsdiscop_write_track
  148. Defined in:       <adfs=>adfs.$>.h
  149. Declaration:      extern void adfsdiscop_write_track (bits flags,
  150.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  151.                      byte const *data);
  152. Description:      Writes a track to a disc
  153. Entry:            flags (R1)
  154.                   disc_addr (R2)
  155.                   data (R3)xadfsdiscop_format_track
  156. Defined in:       <adfs=>adfs.$>.h
  157. Declaration:      extern <os_error=>os.os_error> *xadfsdiscop_format_track (bits flags,
  158.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  159.                      <filecore_track_format=>filecore.filecore_track_format> const *format);
  160. Description:      Formats a track of a disc
  161. Entry:            flags (R1)
  162.                   disc_addr (R2)
  163.                   format (R4)adfsdiscop_format_track
  164. Defined in:       <adfs=>adfs.$>.h
  165. Declaration:      extern void adfsdiscop_format_track (bits flags,
  166.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  167.                      <filecore_track_format=>filecore.filecore_track_format> const *format);
  168. Description:      Formats a track of a disc
  169. Entry:            flags (R1)
  170.                   disc_addr (R2)
  171.                   format (R4)xadfsdiscop_seek
  172. Defined in:       <adfs=>adfs.$>.h
  173. Declaration:      extern <os_error=>os.os_error> *xadfsdiscop_seek (bits flags,
  174.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr);
  175. Description:      Seeks to a disc location
  176. Entry:            flags (R1)
  177.                   disc_addr (R2)adfsdiscop_seek
  178. Defined in:       <adfs=>adfs.$>.h
  179. Declaration:      extern void adfsdiscop_seek (bits flags,
  180.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr);
  181. Description:      Seeks to a disc location
  182. Entry:            flags (R1)
  183.                   disc_addr (R2)xadfsdiscop_restore
  184. Defined in:       <adfs=>adfs.$>.h
  185. Declaration:      extern <os_error=>os.os_error> *xadfsdiscop_restore (bits flags,
  186.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr);
  187. Description:      Does a restore operation for a disc
  188. Entry:            flags (R1)
  189.                   disc_addr (R2)adfsdiscop_restore
  190. Defined in:       <adfs=>adfs.$>.h
  191. Declaration:      extern void adfsdiscop_restore (bits flags,
  192.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr);
  193. Description:      Does a restore operation for a disc
  194. Entry:            flags (R1)
  195.                   disc_addr (R2)xadfsdiscop_step_in
  196. Defined in:       <adfs=>adfs.$>.h
  197. Declaration:      extern <os_error=>os.os_error> *xadfsdiscop_step_in (bits flags);
  198. Description:      Steps a floppy disc in one track
  199. Entry:            flags (R1)adfsdiscop_step_in
  200. Defined in:       <adfs=>adfs.$>.h
  201. Declaration:      extern void adfsdiscop_step_in (bits flags);
  202. Description:      Steps a floppy disc in one track
  203. Entry:            flags (R1)xadfsdiscop_step_out
  204. Defined in:       <adfs=>adfs.$>.h
  205. Declaration:      extern <os_error=>os.os_error> *xadfsdiscop_step_out (bits flags);
  206. Description:      Steps a floppy disc out one track
  207. Entry:            flags (R1)adfsdiscop_step_out
  208. Defined in:       <adfs=>adfs.$>.h
  209. Declaration:      extern void adfsdiscop_step_out (bits flags);
  210. Description:      Steps a floppy disc out one track
  211. Entry:            flags (R1)xadfsdiscop_read_sectors_via_cache
  212. Defined in:       <adfs=>adfs.$>.h
  213. Declaration:      extern <os_error=>os.os_error> *xadfsdiscop_read_sectors_via_cache (bits flags,
  214.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  215.                      byte *data,
  216.                      int size,
  217.                      int cache_handle,
  218.                      <filecore_disc_address=>filecore.filecore_disc_address> *next_disc_addr,
  219.                      byte **next_data,
  220.                      int *unread,
  221.                      int *cache_handle);
  222. Description:      Reads sectors of a disc using the RMA cache
  223. Entry:            flags (R1)
  224.                   disc_addr (R2)
  225.                   data (R3)
  226.                   size (R4)
  227.                   cache_handle (R6)
  228. Exit:             next_disc_addr (R2)
  229.                   next_data (R3)
  230.                   unread (R4)
  231.                   cache_handle (R6)adfsdiscop_read_sectors_via_cache
  232. Defined in:       <adfs=>adfs.$>.h
  233. Declaration:      extern int adfsdiscop_read_sectors_via_cache (bits flags,
  234.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  235.                      byte *data,
  236.                      int size,
  237.                      int cache_handle,
  238.                      <filecore_disc_address=>filecore.filecore_disc_address> *next_disc_addr,
  239.                      byte **next_data,
  240.                      int *cache_handle);
  241. Description:      Reads sectors of a disc using the RMA cache
  242. Entry:            flags (R1)
  243.                   disc_addr (R2)
  244.                   data (R3)
  245.                   size (R4)
  246.                   cache_handle (R6)
  247. Exit:             next_disc_addr (R2)
  248.                   next_data (R3)
  249.                   cache_handle (R6)
  250. Returns:          unread (R4)xadfsdiscop_specify
  251. Defined in:       <adfs=>adfs.$>.h
  252. Declaration:      extern <os_error=>os.os_error> *xadfsdiscop_specify (bits flags,
  253.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr);
  254. Description:      Does a specify operation on a hard disc
  255. Entry:            flags (R1)
  256.                   disc_addr (R2)adfsdiscop_specify
  257. Defined in:       <adfs=>adfs.$>.h
  258. Declaration:      extern void adfsdiscop_specify (bits flags,
  259.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr);
  260. Description:      Does a specify operation on a hard disc
  261. Entry:            flags (R1)
  262.                   disc_addr (R2)xadfs_hdc
  263. Defined in:       <adfs=>adfs.$>.h
  264. Declaration:      extern <os_error=>os.os_error> *xadfs_hdc (byte *controller,
  265.                      int *poll_location,
  266.                      bits poll_bits,
  267.                      byte *enable_location,
  268.                      bits enable_bits);
  269. Description:      Sets the address of an alternative ST506 hard disc controller
  270. Entry:            controller (R2)
  271.                   poll_location (R3)
  272.                   poll_bits (R4)
  273.                   enable_location (R5)
  274.                   enable_bits (R6)adfs_hdc
  275. Defined in:       <adfs=>adfs.$>.h
  276. Declaration:      extern void adfs_hdc (byte *controller,
  277.                      int *poll_location,
  278.                      bits poll_bits,
  279.                      byte *enable_location,
  280.                      bits enable_bits);
  281. Description:      Sets the address of an alternative ST506 hard disc controller
  282. Entry:            controller (R2)
  283.                   poll_location (R3)
  284.                   poll_bits (R4)
  285.                   enable_location (R5)
  286.                   enable_bits (R6)xadfs_drives
  287. Defined in:       <adfs=>adfs.$>.h
  288. Declaration:      extern <os_error=>os.os_error> *xadfs_drives (int *default_drive,
  289.                      int *floppy_count,
  290.                      int *hard_disc_count);
  291. Description:      Returns information on ADFS' drives
  292. Exit:             default_drive (R0)
  293.                   floppy_count (R1)
  294.                   hard_disc_count (R2)adfs_drives
  295. Defined in:       <adfs=>adfs.$>.h
  296. Declaration:      extern void adfs_drives (int *default_drive,
  297.                      int *floppy_count,
  298.                      int *hard_disc_count);
  299. Description:      Returns information on ADFS' drives
  300. Exit:             default_drive (R0)
  301.                   floppy_count (R1)
  302.                   hard_disc_count (R2)xadfs_free_space
  303. Defined in:       <adfs=>adfs.$>.h
  304. Declaration:      extern <os_error=>os.os_error> *xadfs_free_space (char const *disc_name,
  305.                      int *free,
  306.                      int *max);
  307. Description:      Returns information on a disc's free space
  308. Entry:            disc_name (R0)
  309. Exit:             free (R0)
  310.                   max (R1)adfs_free_space
  311. Defined in:       <adfs=>adfs.$>.h
  312. Declaration:      extern int adfs_free_space (char const *disc_name,
  313.                      int *max);
  314. Description:      Returns information on a disc's free space
  315. Entry:            disc_name (R0)
  316. Exit:             max (R1)
  317. Returns:          free (R0)xadfs_retries
  318. Defined in:       <adfs=>adfs.$>.h
  319. Declaration:      extern <os_error=>os.os_error> *xadfs_retries (bits mask,
  320.                      bits value,
  321.                      bits *old_value,
  322.                      bits *new_value);
  323. Description:      Sets the number of retries used for various operations
  324. Entry:            mask (R0)
  325.                   value (R1)
  326. Exit:             old_value (R2)
  327.                   new_value (R3)adfs_retries
  328. Defined in:       <adfs=>adfs.$>.h
  329. Declaration:      extern bits adfs_retries (bits mask,
  330.                      bits value,
  331.                      bits *new_value);
  332. Description:      Sets the number of retries used for various operations
  333. Entry:            mask (R0)
  334.                   value (R1)
  335. Exit:             new_value (R3)
  336. Returns:          old_value (R2)xadfs_describe_disc
  337. Defined in:       <adfs=>adfs.$>.h
  338. Declaration:      extern <os_error=>os.os_error> *xadfs_describe_disc (char const *disc_name,
  339.                      <filecore_disc=>filecore.filecore_disc> *disc);
  340. Description:      Returns a disc record describing a disc's shape and format
  341. Entry:            disc_name (R0)
  342.                   disc (R1)adfs_describe_disc
  343. Defined in:       <adfs=>adfs.$>.h
  344. Declaration:      extern void adfs_describe_disc (char const *disc_name,
  345.                      <filecore_disc=>filecore.filecore_disc> *disc);
  346. Description:      Returns a disc record describing a disc's shape and format
  347. Entry:            disc_name (R0)
  348.                   disc (R1)xadfs_vet_format
  349. Defined in:       <adfs=>adfs.$>.h
  350. Declaration:      extern <os_error=>os.os_error> *xadfs_vet_format (<filecore_format=>filecore.filecore_format> *format,
  351.                      int drive_no);
  352. Description:      Vets a format for achievability with the available hardware
  353. Entry:            format (R0)
  354.                   drive_no (R1)adfs_vet_format
  355. Defined in:       <adfs=>adfs.$>.h
  356. Declaration:      extern void adfs_vet_format (<filecore_format=>filecore.filecore_format> *format,
  357.                      int drive_no);
  358. Description:      Vets a format for achievability with the available hardware
  359. Entry:            format (R0)
  360.                   drive_no (R1)xadfs_flp_process_dcb
  361. For internal use onlyadfs_flp_process_dcb
  362. For internal use onlyxadfs_controller_type
  363. Defined in:       <adfs=>adfs.$>.h
  364. Declaration:      extern <os_error=>os.os_error> *xadfs_controller_type (int drive_no,
  365.                      <adfs_controller> *controller);
  366. Description:      Returns the controller type of a driver
  367. Entry:            drive_no (R0)
  368. Exit:             controller (R0)adfs_controller_type
  369. Defined in:       <adfs=>adfs.$>.h
  370. Declaration:      extern <adfs_controller> adfs_controller_type (int drive_no);
  371. Description:      Returns the controller type of a driver
  372. Entry:            drive_no (R0)
  373. Returns:          controller (R0)xadfs_power_control
  374. Controls the power-saving features of the ADFS system - see individual reason codesadfs_power_control
  375. Controls the power-saving features of the ADFS system - see individual reason codesxadfspowercontrol_read_spin
  376. Defined in:       <adfs=>adfs.$>.h
  377. Declaration:      extern <os_error=>os.os_error> *xadfspowercontrol_read_spin (int drive_no,
  378.                      bool *spinning);
  379. Description:      Reads the spin status of a drive
  380. Entry:            drive_no (R1)
  381. Exit:             spinning (R2)adfspowercontrol_read_spin
  382. Defined in:       <adfs=>adfs.$>.h
  383. Declaration:      extern bool adfspowercontrol_read_spin (int drive_no);
  384. Description:      Reads the spin status of a drive
  385. Entry:            drive_no (R1)
  386. Returns:          spinning (R2)xadfspowercontrol_set_autospindown
  387. Defined in:       <adfs=>adfs.$>.h
  388. Declaration:      extern <os_error=>os.os_error> *xadfspowercontrol_set_autospindown (int drive_no,
  389.                      int spindown_time,
  390.                      int *old_spindown_time);
  391. Description:      Sets the autospindown characteristic of a drive
  392. Entry:            drive_no (R1)
  393.                   spindown_time (R2)
  394. Exit:             old_spindown_time (R3)adfspowercontrol_set_autospindown
  395. Defined in:       <adfs=>adfs.$>.h
  396. Declaration:      extern int adfspowercontrol_set_autospindown (int drive_no,
  397.                      int spindown_time);
  398. Description:      Sets the autospindown characteristic of a drive
  399. Entry:            drive_no (R1)
  400.                   spindown_time (R2)
  401. Returns:          old_spindown_time (R3)xadfspowercontrol_set_spin
  402. Defined in:       <adfs=>adfs.$>.h
  403. Declaration:      extern <os_error=>os.os_error> *xadfspowercontrol_set_spin (int drive_no,
  404.                      bool spinning);
  405. Description:      Controls drive spin directly without affecting autospindown
  406. Entry:            drive_no (R1)
  407.                   spinning (R2)adfspowercontrol_set_spin
  408. Defined in:       <adfs=>adfs.$>.h
  409. Declaration:      extern void adfspowercontrol_set_spin (int drive_no,
  410.                      bool spinning);
  411. Description:      Controls drive spin directly without affecting autospindown
  412. Entry:            drive_no (R1)
  413.                   spinning (R2)xadfs_set_ide_controller
  414. Defined in:       <adfs=>adfs.$>.h
  415. Declaration:      extern <os_error=>os.os_error> *xadfs_set_ide_controller (byte *controller,
  416.                      int *status_location,
  417.                      bits status_bits,
  418.                      int *irq_location,
  419.                      bits irq_bits,
  420.                      void const *read_code,
  421.                      void const *write_code);
  422. Description:      Gives the IDE driver the details of an alternative controller
  423. Entry:            controller (R2)
  424.                   status_location (R3)
  425.                   status_bits (R4)
  426.                   irq_location (R5)
  427.                   irq_bits (R6)
  428.                   read_code (R7)
  429.                   write_code (R8)adfs_set_ide_controller
  430. Defined in:       <adfs=>adfs.$>.h
  431. Declaration:      extern void adfs_set_ide_controller (byte *controller,
  432.                      int *status_location,
  433.                      bits status_bits,
  434.                      int *irq_location,
  435.                      bits irq_bits,
  436.                      void const *read_code,
  437.                      void const *write_code);
  438. Description:      Gives the IDE driver the details of an alternative controller
  439. Entry:            controller (R2)
  440.                   status_location (R3)
  441.                   status_bits (R4)
  442.                   irq_location (R5)
  443.                   irq_bits (R6)
  444.                   read_code (R7)
  445.                   write_code (R8)xadfs_ide_user_op
  446. Defined in:       <adfs=>adfs.$>.h
  447. Declaration:      extern <os_error=>os.os_error> *xadfs_ide_user_op (bits op,
  448.                      byte const *commands,
  449.                      byte *buffer,
  450.                      int size,
  451.                      int timeout,
  452.                      int *status,
  453.                      int *untransferred);
  454. Description:      Direct user interface for low-level IDE commands
  455. Entry:            op (R0)
  456.                   commands (R2)
  457.                   buffer (R3)
  458.                   size (R4)
  459.                   timeout (R5)
  460. Exit:             status (R0)
  461.                   untransferred (R4)adfs_ide_user_op
  462. Defined in:       <adfs=>adfs.$>.h
  463. Declaration:      extern int adfs_ide_user_op (bits op,
  464.                      byte const *commands,
  465.                      byte *buffer,
  466.                      int size,
  467.                      int timeout,
  468.                      int *status);
  469. Description:      Direct user interface for low-level IDE commands
  470. Entry:            op (R0)
  471.                   commands (R2)
  472.                   buffer (R3)
  473.                   size (R4)
  474.                   timeout (R5)
  475. Exit:             status (R0)
  476. Returns:          untransferred (R4)xadfs_misc_op
  477. Performs miscellaneous functions for accessing drives - see individual reason codesadfs_misc_op
  478. Performs miscellaneous functions for accessing drives - see individual reason codesxadfsmiscop_mount
  479. Defined in:       <adfs=>adfs.$>.h
  480. Declaration:      extern <os_error=>os.os_error> *xadfsmiscop_mount (int drive_no,
  481.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  482.                      byte *buffer,
  483.                      int size,
  484.                      <filecore_disc=>filecore.filecore_disc> *disc);
  485. Description:      Mounts a disc, reading in the data asked for
  486. Entry:            drive_no (R1)
  487.                   disc_addr (R2)
  488.                   buffer (R3)
  489.                   size (R4)
  490.                   disc (R5)adfsmiscop_mount
  491. Defined in:       <adfs=>adfs.$>.h
  492. Declaration:      extern void adfsmiscop_mount (int drive_no,
  493.                      <filecore_disc_address=>filecore.filecore_disc_address> disc_addr,
  494.                      byte *buffer,
  495.                      int size,
  496.                      <filecore_disc=>filecore.filecore_disc> *disc);
  497. Description:      Mounts a disc, reading in the data asked for
  498. Entry:            drive_no (R1)
  499.                   disc_addr (R2)
  500.                   buffer (R3)
  501.                   size (R4)
  502.                   disc (R5)xadfsmiscop_poll_changed
  503. Defined in:       <adfs=>adfs.$>.h
  504. Declaration:      extern <os_error=>os.os_error> *xadfsmiscop_poll_changed (int drive_no,
  505.                      int sequence_no,
  506.                      int *sequence_no_out,
  507.                      bits *result);
  508. Description:      Polls the sequence number for a drive
  509. Entry:            drive_no (R1)
  510.                   sequence_no (R2)
  511. Exit:             sequence_no_out (R2)
  512.                   result (R3)adfsmiscop_poll_changed
  513. Defined in:       <adfs=>adfs.$>.h
  514. Declaration:      extern void adfsmiscop_poll_changed (int drive_no,
  515.                      int sequence_no,
  516.                      int *sequence_no_out,
  517.                      bits *result);
  518. Description:      Polls the sequence number for a drive
  519. Entry:            drive_no (R1)
  520.                   sequence_no (R2)
  521. Exit:             sequence_no_out (R2)
  522.                   result (R3)xadfsmiscop_lock_drive
  523. Defined in:       <adfs=>adfs.$>.h
  524. Declaration:      extern <os_error=>os.os_error> *xadfsmiscop_lock_drive (int drive_no);
  525. Description:      Locks a disc in a floppy drive
  526. Entry:            drive_no (R1)adfsmiscop_lock_drive
  527. Defined in:       <adfs=>adfs.$>.h
  528. Declaration:      extern void adfsmiscop_lock_drive (int drive_no);
  529. Description:      Locks a disc in a floppy drive
  530. Entry:            drive_no (R1)xadfsmiscop_unlock_drive
  531. Defined in:       <adfs=>adfs.$>.h
  532. Declaration:      extern <os_error=>os.os_error> *xadfsmiscop_unlock_drive (int drive_no);
  533. Description:      Unlocks a disc in a floppy drive
  534. Entry:            drive_no (R1)adfsmiscop_unlock_drive
  535. Defined in:       <adfs=>adfs.$>.h
  536. Declaration:      extern void adfsmiscop_unlock_drive (int drive_no);
  537. Description:      Unlocks a disc in a floppy drive
  538. Entry:            drive_no (R1)xadfsmiscop_poll_period
  539. Defined in:       <adfs=>adfs.$>.h
  540. Declaration:      extern <os_error=>os.os_error> *xadfsmiscop_poll_period (char const *disc_name,
  541.                      int *poll_period,
  542.                      char **media_type);
  543. Description:      Informs FileCore of the minimum period between polling for disc insertion
  544. Entry:            disc_name (R1)
  545. Exit:             poll_period (R5)
  546.                   media_type (R6)adfsmiscop_poll_period
  547. Defined in:       <adfs=>adfs.$>.h
  548. Declaration:      extern void adfsmiscop_poll_period (char const *disc_name,
  549.                      int *poll_period,
  550.                      char **media_type);
  551. Description:      Informs FileCore of the minimum period between polling for disc insertion
  552. Entry:            disc_name (R1)
  553. Exit:             poll_period (R5)
  554.                   media_type (R6)xadfsmiscop_eject_disc
  555. Defined in:       <adfs=>adfs.$>.h
  556. Declaration:      extern <os_error=>os.os_error> *xadfsmiscop_eject_disc (int drive_no);
  557. Description:      Power-ejects the disc in the specified drive
  558. Entry:            drive_no (R1)adfsmiscop_eject_disc
  559. Defined in:       <adfs=>adfs.$>.h
  560. Declaration:      extern void adfsmiscop_eject_disc (int drive_no);
  561. Description:      Power-ejects the disc in the specified drive
  562. Entry:            drive_no (R1)xadfsmiscop_read_info
  563. Defined in:       <adfs=>adfs.$>.h
  564. Declaration:      extern <os_error=>os.os_error> *xadfsmiscop_read_info (<filecore_info=>filecore.filecore_info> **info);
  565. Description:      Reads information on ADFS
  566. Exit:             info (R0)adfsmiscop_read_info
  567. Defined in:       <adfs=>adfs.$>.h
  568. Declaration:      extern void adfsmiscop_read_info (<filecore_info=>filecore.filecore_info> **info);
  569. Description:      Reads information on ADFS
  570. Exit:             info (R0)xadfs_eccs_and_retries
  571. For internal use onlyadfs_eccs_and_retries
  572. For internal use onlyxadfs_lock_ide
  573. Defined in:       <adfs=>adfs.$>.h
  574. Declaration:      extern <os_error=>os.os_error> *xadfs_lock_ide (bool lock);
  575. Description:      Locks/unlocks IDE bus
  576. Entry:            lock (R0)adfs_lock_ide
  577. Defined in:       <adfs=>adfs.$>.h
  578. Declaration:      extern void adfs_lock_ide (bool lock);
  579. Description:      Locks/unlocks IDE bus
  580. Entry:            lock (R0)xservice_identify_format
  581. Defined in:       <adfs=>adfs.$>.h
  582. Declaration:      extern <os_error=>os.os_error> *xservice_identify_format (char const *format,
  583.                      char **command,
  584.                      bool *unclaimed,
  585.                      int *disc_format_swi,
  586.                      int *disc_format_handle,
  587.                      int *layout_structure_swi,
  588.                      int *layout_structure_handle);
  589. Description:      Identify disc format name
  590. Entry:            format (R0)
  591. Exit:             command (R0)
  592.                   unclaimed (R1)
  593.                   disc_format_swi (R2)
  594.                   disc_format_handle (R3)
  595.                   layout_structure_swi (R4)
  596.                   layout_structure_handle (R5)service_identify_format
  597. Defined in:       <adfs=>adfs.$>.h
  598. Declaration:      extern bool service_identify_format (char const *format,
  599.                      char **command,
  600.                      int *disc_format_swi,
  601.                      int *disc_format_handle,
  602.                      int *layout_structure_swi,
  603.                      int *layout_structure_handle);
  604. Description:      Identify disc format name
  605. Entry:            format (R0)
  606. Exit:             command (R0)
  607.                   disc_format_swi (R2)
  608.                   disc_format_handle (R3)
  609.                   layout_structure_swi (R4)
  610.                   layout_structure_handle (R5)
  611. Returns:          unclaimed (R1)xservice_display_format_help
  612. Defined in:       <adfs=>adfs.$>.h
  613. Declaration:      extern <os_error=>os.os_error> *xservice_display_format_help (<os_error=>os.os_error> **error,
  614.                      bool *unclaimed);
  615. Description:      Display list of available formats
  616. Exit:             error (R0)
  617.                   unclaimed (R1)service_display_format_help
  618. Defined in:       <adfs=>adfs.$>.h
  619. Declaration:      extern bool service_display_format_help (<os_error=>os.os_error> **error);
  620. Description:      Display list of available formats
  621. Exit:             error (R0)
  622. Returns:          unclaimed (R1)ADFS
  623. <adfs_controller>
  624. <error_ADFS_DRIVER_IN_USE>
  625. <adfs_CONTROLLER_DISC_NOT_PRESENT>
  626. <adfs_CONTROLLER1772>
  627. <adfs_CONTROLLER71X>
  628. <adfs_CONTROLLER_ST506>
  629. <adfs_CONTROLLER_IDE>
  630. <xadfs_disc_op>
  631. <adfs_disc_op>
  632. <xadfsdiscop_verify>
  633. <adfsdiscop_verify>
  634. <xadfsdiscop_read_sectors>
  635. <adfsdiscop_read_sectors>
  636. <xadfsdiscop_write_sectors>
  637. <adfsdiscop_write_sectors>
  638. <xadfsdiscop_read_track>
  639. <adfsdiscop_read_track>
  640. <xadfsdiscop_read_id>
  641. <adfsdiscop_read_id>
  642. <xadfsdiscop_write_track>
  643. <adfsdiscop_write_track>
  644. <xadfsdiscop_format_track>
  645. <adfsdiscop_format_track>
  646. <xadfsdiscop_seek>
  647. <adfsdiscop_seek>
  648. <xadfsdiscop_restore>
  649. <adfsdiscop_restore>
  650. <xadfsdiscop_step_in>
  651. <adfsdiscop_step_in>
  652. <xadfsdiscop_step_out>
  653. <adfsdiscop_step_out>
  654. <xadfsdiscop_read_sectors_via_cache>
  655. <adfsdiscop_read_sectors_via_cache>
  656. <xadfsdiscop_specify>
  657. <adfsdiscop_specify>
  658. <xadfs_hdc>
  659. <adfs_hdc>
  660. <xadfs_drives>
  661. <adfs_drives>
  662. <xadfs_free_space>
  663. <adfs_free_space>
  664. <xadfs_retries>
  665. <adfs_retries>
  666. <xadfs_describe_disc>
  667. <adfs_describe_disc>
  668. <xadfs_vet_format>
  669. <adfs_vet_format>
  670. <xadfs_flp_process_dcb>
  671. <adfs_flp_process_dcb>
  672. <xadfs_controller_type>
  673. <adfs_controller_type>
  674. <xadfs_power_control>
  675. <adfs_power_control>
  676. <xadfspowercontrol_read_spin>
  677. <adfspowercontrol_read_spin>
  678. <xadfspowercontrol_set_autospindown>
  679. <adfspowercontrol_set_autospindown>
  680. <xadfspowercontrol_set_spin>
  681. <adfspowercontrol_set_spin>
  682. <xadfs_set_ide_controller>
  683. <adfs_set_ide_controller>
  684. <xadfs_ide_user_op>
  685. <adfs_ide_user_op>
  686. <xadfs_misc_op>
  687. <adfs_misc_op>
  688. <xadfsmiscop_mount>
  689. <adfsmiscop_mount>
  690. <xadfsmiscop_poll_changed>
  691. <adfsmiscop_poll_changed>
  692. <xadfsmiscop_lock_drive>
  693. <adfsmiscop_lock_drive>
  694. <xadfsmiscop_unlock_drive>
  695. <adfsmiscop_unlock_drive>
  696. <xadfsmiscop_poll_period>
  697. <adfsmiscop_poll_period>
  698. <xadfsmiscop_eject_disc>
  699. <adfsmiscop_eject_disc>
  700. <xadfsmiscop_read_info>
  701. <adfsmiscop_read_info>
  702. <xadfs_eccs_and_retries>
  703. <adfs_eccs_and_retries>
  704. <xadfs_lock_ide>
  705. <adfs_lock_ide>
  706. <xservice_identify_format>
  707. <service_identify_format>
  708. <xservice_display_format_help>
  709. <service_display_format_help>