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

  1. Path: ifi.uio.no!usenet
  2. From: ludvigp@ifi.uio.no (Ludvig Pedersen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: doubling pixels horizontally
  5. Date: 29 Feb 1996 18:04:57 GMT
  6. Organization: Dept. of Informatics, University of Oslo, Norway
  7. Message-ID: <2755.6633T671T2174@ifi.uio.no>
  8. References: <3764.6622T781T478@ifi.uio.no> <2788.6631T140T744@vip.cybercity.dk>
  9. NNTP-Posting-Host: gymir.ifi.uio.no
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12. >>>Yeah... I'm also trying to make everything as systemfriendly as posible.
  13. >>>I have tryed out system copperlists and I will make intuition screen
  14. >>>version of the blitterscreen (this will ofcause only work on AGA screens).
  15. >> How are you going to handle 64 pixels width sprites?
  16. >Hmm.. I have not looked in to this yet, but I hope the systems sprite support
  17. >will this. Correct me if I'm wrong. If that's so I can only say: "Why have
  18. >those sprites if you can't use then with the system". Hardware banging
  19. >pehaps. That didn't seam to be a Commodore habbit.
  20. They must have forgot it then! :-)
  21.  
  22. >> What about double pixel height?
  23. >I think there is a monitor mode for that. Take a look at the graphics tool
  24. >"Brilliance". There is a PAL: 320 x 128 in the screen req. And it would seem
  25. >resonable, because it is posible to make blp1mod the modulus for all bit
  26. >planes on even H. lines and bpl2mod for odd H. lines.
  27. Sure, thats because you have OS3.1!
  28.  
  29. Here is piece from include:graphics/modeid.h:
  30.  
  31. /* Added for V40 - may be useful modes for some games or animations. */
  32. #define LORESSDBL_KEY         0x00000008
  33. #define LORESHAMSDBL_KEY      0x00000808
  34. #define LORESEHBSDBL_KEY      0x00000088
  35. #define HIRESHAMSDBL_KEY      0x00008808
  36.  
  37. Won't work on OS3.0! :(
  38.  
  39. >> What about multisync?
  40. >You could have User copperlist doing it for you here.
  41. Yes.
  42.  
  43. >> Intuition screens are often promoted to another screenmodes.
  44. >> Have you thought about that the modulo registers work different in
  45. >> scandoubling modes like DBLPAL, DBLNTSC?
  46. >hmm... those DBL... modes I believe use the same modulus setup as the PAL:
  47. >320x128, but at a higher scan rate. Meaning bpl2mod is the only mod. reg. you
  48. >have change in your usercopperlist.
  49. Wrong.
  50.  
  51. >The bitplane scrooling part in blitterscreen can be done by using a dual
  52. >playfield screen and use VideoControl to turn off the actual dualing. This
  53. >gives you a way of scrooling even and odd bitplanes independently.
  54. Yes. That might work! :)
  55.  
  56. >> There is a lot of things to think about! :(
  57. >There sure is and maybee the best way would be to figur out a fast pixel
  58. >doubler.
  59. Then you lose framrate, but you will not loose CPU time.
  60.  
  61. >> But it is possible more or less system-friendly. I'm finished a version
  62. >> without sprite dithering a copple of days ago.
  63. >Is it fast?
  64. Maximum framerate of 25 fps. We just added a another blitterpass.
  65. The good thing is that the CPU part (2 passes) dont use more time. :)
  66.  
  67. So if you render something complex it doesnt matter.
  68.  
  69. We can also use modulo in the blitterpasses, so don't need to convert the hole
  70. screen if you don't want to! :) I guess interleaved should work as well.
  71. (not tested yet)
  72.  
  73.  
  74.  
  75. <sb>Ludde - Amiga Demo Coder
  76. <sb>Virtual Reality & Official Be developer
  77. <sb>ludvigp@ifi.uio.no
  78.  
  79.