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

Re: [MiNT] FVDI/XBIOS (was Re: XaAES sources for FreeMiNT 1.16.3)



Mark Duckworth skreiv:

I was wondering this too for the obvious application vnc server. You could take it one step further and create a network vdi that can do remote display ;) I've been thinking about all of this but I'm so busy

A network VDI would work - as long as the apps doesn't access the screen directly.

However, I think that a decent VNC server can be implemented with some additional support from the VDI (or by playing dirty and hook into the VDI trap). If you can monitor all drawing functions and clip the coordinates with the clip rectangle, you will easily be able to work out which parts of the screen you need to copy and send to the VNC viewer. You won't have to know the screen address at all - see below. But again - if some apps writes directly to the screen you will not detect this easily.

with work (which is not really what I expected for this winter). How do screen capture apps work?

I would assume they use vro_cpyfm() to copy the whole or parts of the screen to a memory block. If you don't specify a source address the screen will be used as source, so you don't have to know the screen address at all.

Jo Even