home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.amiga.programmer:18129 comp.sys.amiga.hardware:22361
- Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.hardware
- Path: sparky!uunet!rational.com!fensende!mcuddy
- From: mcuddy@fensende.Rational.COM (Mike Cuddy)
- Subject: Re: HostileTakeOver of Amiga OS
- Message-ID: <mcuddy.726187148@fensende>
- Keywords: flame bait lives here
- Sender: news@rational.com
- Organization: Rational
- References: <1993Jan4.193325.11793@cybernet.cse.fau.edu>
- Date: Mon, 4 Jan 1993 22:39:08 GMT
- Lines: 44
-
- 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.
-
- 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.
-
- > Thanks in advance (and I may even post the routines when I write them if
- >there is sufficient interest in it).
-
- Yes. post your routines. write a simple program which 'takes over' the
- machine and then gives it back; let those of us with faster machines test
- it before you spend all of the time to create your masterpiece.
-
- 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.
-
- > -spc (And yes, I do respect the OS and appreciate it, but sometimes, I
- > would like to hit the hardware and not worry about the OS at all)
-
- 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.
-
- --Mike Cuddy (mcuddy@rational.com, fensende!mcuddy@apple.com)
- To Anachreon in Heav'n/Where he sat in full glee/A few sons of harmony sent a
- petition/That he thier inspierer and patron would be/When this answer arrived/
- from the jolly old Grecian/"Voice, fiddle and flute,/no longer be mute,/
- I'll lend ye my name/And inspire ye ta' boot/And besides I'll instruct ye/
- like me, to entwine/the Myrtle of Venus with Bacchus' vine!
- -- sing to the tune of the star spangled banner... (these are the orig words,
- yes folks, our national anthem is a ``let's get drunk and F*** song'').
-