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