Welcome, Guest. Please login or register.

Author Topic: How can I make a public screen?  (Read 3245 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Ral-ClanTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 1979
  • Country: ca
    • Show only replies by Ral-Clan
    • http://www3.sympatico.ca/clarke-santin/
How can I make a public screen?
« on: November 23, 2010, 03:30:14 AM »
Is there any way for the average end-user (i.e. non programmer type) to have AmigaOS create a "blank" public screen in a specified screenmode that is available to Workbench?

I'm trying to do a work-around.  I have an application that for some reason won't allow me to choose the screenmode of 1920x1080, even though this screenmode is available to Workbench and many other apps.  Normally this app can "see" all available screenmodes, but not this time for some quirky reason.

However, this app will open on the Workbench screen in 1920x1080 just fine.  But I don't want it to open on Workbench.  I want it on its own screen.

Since this app also gives me the option to open on any available public screen, I was thinking that if there was some way for me to create a vacant public screen at 1920x1080, I could just tell the app to open on that screen.  

A bit of a work-around.
Music I've made using Amigas and other retro-instruments: http://theovoids.bandcamp.com
 

Offline Thomas

Re: How can I make a public screen?
« Reply #1 on: November 23, 2010, 11:37:24 AM »
With ModePro you can define public screens which automatically open when a program requests the name.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: How can I make a public screen?
« Reply #2 on: November 23, 2010, 11:45:25 AM »
Quote from: ral-clan;593710
Is there any way for the average end-user (i.e. non programmer type) to have AmigaOS create a "blank" public screen in a specified screenmode that is available to Workbench?

Most users have MUI installed. See the included PSI tool.
 

Offline Thomas

Re: How can I make a public screen?
« Reply #3 on: November 23, 2010, 11:48:06 AM »
PSI only works for MUI programs.

Offline Golem!dk

  • Sr. Member
  • ****
  • Join Date: Dec 2002
  • Posts: 414
    • Show only replies by Golem!dk
    • http://www.google.com/
Re: How can I make a public screen?
« Reply #4 on: November 23, 2010, 11:52:21 AM »
Quote from: Thomas;593797
PSI only works for MUI programs.

I don't think it prevents other applications from opening on the public screens it creates... as I recall it allows you to open/close the screens you define.
~
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: How can I make a public screen?
« Reply #5 on: November 23, 2010, 11:54:52 AM »
Quote from: Golem!dk;593798
I don't think it prevents other applications from opening on the public screens it creates... as I recall it allows you to open/close the screens you define.
Excactly.
 

Offline Thomas

Re: How can I make a public screen?
« Reply #6 on: November 23, 2010, 12:19:45 PM »
newshell "con:////AmigaShell/CLOSE/SCREEN TEST"

does not work with a screen defined in PSI unless a MUI program has opened the screen already.

I talk about opening the screen *automatically*, not by running PSI and clicking on "open" first.

Offline Ral-ClanTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 1979
  • Country: ca
    • Show only replies by Ral-Clan
    • http://www3.sympatico.ca/clarke-santin/
Re: How can I make a public screen?
« Reply #7 on: November 23, 2010, 01:07:37 PM »
Quote from: Thomas;593795
With ModePro you can define public screens which automatically open when a program requests the name.

I'd rather not do it this way (force the app to run on a public screen via screen-promotion).  The app is smart enough to open on a specified public screen that already exists (there is an option in the app's settings to open on an available public screen).  So I'd rather open the public screen, THEN start the app and tell it to go over to the public screen.
Music I've made using Amigas and other retro-instruments: http://theovoids.bandcamp.com
 

Offline Thomas

Re: How can I make a public screen?
« Reply #8 on: November 23, 2010, 01:11:46 PM »
ModePro does not mode promote if you don't tell it to. It can automatically create non-existing public screens by name. For example if you tell the application to open on a public screen named TEST (as I did in my newshell example) and no such screen exists yet, it opens it with the definitions you made in the database. That's the same what PSI does, but PSI needs manual intervention while ModePro does it automatically.

Offline Cammy

Re: How can I make a public screen?
« Reply #9 on: November 23, 2010, 03:46:31 PM »
I really wish I had known about ModePro before I spent nearly all year trying to program something that does the same thing. :(
A1200 030@28Mhz/2MB+32MB/RTC/KS3.1/IDE-CF+4GB/4-Way Clockport Expander/IndivisionAGA/PCMCIA NIC
A1200 020@14Mhz/2MB+8MB/FPU/RTC/KS3.0/IDE-CF+2GB/S-Video
CD32 020@14Mhz/2MB+8MB/RTC/KS3.1/IDE-CF+4GB
A600 030@30Mhz/2MB+64MB/RTC/IDE-CF+4GB/Subway USB/S-Video/PCMCIA NIC/USB Numeric Keypad+Hub+Mouse+Control Pad
A500 000@7Mhz/512kB+512kB/ROM Switcher/KS3.1+1.3/S-Video

Get AmigaOS
 

Offline Gulliver

Re: How can I make a public screen?
« Reply #10 on: November 23, 2010, 05:03:13 PM »
As a sidenote, NewMode is an alternative to ModePro. Available from http://aminet.net/util/cdity/NewMode_V39.lha
Just in case. :)
 

Offline Thomas

Re: How can I make a public screen?
« Reply #11 on: November 23, 2010, 07:35:05 PM »
No, it's not an alternative in regard to this thread. It is is a pure mode promoter, it cannot create new public screens.

Offline eb15

  • Jr. Member
  • **
  • Join Date: Feb 2010
  • Posts: 61
    • Show only replies by eb15
Re: How can I make a public screen?
« Reply #12 on: November 23, 2010, 08:27:27 PM »
Way back when public screens were new I wrote an app and uploaded it to ab20 amiga software ftp site, that would default to creating a public screen  with the same specs as workbench was running at, and have a backdrop window with menu options to shanghai, pop a shell window on it, close down the screen, etc.  I don't remember if I ever put in a screenmode requester option.  It was called pscreen or something like that.  I lost my old Amiga stuff over the years because of disinterest and moving.  I presume the binary is out there some where on the net or on a cdrom of the old archive site.  I could probably recreate the program source with updates if I found the binary to look at under an emulator to refresh my memory of what all it did.  Now I'm looking at AROS so it could be useful again...
« Last Edit: November 23, 2010, 08:32:36 PM by eb15 »
 

Offline Gulliver

Re: How can I make a public screen?
« Reply #13 on: November 23, 2010, 08:35:00 PM »
Quote from: Thomas;593909
No, it's not an alternative in regard to this thread. It is is a pure mode promoter, it cannot create new public screens.


Oh, yes you are right. My mistake. :)
 

Offline Ball000

  • Newbie
  • *
  • Join Date: Sep 2007
  • Posts: 17
    • Show only replies by Ball000
Re: How can I make a public screen?
« Reply #14 on: November 23, 2010, 10:24:57 PM »
@eb15:

I don't think it's lost: http://aminet.net/package/util/misc/pscreen128