log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Drag'n'Drop 11i4 summer edition reviewed (News:)
- Rougol August meeting is an in person party (News:)
- RISCOSbits announces their RISC OS rewards scheme (News:)
- New Venue for the London 2022 Show (News:1)
- WROCC August Meeting Report - AMCOG games (News:)
- WROCC August Meeting - Tony Bartram and AMCOG games (News:)
- July 2022 News Summary (News:2)
- WROCC Newsletters Volume 40:1 (News:)
- Rougol July talk - Desktop... Engine, Paolo Fabio Zaino (News:)
- Paolo Fabio Zaino is talking at Rougol on Monday (News:)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
Site Search
 
Article archives
The Icon Bar: The Playpen: Geminus
 
  Geminus
  This is a long thread. Click here to view the threaded list.
 
JMB Message #58898, posted by jmb at 10:29, 26/10/2004, in reply to message #58895
Member
Posts: 467
Now supports upside-down screen modes too. Guess who's in a silly mood? :P

But does it rotate the mouse pointer yet?


/me hands you a SYS"XOS_SpriteOp",36,256,mypointer%,1,0,0,0,0
There, done. Where's the problem? :P

This doesn't work too fantastically if apps start changing the pointer shape. Sit on SpriteV and intercept the call, I say ;)
  ^[ Log in to reply ]
 
Tony Haines Message #58904, posted by Loris at 15:34, 26/10/2004, in reply to message #58885
madbanHa ha, me mine, mwahahahaha
Posts: 1025
Now supports upside-down screen modes too. Guess who's in a silly mood? :P
Stop pissing around and get them giraffes in!

If one can have different displays on the monitors (games etc) then presumably you can have different resolutions/colours?
And the monitors have independent screens, ie separate frame-buffers?

I remember seeing an arcade game once which had 3 screens. Very cool.
  ^[ Log in to reply ]
 
Phil Mellor Message #58905, posted by monkeyson2 at 15:54, 26/10/2004, in reply to message #58904
monkeyson2Please don't let them make me be a monkey butler

Posts: 12380
Somebody has to update Elite* so that you can see out of a different window with each monitor. :)




* or Dark Matter... ;)
  ^[ Log in to reply ]
 
Jeffrey Lee Message #58906, posted by Phlamethrower at 16:11, 26/10/2004, in reply to message #58905
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15097
* or Dark Matter... ;)
You can already have multiple camera views on the same screen. No doubt as soon as the Geminus API is made public, you'll be able to stick those views on the other monitors too ;)

Hmm, how would VSync events work? Would all monitors have to be at the same frequency, or is some kind of callback system used so that when a monitor VSyncs the program using that monitor will be notified, allowing multiple programs to wait at once?
  ^[ Log in to reply ]
 
Adrian Lees Message #58907, posted by adrianl at 18:01, 26/10/2004, in reply to message #58906
Member
Posts: 1631
No doubt as soon as the Geminus API is made public, you'll be able to stick those views on the other monitors too ;)
"Me test, me test!" :E

Hmm, how would VSync events work?
Well, here's your chance to influence the design because I haven't finalised that yet.... ;)

I had in mind to leave the existing event-based API driven by just the primary monitor, and provide a couple of SWIs in the Geminus module to register a handler for screen x that will be called whenever a VSync arrives from that screen.

Remember that, although the screens will normally be running at the same frequency, they are still asynchronous (there's no genlocking between
cards).
  ^[ Log in to reply ]
 
Tony Haines Message #58908, posted by Loris at 18:08, 26/10/2004, in reply to message #58907
madbanHa ha, me mine, mwahahahaha
Posts: 1025
Remember that, although the screens will normally be running at the same frequency, they are still asynchronous (there's no genlocking between
cards).
So they do all have to have the same frequency?
Or could you try to synchronise them by changing between modes with different frame-rates? :)
  ^[ Log in to reply ]
 
Jeffrey Lee Message #58909, posted by Phlamethrower at 18:31, 26/10/2004, in reply to message #58907
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15097
No doubt as soon as the Geminus API is made public, you'll be able to stick those views on the other monitors too ;)
"Me test, me test!" :E
Why yes, having an Iyonix to test it on could be useful ;)

Hmm, how would VSync events work?
Well, here's your chance to influence the design because I haven't finalised that yet.... ;)

I had in mind to leave the existing event-based API driven by just the primary monitor, and provide a couple of SWIs in the Geminus module to register a handler for screen x that will be called whenever a VSync arrives from that screen.
That sounds like the most sensible idea. For example, all that the Dark Matter VSync handler would need to do is swap the two screen banks over (Providing the new one has valid data in it), and flag the old one as being ready for redrawing by the main thread.

Remember that, although the screens will normally be running at the same frequency, they are still asynchronous (there's no genlocking between cards).
What? You haven't worked out a way to do a software genlock yet? For shame! :P
  ^[ Log in to reply ]
 
Adrian Lees Message #58910, posted by adrianl at 19:01, 26/10/2004, in reply to message #58908
Member
Posts: 1631
So they do all have to have the same frequency?

No, they don't have to, but they usually will, because most users will have the same monitor and MDF for each card.

Or could you try to synchronise them by changing between modes with different frame-rates? :)

:)
  ^[ Log in to reply ]
 
Adrian Lees Message #58911, posted by adrianl at 19:06, 26/10/2004, in reply to message #58909
Member
Posts: 1631
What? You haven't worked out a way to do a software genlock yet? For shame! :P
In my naive youth (as opposed to my naive adulthood) I tried to genlock two Electrons into one monitor (combining the RGB outputs) by running the clock signal from one Electron across to t'other so that their ULAs would be in sync.

Didn't work very well, the pictures never quite lined-up :)

What I can't remember for the life of me, is why the hell I wanted to do that in the first place?!
  ^[ Log in to reply ]
 
Jeffrey Lee Message #58912, posted by Phlamethrower at 19:29, 26/10/2004, in reply to message #58911
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15097
What I can't remember for the life of me, is why the hell I wanted to do that in the first place?!
Redefine the palette to get more colours between the two machines? Or just extra oomph for drawing graphics :)
  ^[ Log in to reply ]
 
Adrian Lees Message #58913, posted by adrianl at 19:38, 26/10/2004, in reply to message #58912
Member
Posts: 1631
What I can't remember for the life of me, is why the hell I wanted to do that in the first place?!


Redefine the palette to get more colours between the two machines? Or just extra oomph for drawing graphics :)

Oh, that was it. I was going to rival Silicon Graphics by bolting 2000 Electrons together and getting them all to render Mode 0 graphics in parallel! ;)

(Hey, with 32 Electrons, you could have 32bpp x 640 x 256, that's almost good enough to render DVD fields.... :E )
  ^[ Log in to reply ]
 
Jeffrey Lee Message #58914, posted by Phlamethrower at 19:42, 26/10/2004, in reply to message #58913
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15097
(Hey, with 32 Electrons, you could have 32bpp x 640 x 256, that's almost good enough to render DVD fields.... :E )
And if you were to add multi monitor support... :P
  ^[ Log in to reply ]
 
Adrian Lees Message #58916, posted by adrianl at 19:52, 26/10/2004, in reply to message #58914
Member
Posts: 1631
(Hey, with 32 Electrons, you could have 32bpp x 640 x 256, that's almost good enough to render DVD fields.... :E )


And if you were to add multi monitor support... :P

Oh, I couldn't do that. That's what I'm supposed to be working on! ;)
  ^[ Log in to reply ]
 
John D Message #58999, posted by john at 00:48, 29/10/2004, in reply to message #58898
Member
Posts: 261
http://homepage.ntlworld.com/thouky/software/crazypointer/download.html
  ^[ Log in to reply ]
 
Andrew Message #59000, posted by andrew at 00:54, 29/10/2004, in reply to message #58905
HandbagHandbag Boi
Posts: 3439
Somebody has to update Elite* so that you can see out of a different window with each monitor. :)
Exile dissambled and made multiplayer :)
  ^[ Log in to reply ]
 
Adrian Lees Message #59005, posted by adrianl at 01:38, 29/10/2004, in reply to message #58999
Member
Posts: 1631
http://homepage.ntlworld.com/thouky/software/crazypointer/download.html

LOL! Love it! :)
  ^[ Log in to reply ]
 
John D Message #59024, posted by john at 13:21, 29/10/2004, in reply to message #59005
Member
Posts: 261
It's great but the only problem is it doesn't quite do all pointers, so the hand and finger in oregano are strange :) It kind of ruins the effect!
  ^[ Log in to reply ]
 
Adrian Lees Message #59279, posted by adrianl at 11:34, 3/11/2004, in reply to message #58895
Member
Posts: 1631
Now supports upside-down screen modes too. Guess who's in a silly mood? :P


But does it rotate the mouse pointer yet?

Yes, does now. 90, 180 or 270 degrees, take your pick :)

I have one screen in portrait, and one landscape, both software-rotated 90 degrees anti-clockwise, so that dragging a window off the right edge of the 2nd screen makes it appear at the bottom of the 1st screen! I think I need to a break.....

Edit: Yup, if you can't write a sentence, what's the code gonna be like? :o

[Edited by adrianl at 11:36, 3/11/2004]
  ^[ Log in to reply ]
 
Andrew Poole Message #59287, posted by andypoole at 17:14, 3/11/2004, in reply to message #59279
andypoole
Mouse enthusiast
Web
Twitter

Posts: 5558
Now supports upside-down screen modes too. Guess who's in a silly mood? :P


But does it rotate the mouse pointer yet?

Yes, does now. 90, 180 or 270 degrees, take your pick :)

I have one screen in portrait, and one landscape, both software-rotated 90 degrees anti-clockwise, so that dragging a window off the right edge of the 2nd screen makes it appear at the bottom of the 1st screen! I think I need to a break.....

Edit: Yup, if you can't write a sentence, what's the code gonna be like? :o

So can you have one screen portrait, one landscape and still have it all the right way up yet?
  ^[ Log in to reply ]
 
Adrian Lees Message #59288, posted by adrianl at 20:43, 3/11/2004, in reply to message #59287
Member
Posts: 1631
So can you have one screen portrait, one landscape and still have it all the right way up yet?
Yup :E
  ^[ Log in to reply ]
 
Andrew Poole Message #59291, posted by andypoole at 20:56, 3/11/2004, in reply to message #59288
andypoole
Mouse enthusiast
Web
Twitter

Posts: 5558
So can you have one screen portrait, one landscape and still have it all the right way up yet?
Yup :E
How about different resolutions on each screen?
  ^[ Log in to reply ]
 
Adrian Lees Message #59293, posted by adrianl at 21:04, 3/11/2004, in reply to message #59291
Member
Posts: 1631
So can you have one screen portrait, one landscape and still have it all the right way up yet?

Yup :E


How about different resolutions on each screen?

They are. For you to see the whole of your desktop (which must be rectangular) you need all the heights to be the same (if they're side-by-side) - not that Geminus cares if you want to lose your windows :) - so...

I just created a mode with 1280 x 1024 landscape & 768 x 1024 portrait side-by-side.... ie. left screen unrotated, right screen rotated 270 degrees. Pointer rotated on the latter, unrotated on the former, so it's always the right way up.

The result: 2048 (1280 + 768 ) x 1024

Pointless? Well, if they're different monitor types, eg. your dusty old AKF60 that you've dragged out of retirement, then you'll probably want to run it at a different resolution to your LCD.

[Edited by adrianl at 21:04, 3/11/2004]
  ^[ Log in to reply ]
 
Andrew Poole Message #59307, posted by andypoole at 08:43, 4/11/2004, in reply to message #59293
andypoole
Mouse enthusiast
Web
Twitter

Posts: 5558
So can you have one screen portrait, one landscape and still have it all the right way up yet?

Yup :E


How about different resolutions on each screen?

They are. For you to see the whole of your desktop (which must be rectangular) you need all the heights to be the same (if they're side-by-side) - not that Geminus cares if you want to lose your windows :) - so...

I just created a mode with 1280 x 1024 landscape & 768 x 1024 portrait side-by-side.... ie. left screen unrotated, right screen rotated 270 degrees. Pointer rotated on the latter, unrotated on the former, so it's always the right way up.

The result: 2048 (1280 + 768 ) x 1024

Pointless? Well, if they're different monitor types, eg. your dusty old AKF60 that you've dragged out of retirement, then you'll probably want to run it at a different resolution to your LCD.

[Edited by adrianl at 21:04, 3/11/2004]
I meant having two monitors, both the same way up, at different resolutions, not neccesarily same height/width :P
  ^[ Log in to reply ]
 
Adrian Lees Message #59309, posted by adrianl at 08:53, 4/11/2004, in reply to message #59307
Member
Posts: 1631
?!

OK, I've just created a mode that's 2304 x 1024 with no rotations.
The left 1280 x 1024 is on the first LCD
The rightmost 1024 x 768 is on the 2nd.

Leaving... a rectangle of 1024 x 256 above the right screen that you can't see, so if you put windows up there you won't be able to find em again.

Does that qualify as sufficiently stupid?

Sheesh, what more do you want?! :P
  ^[ Log in to reply ]
 
JMB Message #59311, posted by jmb at 09:49, 4/11/2004, in reply to message #59309
Member
Posts: 467
Sheesh, what more do you want?! :P
A free copy, I expect :P or blood
  ^[ Log in to reply ]
 
Andrew Poole Message #59321, posted by andypoole at 13:21, 4/11/2004, in reply to message #59309
andypoole
Mouse enthusiast
Web
Twitter

Posts: 5558
?!

OK, I've just created a mode that's 2304 x 1024 with no rotations.
The left 1280 x 1024 is on the first LCD
The rightmost 1024 x 768 is on the 2nd.

Leaving... a rectangle of 1024 x 256 above the right screen that you can't see, so if you put windows up there you won't be able to find em again.

Does that qualify as sufficiently stupid?

Sheesh, what more do you want?! :P
But if I were to do this on other operating systems (such as my windows setup <fx: spit>;), I wouldn't be able to put windows into the void that can't be seen...

acp.
  ^[ Log in to reply ]
 
Adrian Lees Message #59332, posted by adrianl at 14:15, 4/11/2004, in reply to message #59321
Member
Posts: 1631
The first release will probably reject modes with holes (or at least issue a warning) , and maybe I'll incorporate them in a later version. We've already been asked to restrict the iconbar to a single screen, and this too will require more work with the Kernel/WindowManager. Geminus is just a fancy screen driver at the moment.
  ^[ Log in to reply ]
 
Jeffrey Lee Message #59333, posted by Phlamethrower at 14:18, 4/11/2004, in reply to message #59332
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15097
Aw, c'mon! :P

[Edited by Phlamethrower at 14:44, 4/11/2004]
  ^[ Log in to reply ]
 
John D Message #59344, posted by john at 15:13, 4/11/2004, in reply to message #59332
Member
Posts: 261
Out of interest, are you actually doing this in conjunction with castle/whoever or are you just sort of patching (or planning to) the windowmanager etc?
  ^[ Log in to reply ]
 
Ian Cook Message #59368, posted by ilcook at 18:16, 4/11/2004, in reply to message #59311
trainResident idiot
Posts: 1073
Sheesh, what more do you want?! :P
A free copy, I expect :P or blood
Or even both :P
  ^[ Log in to reply ]
 
Pages (3): |< < 2 > >|

The Icon Bar: The Playpen: Geminus