home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.hardware
- Path: sparky!uunet!munnari.oz.au!uniwa!cujo!pride!copes
- From: copes@pride.cs.curtin.edu.au (Simon Cope)
- Subject: Re: bizarre virtual memory idea...
- Message-ID: <copes.715597725@pride>
- Sender: news@cujo.curtin.edu.au (News Manager)
- Organization: Curtin University of Technology
- References: <Btz1D4.EGz@gpu.utcs.utoronto.ca>
- Date: Fri, 4 Sep 1992 09:08:45 GMT
- Lines: 44
-
- engb@gpu.utcs.utoronto.ca (Ben Eng) writes:
-
- >I just had the most bizarre idea for implementing a virtual
- >memory scheme on the Amiga. It's so off the wall, I haven't
-
- >Imagine a Zorro II or Zorro III expansion card with about
- >4 or 8 or 16 MB of fast RAM, as well as an onboard SCSI
- >controller. Add in some smarts that acts like a MMU and
- >probably a load of logic to glue everything together.
- >There you have a RAM card that "looks" to the system like
- >a RAM card, but "acts" like a RAM card as large as the
- >amount of mass storage you stick onto the SCSI bus.
-
- >I haven't researched how Zorro reacts, but I would imagine
- >that this thing would be incurring some really nasty
- >"wait states" during page faults. :-)
-
- The ZorroIII bus has a default timeout of 250ms. If your card didn't respond
- in that time, FatBuster forces a Bus Error to the cpu. This could be REAL
- nasty. A 'real' Virtual Memory system would suspend the task while the page
- is being read in from storage, and continue with another. When it gets the
- signal that the read is complete, it could return the suspended task to waiting
- status. You might be able to replicate this by having your card force an
- interrupt on a page fault, and having your driver code suspend the task (using
- the info on the exception frame) till the read is complete, then return it to
- waiting. I have seen a program called VRam by IVS for doing vram using the
- an 030 with mmu, and apparently there is another one called GiGaMem floating
- around. The main problem is using your device driver from within an exception,
- but if your writing your own, there is no real problem.
-
- With a bit of thought, it should be possible to do one on a card. However,
- by the time you add up the cost of making your own fast dma controller, plus
- an equally fast ram card, it would probably be easier to buy more ram. VRam
- can have some real BIG performance hits if its not done properly.
-
-
- >Ben
- >--
- >e-mail: engb@gpu.utcs.utoronto.ca or ben@jetpen.gts.org (Ben Eng)
- >UofT EngSci 9T2 ``We are all masochists here.''
- >Home: (416)-979-8761, (416)-979-7885
-
- --
- copes@cs.curtin.edu.au
-