The Icon Bar: The Playpen: Question for Adrian
|
Question for Adrian |
|
monkeyson2 (15:39 30/9/2005) Phlamethrower (16:06 30/9/2005) adrianl (16:51 30/9/2005) monkeyson2 (22:24 30/9/2005)
|
|
Phil Mellor |
Message #69945, posted by monkeyson2 at 15:39, 30/9/2005 |
Please don't let them make me be a monkey butler
Posts: 12380
|
You know the trick you use in Geminus where you make the RISC OS screen memory read only, so that when a program writes to the screen you can catch the error and do something with it...
...you do?
Well, could you use a similar technique for a RISC OS VNC server? Instead of rotating the pixels and writing to the graphics card, you could compress 'em up and send them to the VNC client? |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #69946, posted by Phlamethrower at 16:06, 30/9/2005, in reply to message #69945 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
<adrian>Yes.</adrian>
Sounds like a good idea, actually |
|
[ Log in to reply ] |
|
Adrian Lees |
Message #69947, posted by adrianl at 16:51, 30/9/2005, in reply to message #69946 |
Member
Posts: 1637
|
Yes, could be done. In fact one of the mooted extensions to Geminus does something very similar, namely allowing remote screens to be attached.
Running on RO5 (and, later, A9home), you'd also need to sit between the kernel and the graphics driver so that you're aware of hardware operations such as copying and filling rectangles.
Aside: As it happens, I've been playing with intercepting and emulating reads as well as writes today because, with more and more operations being acclerated now, the number of actual screen reads is significantly reduced and the cost of updating two screens (1 - unrotated, RO RGB order, in SDRAM and 2 - possibly rotated, possibly PC RGB order, in video memory) becomes more significant.
This also has the advantage that Geminus no longer requires any memory over and above the video memory on the cards themselves. |
|
[ Log in to reply ] |
|
Phil Mellor |
Message #69956, posted by monkeyson2 at 22:24, 30/9/2005, in reply to message #69947 |
Please don't let them make me be a monkey butler
Posts: 12380
|
So, is it easier for Adrian to add this to Geminus, or for me to spend 3 years working out how to do it and then realise it would be easier to buy another monitor, keyboard and mouse?
I vote for the former You can have the idea for free, Adrian
EDIT: I dare you to implement it by sunday night
[Edited by monkeyson2 at 23:25, 30/9/2005] |
|
[ Log in to reply ] |
|
|
The Icon Bar: The Playpen: Question for Adrian |