English Amiga Board


Go Back   English Amiga Board > Requests > request.UAE Wishlist

 
 
Thread Tools
Old 16 October 2007, 23:52   #1
amix
Registered User
 
Join Date: Oct 2007
Location: Budapest/Hungary
Posts: 19
Send a message via ICQ to amix
Having each Amiga Pubscreen running windowed on the Windows Desktop ?

I know, that many people use UAE for gaming/demo/retro feeling. I use UAE to do some development and internet work. My favourite being GoldED, the very best text editor ever (no flames, please). And I miss it badly on Win. Same for PersonalPaint, ImageFX, fxPaint and such. I miss them!

I think, that my request is not possible, otherwise it may have happened already, but upon searching the forum I found only one thread mentioning such a feature, that was three years ago and got mostly negative comments (why would one need this, etc.). So I thought I add one of my two biggest (and only) desires to the whishlist, for completeness (and the Google searchers) and out of curiosity.

Imagine, if you could use your favourite Amiga applications being hosted within the Windows Desktop. Not a real emulation (Windows window instead of Intuition window), but a sepearate Windows window popping up for every Amiga pulbic screen, for example. One could hide the pubscreens not needed (ie: Workbench) and work in those desired.

Drag&Drop from the Windows side to these windows would not work as would not other things, but it would allow woring with applications, that open a pubscreen on the Amiga side right on the Windows desktop.
amix is offline  
Old 17 October 2007, 07:11   #2
YoJoe!
Amiga Enthusiast
 
Join Date: Oct 2007
Location: USA
Posts: 217
An intriguing idea but I don't know how to program it. And I already know what Toni is going to say.
YoJoe! is offline  
Old 17 October 2007, 14:49   #3
amix
Registered User
 
Join Date: Oct 2007
Location: Budapest/Hungary
Posts: 19
Send a message via ICQ to amix
Ssshhht! Don't influence his opinion ;-)
amix is offline  
Old 17 October 2007, 19:35   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
(perhaps this isn't what you expected)

I am interested (!) BUT I don't have enough knowledge about intuition/layers.library internals. (and no, there is not enough official documentation, don't suggest anything basic like "check RKRM"..)
Toni Wilen is offline  
Old 18 October 2007, 01:36   #5
amix
Registered User
 
Join Date: Oct 2007
Location: Budapest/Hungary
Posts: 19
Send a message via ICQ to amix
Though it may be too basic, what about those windowgrabbers, Pubscreen-openers, that one could install as a commodity ? They knew how to intercept these things. Now I am totally dumb at this high level of programming, but I could imagine, that if you intercept the stuff just like those programs, and since it is you, who defines where the painting goes (into WinUAE)...

But then, I am just a worthless twit.

Okay, enough of self-humilation for today. Going to
amix is offline  
Old 18 October 2007, 11:01   #6
smoorke
Registered User
 
smoorke's Avatar
 
Join Date: Jul 2007
Location: Ghent/Belgium
Age: 43
Posts: 247
Send a message via MSN to smoorke
Screengrabbers just copy the display memory of the window/screen you want grabbed.
To have amiga windows open in microsoft windows the programmer would need to patch intuition/layers.library(and possibly a lot of others) functions to redirect the opening of the window on your windows desktop.
That and some things are handled fundamently diffrent on amiga compared to microsoft windows(eg. menu, window resizing, ...)
smoorke is offline  
Old 18 October 2007, 13:18   #7
Methanoid
Retired Quartex Sysop
 
Methanoid's Avatar
 
Join Date: Sep 2001
Location: Roman Verulamium
Age: 58
Posts: 1,873
I wonder if you are thinking like WINE with Linux.... Click on the icon and the Amiga program loads using WinUAE to handle the emulation.

Interesting but how many Amiga apps are better than their PC counterparts when Amiga has lain dormant for so long?
Methanoid is offline  
Old 18 October 2007, 13:28   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
My first reply will magically change if you ask or reply offtopic questions
Toni Wilen is offline  
Old 18 October 2007, 16:53   #9
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,336
Quote:
Originally Posted by Toni Wilen View Post
(perhaps this isn't what you expected)

I am interested (!) BUT I don't have enough knowledge about intuition/layers.library internals. (and no, there is not enough official documentation, don't suggest anything basic like "check RKRM"..)
To do it in a neat, efficient way I guess you would need some internal knowledge. However, at least what amix suggested regarding public screens (as opposed to individual windows) might be feasible without too much trouble.

Here's how it could work. I'm mainly referring to native chipset screens, though I guess the P96 case would be similar.

For testing purposes, write a program that SetFunction()s OpenScreen, CloseScreen, ScreenToFront, ScreenToBack etc. When a screen is opened, check whether:
- its name matches "WinUAE test" (or whatever)
- screen is public
- screen is opened exclusive and non-draggable
In that case tell the emulation to do something special. When the screen is moved to the back or closed the emulation code would be told about it.

Whenever the screen is at the front, instead of WinUAE doing its normal display refresh routine, just copy the contents of the screen's BitMap to a window on the desktop. (That is, instead of rendering everything, screen and overscan borders, just render the actual screen area in a window.)

That could be extended to multiple screens. E.g. if there were three screens, only one would be active at a time. The other two (in separate windows on the desktop) could be minimised, or open but inactive. (Maybe periodically refresh them in case a program using that screen is rendering in the background.)

Mouse pointer handling would need to be patched, so the emulated Amiga pointer follows the Windows pointer. If the user moves the pointer out of one screen's window and clicks in another, the emulation would effectively call ScreenToFront() to bring the just-clicked in screen to the front.

Periodically refreshing non-frontmost screens could mostly be avoided if you patch all rendering functions in graphics.library etc. so WinUAE knows whether any rendering to those screens has occurred. (I'm guessing Picasso96 patches those functions and more? Maybe the P96 authors could help -- if they're still interested/involved with the Amiga.)


-- M
mark_k is offline  
Old 18 October 2007, 22:41   #10
amix
Registered User
 
Join Date: Oct 2007
Location: Budapest/Hungary
Posts: 19
Send a message via ICQ to amix
Quote:
Originally Posted by Methanoid View Post
I wonder if you are thinking like WINE with Linux....
No, what I meant was: Have each Screen/Pubscreen (or Pubscreen only, whatever is more easy) be displayed in a seperate WinUAE window. So each time the user changes the screen (upper right gadget in AmigaOS menubar), it opens within (or switches to) a new WinUAE window on the Windows desktop. 1 Windows window = 1 AmigaOS screen. That's all.

Quote:
Interesting but how many Amiga apps are better than their PC counterparts when Amiga has lain dormant for so long?
Oh, these come to my mind:
  • GoldED (best easy-to-use Text Editor ever (IMO), only Emacs can do more)
  • YAM
  • NewsRog
  • Dynamite!
  • AmIRC (only alternative I know of: www.klient.com, but AmIRC has much more winderful scripts available for download!)
  • ever seen an easy to use Bitmap Paint program on Windows ? I didn't. PersonalPaint (my favorite, full ARexx scripting), XiPaint (also ARexx) (There is raster-image editors, but most are focussed on image-processing (even with a photography bias) and not on painting/drawing)
  • fxPaint, ArtEffect, ImageFX (very simple to use image-processors. Yes, I know, there is Photoshop and Gimp, but are they as easy ? Do they run my Arexx macros, oh, and at what price (at least Photoshop) ?)
  • SoundFX
Just compare the text-editor situation on Windows, KDE, Gnome (not talking Vim and Emacs here) and AmigaOS. Most editor programmers are fond of syntax-highlighting and folding. That's the reality! I registered Zeus for Windows, which is pretty powerful, but it can't match GoldED still.

Don't misunderstand me! There is a lot of software on Windows, that is brilliant or cool (Multimedia stuff, Photoshop, Office, OpenOffice, Web-Browsers, InstantMessaging, Telephony, IDE, etc.) But some things are simply missing, underpowered or just too professional for someone like me.
amix is offline  
Old 18 October 2007, 22:48   #11
amix
Registered User
 
Join Date: Oct 2007
Location: Budapest/Hungary
Posts: 19
Send a message via ICQ to amix
Quote:
Originally Posted by smoorke View Post
Screengrabbers just copy the display memory of the window/screen you want grabbed.
And wouldn't this be what is needed ? Copy the memory ?

Quote:
That and some things are handled fundamently diffrent on amiga compared to microsoft windows(eg. menu, window resizing, ...)
But this would already mean, that WinUAE emulates behavior. I did not have this in mind. What I meant was simply (?) grabbing the whole screen and let it stay an Amiga screen. No emulation of menus, window resizing. All would stay as is with WinUAE now, with the only dfference, that WinUAE redirects any screen opening to another window. If you open a menu on AmigaOS it would just happen as it is now. The only (?) difference would be the opening of any Amiga screen as a seperate WinUAE-window.

But as I understand, this is the problem, since it would mean, that the screen-opening within the same window of WinUAE would need to be supressed. And that seems to require patching AmigaOS.
amix is offline  
Old 19 October 2007, 13:58   #12
smoorke
Registered User
 
smoorke's Avatar
 
Join Date: Jul 2007
Location: Ghent/Belgium
Age: 43
Posts: 247
Send a message via MSN to smoorke
If you want it like that you can just run multiple instances of winuae in windowed mode.
But this setup would provide some limits though.
smoorke is offline  
Old 19 October 2007, 14:10   #13
amix
Registered User
 
Join Date: Oct 2007
Location: Budapest/Hungary
Posts: 19
Send a message via ICQ to amix
Better an uhgly hack in the program than an uhgly hack on my desktop

No, serious, I would not want that. Imagine, several instances accessing the same filesystem, CPU load etc. (I did not even know one could run more than one WinUAE instance at the same time).
amix is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
External windows program communicating with program running inside WinUAE xxxxx support.WinUAE 10 19 February 2013 09:27
Disable Windows shortcuts while running WinUAE on Vista thomas request.UAE Wishlist 11 24 July 2008 10:49
Screen stays black in windowed mode with 32-bit desktop h121 support.WinUAE 4 24 August 2005 08:36
Windows desktop as a public screen? Chipmunk_UK_1 request.UAE Wishlist 8 06 July 2004 15:19
Sound running slow only in windowed mode andreas support.WinUAE 0 15 June 2002 01:42

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:57.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.26203 seconds with 13 queries