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

  1. Path: sparky!uunet!gatech!nscf!lakes!rock
  2. From: rock@lakes.trenton.sc.us (Rockerboy)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: HostileTakeOver of Amiga OS
  5. Keywords: flame bait lives here
  6. Message-ID: <wyaywB7w165w@lakes.trenton.sc.us>
  7. Date: Wed, 06 Jan 93 05:28:55 EST
  8. References: <1993Jan4.193325.11793@cybernet.cse.fau.edu>
  9. Reply-To: rock@lakes.trenton.sc.us (Rockerboy)
  10. Organization: Lakes Public Access
  11. Lines: 24
  12.  
  13. spc@pineal.math.fau.edu (Sean 'Captain Napalm' Conner) writes:
  14.  
  15. > (donning asbestos long johns in preparation of a potential flame-a-rama)
  16. >   I'm currently trying to write some code to take over the Amiga system from
  17. > the OS, do what ever I want to the hardware, and then return the system back
  18. > to the OS in as much of the same state as it was before I took it over.
  19. >   So, what I'm wanting to know, is what exactly do I need to do to (in as
  20. > friendly a mannor as possible) to take over the system from the OS.  Code
  21. > fragments (in any language) would be nice, as well as possible
  22. > warnings/cavets/etc ... that may be required.
  23.  
  24. No!  No!  Don't do it!  It's _evil_, don't you understand!  My _GOD_, 
  25. don't you recognize the damage your programming will do!?  You'll ruin 
  26. the entire future of Amiga if you do this, so _don't_!
  27.  
  28. But if you really want to, the simplest way is to simply shut down 
  29. interrupts (after preserving them), redirect vectros, preserve the system 
  30. copper lists (see graphics/gfxbase.i for details on that).  I like to pop 
  31. up a requestor warning the user I'm taking over his machine, too.  
  32. Allocate any RAM you need, then shut down the OS as mentioned above, do 
  33. your thing, put everything back like you found it, and you're done.
  34.