home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / hardware / 14880 < prev    next >
Encoding:
Text File  |  1992-09-03  |  2.5 KB  |  56 lines

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