home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 754 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.2 KB

  1. Path: news.sfu.ca!samy
  2. From: samy@news.sfu.ca (Sam Yee)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: C2P
  5. Date: 11 Jan 1996 05:35:43 GMT
  6. Organization: Simon Fraser University
  7. Message-ID: <4d27jf$gi2@morgoth.sfu.ca>
  8. References: <4cj57f$7qe@irz210.inf.tu-dresden.de> <4cjmsk$9aa@sunsystem5.informatik.tu-muenchen.de> <291.6578T1189T2189@login.eunet.no> <4cskrt$kmq@morgoth.sfu.ca> <4d16bt$48l@sunsystem5.informatik.tu-muenchen.de>
  9. NNTP-Posting-Host: fraser.sfu.ca
  10. X-Newsreader: NN version 6.5.0 #5 (NOV)
  11.  
  12.  
  13. (please e-mail to jeremym@wimsey.com)
  14.  
  15. fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer) writes:
  16.  
  17.  
  18. >|> Are you using HAM mode?  You can get excellent speed only updating the lower
  19. >|> four bitplanes and interlacing lores screens, alternating odd/even chunky
  20. >|> pixels.
  21.  
  22. >cool, have you done a demo with your idea ?
  23.  
  24. Not yet.  Have no access to an Amiga right now.  The basic idea is to use
  25. 16-bit chunky pixels in R4G4B4B4R3G3B3B3R2G2B2B2R1G1B1B1R0G0B0B0 format
  26. and do a two pass (4- and 8-bit) C2P on the lower four bitplanes.  The upper
  27. two bitplanes in HAM mode are set to display RGBBRGBB... If you use
  28. movep.w to output your chunky words, you don't need to do the 8-bit pass,
  29. if you do the 4-bit with blitter.
  30. This gives you a 16-bit 2x2/2x1 truecolour mode on all Amigas.  Also you need to
  31. setup the copper to swap screens every 1/60th or 1/50th of a second, and shift
  32. the screen display right two pixels to fill in the odd/even pixels.
  33. You can do the same with an interlaced screen, but the non-interlaced
  34. flicker version looks cleaner (tried a dpaint anim using the same framerate
  35. and it looks better than interlaced).
  36.  
  37. And if you have the luxury of an AGA machine, you can set up a hires HAM
  38. screen (640x100 or 640x200) and get a 160x100 or 160x200 display without
  39. the need to flicker screens back and forth.  
  40.  
  41. >if the cpu is quick enough, and the renderer is dirty enough to get conversion
  42. >for free ;) then you should even be able to copy a 1x1 screen in 1/2 frame! =:o
  43.  
  44. >but maybe you got to wait for PPC to get it for free ;)
  45.  
  46. >would be especially interesting for all A3000 users! (quick cpu but no AGA)
  47.  
  48.  
  49. jeremym@wimsey.com
  50. ------------------
  51. "Let he who has no sword sell his cloak and buy one." - Jesus, Luke 22:36
  52.  
  53.