home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!rutgers!cbmvax!chrisg
- From: chrisg@cbmvax.commodore.com (Chris Green)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Bug in ECS?
- Message-ID: <34712@cbmvax.commodore.com>
- Date: 28 Aug 92 12:01:28 GMT
- References: <1992Aug27.143509.7372@ifi.unizh.ch>
- Reply-To: chrisg@cbmvax.commodore.com (Chris Green)
- Organization: Commodore, West Chester, PA
- Lines: 45
-
- In article <1992Aug27.143509.7372@ifi.unizh.ch> swalter@avalon.physik.unizh.ch (walter stefan) writes:
- >I'm currently writing a tool which disables the Workbench screen.
- >However, for some reasons it will need to switch it on again at
- >the end. It does this by enabling copper DMA again and by directly
- >writing the neccessary values for a lores 5 plane 320x256 display
- >in the corresponding registers (bplcon0 etc.). Now I've noticed
- >that this causes more or less big problems for Amigas with ECS.
- >
- >What happens is that although the Workbench screen is back, a red
- >bitplane containing garbage is laid over it and stays there for upto
- >2 seconds. After that it fades away in stripes, leaving the screen
- >as it should be.
- >
- >Now, does anyone know why this happens or had the same problem earlier
- >and has found a solution? I'd be really glad for any hint. Thanks.
- >
-
- Waht do you mean disable the workbench screen?
-
- If you mean that you just want to blank it open another screen in front,
- or do OFF_DISPLAY.
-
- If you want to load your own custom View and restore the intuition one
- at the end, LoadView(&(IntuitionBase->ViewLord)) at the end.
-
- If you want to take over the copper, etc:
-
- LoadView(NULL); /* reset any dangerous registers */
- WaitTOF(); WaitTOF(); /* make sure they are really reset */
- take over.
- .
- .
- custom.cop1lc=GfxBase->copinit; /* restart graphics copper list */
- LoadView(&(IntuitionBase->ViewLord); /* and get intuition's view back */
-
-
-
- --
- *-------------------------------------------*---------------------------*
- |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
- *-------------------------------------------*---------------------------*
-