Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bloom-beacon!eru!hagbard!sunic!cs.umu.se!dvljrt From: dvljrt@cs.umu.se (Joakim Rosqvist) Newsgroups: comp.sys.amiga.hardware Subject: Re: HELP! (please!) on OS... Message-ID: <1991May26.104624.11265@cs.umu.se> Date: 26 May 91 10:46:24 GMT References: <1991May24.212123.11386@lynx.CS.ORST.EDU> Sender: news@cs.umu.se (News Administrator) Organization: Dep. of Info.Proc, Umea Univ., Sweden Lines: 23 In article <1991May24.212123.11386@lynx.CS.ORST.EDU> rudolpe@urubu.CS.ORST.EDU (RUDOLPh ERIC) writes: >HELP! I'm trying to do a little program in assembly that sets up a viewport and >displays it. However, I can't seem to restore the original Workbench display. >I know this: >I must call LoadView() while passing a pointer to the View Structure in a1. >However, I can't seem to find the original View Structure. My manual says to >find it in the offset ActiView in the GfxBase structure. My book says the >offset is 2. I don't believe it. It looks wrong, the the program immediately >Gurus, with no Guru number, because the display is frozen. > >Anyone who could shed some light on this would have my infinite gratitude, and >many profuse thanks! > There is a pointer to the original copperlist at displacement 38 in the GfxBase structure. /$DR.HEX$ -------------------------------------------- Email to: dvljrt@cs.umu.se 2 Windows on the screen? Oh no, not me. I just Logout & Go.