Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Peter Norton Programmer's Guide - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

  Function 22H (decimal 34) writes one record to a random location in a
  file. As with function 21H, you must initialize the random-record field in
  the file's FCB and then call this function with DS:DX pointing to the FCB.
  DOS then writes data from the DTA to the file at the position specified in
  the FCB.

  AL is set with the same codes used for a sequential write: AL = 00H
  indicates a successful write; AL = 01H means the disk is full; AL = 02H
  indicates insufficient space in the DTA segment.

  Contrast this function with function 28H, which can write more than one
  random record, or with function 15H, which writes sequential records. See
  function 24H for more on setting the random-record field.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson