home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!rutgers!cbmvax!chrisg
- From: chrisg@cbmvax.commodore.com (Chris Green)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: New hardware reference guide?
- Message-ID: <37162@cbmvax.commodore.com>
- Date: 20 Nov 92 13:56:15 GMT
- References: <1992Nov12.215020.20036@ultb.isc.rit.edu> <1992Nov16.134153.6356@ifi.uio.no> <37091@cbmvax.commodore.com> <1992Nov18.161755.8884@mnemosyne.cs.du.edu>
- Reply-To: chrisg@cbmvax.commodore.com (Chris Green)
- Organization: Commodore, West Chester, PA
- Lines: 32
-
- In article <1992Nov18.161755.8884@mnemosyne.cs.du.edu> eeklund@nyx.cs.du.edu (Eivind Eklund) writes:
- >In article <37091@cbmvax.commodore.com> chrisg@cbmvax.commodore.com (Chris Green) writes:
- >> So your problem was rendering speed. Use OwnBlitter and bang the blitter
- >>yourself (or simply use the CPU to render your polygon. 32 bit chip ram
- >>on 1200's and 4000's will help here). Problem solved. Open an NTSC/PAL
- >
- >Is this OwnBlitter/DisOwnBlitter solution guaranteed to keep working? In
- >that case approx 1/2 my problem is solved... But I would think this would
- >end up stopping DIG/RTG?
-
- The OwnBlitter/DisownBlitter solution will work in any future amiga system
- that has (a) planar bitmaps stored in blitter-accessible ram and (b) A
- blitter that has an ECS compatible mode in it. This is likely to be
- true for many more generations of Amiga.
- Yes, using the blitter directly on display memory is not RTG/DIG compatible.
- A simple work-around is to allocate a separate normal planar bitmap
- do the OwnBlitter stuff on that bitmap, and then BltBitMap it to the bitmap
- of the RTG device. You can check if this is necessary by querying the display
- database for the DIPF_IS_FOREIGN bit flag for the screen you want to blit
- to:
-
- #define DIPF_IS_FOREIGN 0x80000000 /* this mode is not native to the Amiga */
-
- And mind your BytesPerRow when rendering!
- --
- *-------------------------------------------*---------------------------*
- |Chris Green - Graphics Software Engineer - chrisg@commodore.COM f
- | Commodore-Amiga - uunet!cbmvax!chrisg n
- |My opinions are my own, and do not - icantforgettheimpression o
- |necessarily represent those of my employer.- youmadeyouleftaholeinthe r
- |"A screaming comes across the sky..." - backofmyhead d
- *-------------------------------------------*---------------------------*
-