[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] Opening VDI workstation (was Re: Missing clobbered register in gemlib)
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