[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Palette setting?



> > somebody could send me code for generic Atari color palette setting?  It
> > should work (preferably) on all Ataris and without GEM running (ie.  VDI
> > not initialized).
> Actually, the VDI is initialized very early (before the Fuji-logo is
> drawn), so it's perfectly safe to use it from the auto-folder.

I had the impression that it's only partially initialized and that AES
initializes rest of it.  Can you use virtual workstations from auto/?

(currently W reads screen properties from Line-A /variables/ and
then just writes to the logical screen)


> It
> would make sense to use VDI in W as well, as that means it would work
> on all machines/graphicscards, and with hardware-acceleration etc. for
> those that have such things.

As W has quite W specific drawing things, then it would IMHO make more
sense to emulate a Wlib, ie. with the client library call VDI functions
instead of the W server.  That way W applications could work in a GEM
window.  Would anybody be interested in that project?  I've already
done this for X so a GEM port shouldn't be that large a job...

Using VDI in W server is out of the question as /standard/ VDI doesn't
support (even) off-screen bitmaps.  On other windowing systems this
wouldn't be such an issue, but as W backups window contents (can't be
changed anymore) instead of sending redraw messages, off-screen bitmaps
are a must.


	- Eero