Author Topic: OS/2 Components / Architecture - Indentifying OS/2 Files  (Read 78437 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #30 on: May 30, 2015, 10:41:50 pm »
Thanks Dave.

I'm creating this one: http://www.edm2.com/index.php/Video_Subsystem
I'm not sure of all the files listed there applies to the Video Subsystem, I just selected them because they have a similar date of compilation.

I will keep on with this and see how it keeps shaping.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5361
  • Karma: +127/-1
    • View Profile
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #31 on: May 31, 2015, 02:25:11 am »
Look under x:\OS2\INSTALL, there's the VGA subdirectory  and \OS2\INSTALL\display.log.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #32 on: June 02, 2015, 11:34:07 pm »
Thanks Dave. I will return later to the Video Subsystem.

Now I want to see if I can finish to put descriptions on the SOM files.
http://www.edm2.com/index.php/System_Object_Model#Files

But it seems I'm not able to find details of what the files are for. I'm not sure what the DAT and TOC files are, seems like it got the SOM classes that got registered, or something like that.

Any help is welcome.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #33 on: June 05, 2015, 10:29:14 pm »
About: REGCONV.EXE and REGEDIT2.EXE

Will be ok to tell this files belongs to the Open32 component of OS/2?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5361
  • Karma: +127/-1
    • View Profile
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #34 on: June 06, 2015, 03:21:21 am »
Regedit2 is also an official way of editing the OS/2 ini files so not only is it part of Open32 but also part of the PM (WPS?). It's hard to put so much of this stuff under one category.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #35 on: June 06, 2015, 10:45:52 pm »
I just read that when you run REGEDIT2, it will run automatically REGCONV.EXE to create a fresh SYSTEM.DAT and USER.DAT if those files are missing.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #36 on: June 12, 2015, 12:29:21 am »
Hi.

It seems I got stuck with SOM. I can not find more information to complete the table: http://www.edm2.com/index.php/System_Object_Model#Files

For the moment I'm moving on Workplace Shell:
http://www.edm2.com/index.php/Workplace_Shell

Comments about this subject are welcome. Let me know if you think I'm missing to list files that should be part of WPS on that page.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5361
  • Karma: +127/-1
    • View Profile
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #37 on: June 12, 2015, 02:22:43 am »
You could always not load the Workplace Shell and compare which DLLs are loaded compared to when the WPS is loaded, using Theseus or even pstat /L

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #38 on: June 14, 2015, 04:55:15 pm »
Hi.

I need to learn more about Theseus, I have it running but I don't use it yet.  I will check on it.

I have my doubts right now if "WINCFG.DLL" is part of WPS, it says it is WIN-OS/2 object. According to my idea it should be WPS, but it is on the line with the Win16 VDM.

Regards

Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5361
  • Karma: +127/-1
    • View Profile
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #39 on: June 14, 2015, 05:28:34 pm »
Running strings on WINCFG.DLL, it is a PM program and has a SOM call so I'd guess it is the part of the WPS that contains and does the WINOS2 object settings.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #40 on: June 17, 2015, 07:37:35 pm »
I'm not sure if DSPRES.DLL (IBM:14.084#@ OS/2 Display Fonts) should be part of PM, or does it run independently of it.
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #41 on: June 22, 2015, 12:14:26 am »
It looks to me that SHPIINST.DLL can be listed as PM too. It has several PMMERGE and PMSHAPI functions on it.
http://www.edm2.com/index.php/SHPIINST.DLL

What is the best way to determine if this is just a forwarder?
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5361
  • Karma: +127/-1
    • View Profile
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #42 on: June 22, 2015, 03:55:40 am »
It looks to me that SHPIINST.DLL can be listed as PM too. It has several PMMERGE and PMSHAPI functions on it.
http://www.edm2.com/index.php/SHPIINST.DLL

What is the best way to determine if this is just a forwarder?

Run exehdr on it. Example of a forwarder,
Code: [Select]
Library:                        pmwin

Module type:                    Dynamic link library
Number of memory pages:         00000000 (0)
Initial CS:EIP:                 object 0 offset 00000000
Initial SS:ESP:                 object 0 offset 00000000
Automatic data object:          0


Exports:
 ord  obj   offset    name
  52    0  00000000  WINQUERYUPDATEREGION forwarded to PMMERGE.3211
 129    0  00000000  WINQUERYDLGITEMSHORT forwarded to PMMERGE.3185
  31    0  00000000  WINQUERYWINDOWULONG forwarded to PMMERGE.3056
 639    0  00000000  WINLOCKPOINTERUPDATE forwarded to PMMERGE.3162
  14    0  00000000  WINENABLEWINDOWUPDATE forwarded to PMMERGE.3114
 319    0  00000000  WINQUERYDESKTOPBKGND forwarded to PMMERGE.3184
...

Note that pmwin isn't just a simple forwarder but also translates function names into ordinals.
Best to pipe the output through less or such.

SHPINST.DLL has some interestingly named exports which leads me to think that it isn't part of the (2.x+) PM but I'm not sure what uses profiles. Almost looks like it is to manipulate the Program Manager which I believe was how 1.x worked

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #43 on: June 22, 2015, 11:40:00 pm »
Thanks Dave.

I'm now using that tool too.

I'm checking on LANSOB3.DLL and LANSOU3.DLL now,  the hint that I have is that both points to "OS2OM30.DLL". I'm not sure if those should be referenced as Open Class Library files, but they are also called by "LSPRWPS.DLL" so it may be IBM LAN stuff... that will be easy choice :)

Regards.
« Last Edit: June 22, 2015, 11:42:34 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: OS/2 Components / Architecture - Indentifying OS/2 Files
« Reply #44 on: June 24, 2015, 05:10:55 pm »
Hi

I just got a tip that "LANSOB3.DLL and LANSOU3.DLL " are  from the Open Class Library. They are DLLRNAME'd  from CPPOOB3.DLL and CPPOOU3.DLL. Thanks.

Even that the files are originally from the OCL library, I have the doubt that "as files" should be categorized under IBM LAN, since it seems (I guess) that anybody renamed CPPOOB3.DLL and CPPOOU3.DLL to fit the file name they want according to their software.

So, I'm putting them here (because I guess they are form IBM LAN) :  http://www.edm2.com/index.php/OS/2_LAN_Server#Files

But I also link them from the OCL : http://www.edm2.com/index.php/Open_Class_Library#Files

Yes, right now it is a mess, but I hope to keep correcting the wiki over time and found better ways to describe this.
Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.