home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.amiga.programmer:18304 comp.sys.amiga.hardware:22566
- Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.hardware
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!wupost!news.miami.edu!cybernet!pineal.math.fau.edu!spc
- From: spc@pineal.math.fau.edu (Sean 'Captain Napalm' Conner)
- Subject: Re: HostileTakeOver of Amiga OS
- Message-ID: <1993Jan7.192429.26606@cybernet.cse.fau.edu>
- Keywords: flame bait lives here
- Sender: news@cybernet.cse.fau.edu
- Organization: Florida Atlantic University, but who cares?
- References: <1993Jan4.193325.11793@cybernet.cse.fau.edu> <mcuddy.726187148@fensende>
- Date: Thu, 7 Jan 1993 19:24:29 GMT
- Lines: 49
-
- In article <mcuddy.726187148@fensende> mcuddy@fensende.Rational.COM (Mike Cuddy) writes:
- >spc@pineal.math.fau.edu (Sean 'Captain Napalm' Conner) writes:
- >
- >> The system I'm doing this on is an Amiga 500 running 1.3 with 3M RAM (512K
- >>of that is chip) and a 50M harddrive.
- >
- >Be careful to test your code on faster machines. those of us with 040's
- >(and even 030's -- and there's alot of us) get cheezed off when an otherwise
- >awesome game requires us to slow down our machines.
- >
-
- My intention is to write a library with the code to take over the machine
- as routines to be called by a program that wants to take over the machine.
- So, a version of the library could be written for a 68000, 68020, 68030 etc.
-
-
- >the biggest gotcha when taking over the machine is that on >68000 machines,
- >the exception vector table is not always at 0. The VBR (vector base
- >register) is used to move the exception table into fast ram to avoid
- >contention with the custom chips.
- >
-
- Yes, I'm aware of that, and have already taken that into consideration 8-)
-
-
- >One thing you might think of doing is when the 'pause' key is hit in your
- >game, give back the machine, open an intuition screen/window with your current
- >screen bitmap as the bitmap for the screen/window and then wait for the
- >'unpause' key from intuition before firing your game back up. This is real
- >nice for folks who just want to pop back to thier machine to look up a phone
- >number or let thier thumb rest from blaze-o-matic 9000.
- >
-
- Hmmmm ... that's an idea I didn't think of. I'll see if I can work that
- into the library somehow.
-
-
- >You might try writing two version of your setup/cleanup code -- one which
- >hits the hardware HARD (for 68000's) and one which doesn't hit it quite so
- >hard (for >68000 -- let me decide if I want to devote all of my CPU to the
- >game) If you program in a sufficiently modular way, it shouldn't be that hard.
- >
-
- Well, seeing how I'm planning on putting this into a library, just change
- the library to a system specific version.
-
- -spc (So, how does the idea of a library to take over the machine sound to
- all of you out there?)
-
-