home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / OB3.2D4.DMS / in.adf / Interfaces / RamDrive.mod next >
Encoding:
Text File  |  1992-12-17  |  1.0 KB  |  37 lines

  1. (*-------------------------------------------------------------------------*)
  2. (*                                                                         *)
  3. (*  Amiga Oberon Interface Module:                    Date: 02-Nov-92      *)
  4. (*                                                                         *)
  5. (*   © 1992 by Fridtjof Siebert                                            *)
  6. (*                                                                         *)
  7. (*-------------------------------------------------------------------------*)
  8.  
  9. MODULE RamDrive;
  10.  
  11. IMPORT e * := Exec;
  12.  
  13. CONST
  14.  
  15.   ramDriveName * = "ramdrive.device";
  16.  
  17.  
  18. VAR
  19.  
  20. (*
  21.  *  You have to put a pointer to the ramdrive.device here to use the ramdrive
  22.  *  procedures:
  23.  *)
  24.  
  25.   base * : e.DevicePtr;
  26.  
  27.  
  28.  
  29. (*--- functions in V34 or higher (distributed as Release 1.3) ---*)
  30. PROCEDURE KillRAD0 *{base,- 42}(): e.STRPTR;
  31. (*--- functions in V36 or higher (distributed as Release 2.0) ---*)
  32. PROCEDURE KillRAD  *{base,- 48}(unit{0} : LONGINT): e.STRPTR;
  33.  
  34. END RamDrive.
  35.  
  36.  
  37.