From mint-bounce@lists.fishpool.fi Fri Jan 1 05:42:11 2010 Message-ID: <4B3DD0A8.6080408@lutece.net> Date: Fri, 01 Jan 2010 11:38:32 +0100 From: OL User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: mint Subject: Re: [MiNT] Opening VDI workstation (was Re: Missing clobbered register in gemlib) References: <20091210202514.b9397305.mandin.patrice@orange.fr> <4B2C838A.6020605@freesbee.fr> <4B2E0D3F.3080708@freesbee.fr> <20091220160625.3b4f135f.mandin.patrice@orange.fr> <4B2EA716.7010407@free.fr> <11a6f2b10912310958q4f95d314m4fc72e2aa9765538@mail.gmail.com> In-Reply-To: <11a6f2b10912310958q4f95d314m4fc72e2aa9765538@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: o.l@lutece.net Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o01Ag5F5003331 Paul Wratt a écrit : > On Mon, Dec 21, 2009 at 9:37 AM, olivier wrote: > >> Helmut Karlowski a écrit : >> >>> Am 20.12.2009, 16:06 Uhr, schrieb Patrice Mandin >>> : >>> >>> >>>> According to documentation (Compendium for me), the work_in array must >>>> be initialized like this: >>>> >>>> work_in[0]=Getrez()+2; >>>> for(i = 1; i < 10; i++) >>>> work_in[i] = 1; >>>> work_in[10] = 2; >>>> >>> Yes - my initialization is sloppy, but it should not lead to a bus-error. >>> I'll try with the correct one. >>> >>> >>>> Also, the fact you open the physical workstation (instead of the >>>> virtual one, with v_openvwk), could be the cause of your problem, if >>>> the TOS as already opened it. >>>> >>> Someone has to open a physical workstation. >>> >> Hello >> >> Yes AES need to do this >> >> To open workstation you should do something like this: >> >> unsigned long ctrl1 = 0, ctrl0 = 0; >> if(Getrez()==0) >> work_in[0] = 1; /* default value*/ >> else >> { >> work_in[0] = Getrez()+2; >> if(Getrez()>=3 && get_cookie(COOKIE__MIL) && >> get_cookie(COOKIE__VDI)) work_in[0] = 7; /* Pb with Milan VDI! */ >> work_out[45] = my_aes_inside.vsetmode; /* very strange >> but it work like this for extend resolutions !*/ >> } >> ctrl0 = Ssystem(/*S_CTRLCACHE*/23, 0L, -1L); >> ctrl1 = Ssystem(/*S_CTRLCACHE*/23, -1L, 0L); >> Ssystem(/*S_CTRLCACHE*/23, sc & ~3, cm); >> v_opnwk(&work_in[0], &my_aes_inside.phys_handle, &work_out[0]); >> Ssystem(/*S_CTRLCACHE*/23, ctrl1, ctrl0); >> >> OL >> >> > > And this works with CT6x, NVDI + others (Milan etc) > > Paul > BTW have you got a WindFrame skeleton available for MyAES yet? > > > > Sorry not at this time, I have a lot of work on my house, but I have find my old computer. i have too some work to do soon for MyAES, sorry it's a little bit difficult to work now. Happy new year to all. Olivier