21 February 2021, 12:42 | #1 |
Registered User
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 38
Posts: 168
|
Program like GetModeID
Hello, I have searched but have not found anything anywhere. Is there perhaps a program that when run in the CLI will display the current WB screen mode? I found something like this
http://aminet.net/package/util/wb/parsesmprefs but this one looks for the ModeID in the screenmode.prefs file. I prefer to have the program read it directly from the screen, similar to what SGrab does. |
21 February 2021, 13:16 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,028
|
VoilĂ !
Code:
1> GetScreenMode PAL:HighRes Interlace 1> GetScreenMode id 167940 1> GetScreenMode id hex 29004 1> |
21 February 2021, 17:31 | #3 |
Registered User
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 38
Posts: 168
|
No, no. I meant a program that will check, show what mode WB is currently open in.
|
21 February 2021, 18:01 | #4 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,308
|
If the screenmode of thomas WB is PAL HigRes Interlace then the tool does what you want/describe.
|
21 February 2021, 23:18 | #5 |
Registered User
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 38
Posts: 168
|
My apologies. I misunderstood his statement. I will check if that is what I meant.
PS: I am looking for a program to check if ScreenMode has set WB to 16 Bit so that DGen can run in a window on WB. Then the colors are correct. The same is true for the GnGeo emulator, but that one requires 15 bit. |
22 February 2021, 10:11 | #6 |
Registered User
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 38
Posts: 168
|
Thomas thank you so much. Your program is the one I needed. Regards.
|
22 February 2021, 11:55 | #7 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
I used Thomas's program previously to get the screenmode ID and it works perfectly
No idea how I would achieved this without. |
22 February 2021, 12:32 | #8 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,028
|
How can that be, I wrote this one only yesterday
You probably mean that one: https://eab.abime.net/showthread.php...53#post1375953 |
22 February 2021, 14:11 | #9 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Oh I see.
Quote:
|
|
22 February 2021, 20:33 | #10 |
Registered User
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 38
Posts: 168
|
Thomas by any chance can your GetModeID filter the depth of available modes? I mean, if I need to indicate a screen with a depth of 8 bits, when run in the CLI with the appropriate parameter this one would only list such. Example:
C:GetModeID DEPTH 8 or C:GetModeID DEPTH 32 |
01 March 2021, 14:59 | #11 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,028
|
I added the DEPTH parameter, but I am not sure if it does what you expect.
The ASLSM_MinDepth and ASLSM_MaxDepth tags of asl.library only limit what the user can enter into the Depth field. Apparently it also filters the list by minimum depth, so if you set MinDepth to a value higher than 8 it only shows RTG screens. But it does not limit the list to chunky or native modes if you set MaxDepth to 8 or lower. |
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 |
Paint program or program....... | amigagenie | request.Apps | 2 | 29 January 2013 19:56 |
Which program is this? | absence | request.Apps | 8 | 26 June 2012 11:31 |
For a beginner what Program and Program language would you recommend? | amigang | New to Emulation or Amiga scene | 5 | 27 March 2012 13:06 |
Calling another program from a compiled Amos program...? | andyr | support.Apps | 3 | 24 October 2004 23:47 |
|
|