From mint-bounce@lists.fishpool.fi  Sun Dec 20 10:09:27 2009
X-ME-UUID: 20091220150626301.497B68000057@mwinf2a19.orange.fr
Date: Sun, 20 Dec 2009 16:06:25 +0100
From: Patrice Mandin <mandin.patrice@orange.fr>
To: "Helmut Karlowski" <helmut.karlowski@ish.de>
Cc: "mint@lists.fishpool.fi" <mint@lists.fishpool.fi>
Subject: [MiNT] Opening VDI workstation (was Re: Missing clobbered register in
 gemlib)
Message-Id: <20091220160625.3b4f135f.mandin.patrice@orange.fr>
In-Reply-To: <op.u48o9dhjofd6j1@descaro.cpe.ish>
References: <20091210202514.b9397305.mandin.patrice@orange.fr>
	<op.u45es6sjofd6j1@descaro.cpe.ish>
	<4B2BF08D.4070101@freesbee.fr>
	<4B2BC2C9.307.15F63FE@rfburrows.ymail.com>
	<4B2C16A9.4010104@chello.nl>
	<4B2C838A.6020605@freesbee.fr>
	<fbbaf0fb0912192131r2929aa5eh14ae033b9e0edc6e@mail.gmail.com>
	<op.u48dplipofd6j1@descaro.cpe.ish>
	<4B2E0D3F.3080708@freesbee.fr>
	<op.u48kbbjmofd6j1@descaro.cpe.ish>
	<op.u48o9dhjofd6j1@descaro.cpe.ish>
Organization: Chez moi
X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.12; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: mandin.patrice@orange.fr
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id nBKF9R1E007558

Le Sun, 20 Dec 2009 15:01:51 +0100
"Helmut Karlowski" <helmut.karlowski@ish.de> a écrit:

>    work_in[6] = work_in[2] = work_in[4] = work_in[6] = work_in[7] = 1;
>    work_in[10] = 2;  /* use rc-coordinates !?!*/
>    work_in[0] = 1;  /* act. screen */
> 
>    v_opnwk( work_in, &vdi_handle, work_out );

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;

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.

-- 
Patrice Mandin
WWW: http://pmandin.atari.org/
Programmeur Linux, Atari
Spécialité: Développement, jeux


