home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / apple2 / 24304 < prev    next >
Encoding:
Text File  |  1992-11-20  |  3.5 KB  |  69 lines

  1. Newsgroups: comp.sys.apple2
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!batcomputer!cornell!rochester!galileo.cc.rochester.edu!ee.rochester.edu!seah
  3. From: seah@ee.rochester.edu (David Seah)
  4. Subject: Re: Animation and video card design...
  5. Message-ID: <1992Nov21.095527.2983@ee.rochester.edu>
  6. Organization: Univ of Rochester, College of Engineering and Applied Science
  7. References: <1992Nov20.234350.5675@galileo.cc.rochester.edu>
  8. Date: Sat, 21 Nov 1992 09:55:27 GMT
  9. Lines: 58
  10.  
  11. In article <1992Nov20.234350.5675@galileo.cc.rochester.edu> mh001b@uhura.cc.rochester.edu (Matthew W. Hacker) writes:
  12. >   A sugestion came up a while back that a video card should
  13. >have separate memory from the GS, and that if something wanted
  14. >to access video memory directly, it could DMA to the card.
  15. >As I pondered this idea, I had a couple of questions/comments:
  16. >
  17. >1) All the GS/OS stuff should use the toolbox, so if the card
  18. >   was coprocessed, this wouldn't be bad. Right?
  19.  
  20. It sounds like a good idea.  
  21.  
  22. >2) If it shadowed the GS's video memory, then it would be backwards
  23. >   compatible with older stuff that did direct memory writing
  24.  
  25. If you wanted to provide more colors in a convenient framebuffer
  26. arrangement, the board would have to do some massaging of the shadowed
  27. data.  In 320 mode, each byte contains 2 pixels, each a nibble wide.
  28. You could have a framebuffer that was organized just like the SHR
  29. screen, with an auxiliary page that has the extra 4-bits for glorious
  30. 256 colors.  Unfortunately, you end up with something like the Apple IIgs's
  31. 80 column mode...bleah!  It might make more sense to shadow the SHR
  32. screen to an onboard duplicate and use this as a 16-color overlay channel
  33. that goes on top of the cool 256-color+ framebuffer, but you'd need to
  34. decide which color is transparent blah blah blah.  It would be like the
  35. VOC in some way, I suppose.
  36.  
  37. >3) Sounds pretty good except for one thing.  What about animation?
  38. >   Doesn't animated stuff still use direct access?  Then having
  39. >   to write to memory, and then DMA to the card is really going to
  40. >   slow things down.
  41.  
  42. >Of course the only other real option (as I see it, anyhow) is to
  43. >design a memory card that let the memory be accessed from two
  44. >sides.  This would make animation twice as fast, but with the
  45. >8 meg limit on the GS might be a bit of a trade-off.  Along
  46. >with having to put two cards in your machine.
  47.  
  48. This could be expensive if you really want it to be twice as
  49. fast.  You could design a board that could grant access to 
  50. port A or B one-at-a-time, but you end up with the old processor vs.
  51. graphics hardware war contest.  The processor would want the bus to
  52. run your animation code, but by using the bus you're denying it to
  53. animation engine.  On the other hand, if you use actual dual-ported
  54. RAM, the price per megabyte could be several times higher...lessee,
  55. I think it's about $99 for 256K or 512K of Mac VRAM.
  56.  
  57. I've always thought it would be neat to take advantage of memory
  58. reserved above the 8Meg mark.  The 65816 can address 16M with its
  59. 24-bit address bus, after all.  So, define a nice contiguous
  60. framebuffer somewhere that NO program would ever be, and hope that
  61. whoever is in charge of this area (DTS, I guess) is kind enough to
  62. let you do it officially.  From my disadvantaged perspective, I can't
  63. think of any reason why DTS would disapprove of something like this.
  64. -- 
  65. Dave Seah ^..^   | Graduate MSEE, University of Rochester, New York           |
  66.                  | Apple II Graphics & Sound Forum Consultant, America Online |
  67.  
  68. [Internet] seah@ee.rochester.edu, AFCDaveS@aol.com   [America Online] AFC DaveS
  69.