home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18264 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.2 KB

  1. Path: sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!usc!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!dkuug!imada!news
  2. From: breese@monet.imada.ou.dk (Bjoern Reese)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: HostileTakeOver of Amiga OS
  5. Message-ID: <1993Jan7.110002.769@imada.ou.dk>
  6. Date: 7 Jan 93 11:00:02 GMT
  7. References: <1iiap4INN648@newsman.csu.murdoch.edu.au>
  8. Sender: news@imada.ou.dk (USENET News System)
  9. Organization: Dept. of Math. & Computer Science, Odense University, Denmark
  10. Lines: 16
  11.  
  12. In article <1iiap4INN648@newsman.csu.murdoch.edu.au> meek@csu.murdoch.edu.au  
  13. (Lindsay Meek) writes:
  14. >     Make sure you wait for the disk drive to finish writing before
  15. > you disable everything however, otherwise your drive will validate
  16. > and the blocks queued for writing will be lost. Does anybody know a
  17. > commidore unauthorised naughty-bit of code for doing this?
  18.  
  19. You could flush the disk buffers, but that requires a huge chunk of
  20. code (provided you don't link your code with Amiga.lib/small.lib)
  21. It's a lot easier to use wait for approx. 2 secs, using Delay() in
  22. dos.library.
  23.  
  24. --
  25.  
  26. Bjoern Reese                   |     Email: breese@imada.ou.dk
  27. Odense University, Denmark     |     Voice: +45 65 932 182 (private)
  28.