[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Palette setting?
On Thu, 4 Jun 1998, Jo Even Skarstein wrote:
> On Thu, 4 Jun 1998, Julian Reschke-FJR010 wrote:
>
> > > I had the impression that it's only partially initialized and that AES
> > > initializes rest of it. Can you use virtual workstations from auto/?
> >
> > No. You have to open the *physical* workstation. Just do what the AES
> > does.
>
> I think you *can* use virtual workstations before the AES is initialized.
> I have never tried it, but I can't see any reasons why not. The physical
> workstation must be opened first, but this is perhaps already done (after
> all, TOS use VDI to draw the Fuji-logo and the text).
Which TOS? I had a look at this some years ago and TOS writes directly
into the screen buffer, when drawing the Fuji-logo. Maybe this changed
with TOS >= 4, but I doubt it.
As I remember the specs, it's not possible to open an virtual workstation.
Well, it is, but you should not be able to use it.
> Normally you open virtual workstations with the handle retrieved from
> graf_handle(), but all graf_handle() does is to return the handle to the
> physical workstation the AES use. Currently this is always the screen.
AES is not initialized, when a program runs in auto ordner, so graf_handle
would return a random value and without luck, it would crash the VDI.
What you described is what you have to do, if a program already owns a
physical workstation.
jps