Author Topic: Send me you OS/4 "DosSysCtl_API" Report  (Read 2286 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3552
  • Karma: +34/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Send me you OS/4 "DosSysCtl_API" Report
« on: October 10, 2016, 10:44:22 pm »
Hi.

I'm trying to document more about what is inside OS2KRNL file. I was told that with OS/4 you can take a report of what CPI functions links from the kernel.

Please try using OS/4 for some hours, run some apps, do what you do and generate a report by using:

 DosSysCtl_API.exe > report.txt

DosSysCtl_API.exe is on the OS/4 server too. Send the file to me (martin@os2world.com) or post it here, so I can compare it and know the which functions are provided by kernel (implemented in kernel ). For what I know this exe collects info from the OS/4 kernel and counts the number of calls and list the ordinal. (in my humble knowledge of how this things work.)

Regards
« Last Edit: October 11, 2016, 12:23:36 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 3551
  • Karma: +75/-0
    • View Profile
Re: Send me you OS/4 "DosSysCtl_API" Report
« Reply #1 on: October 11, 2016, 01:57:01 am »
Isn't http://home.clara.net/orac/os2/doscalls.htm a fairly comprehensive list of the doscalls modules? And yes the kernel is a DLL with the module name of DOSCALLS. Be aware that some have both ring 3 and ring 0 entry points.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3552
  • Karma: +34/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Send me you OS/4 "DosSysCtl_API" Report
« Reply #2 on: October 11, 2016, 02:48:13 pm »
Hi Dave.

Yes and no. Maybe the ordinals and functions name are listed on DOSCALLS, but right now we don't know which ones are run on the kernel. It is not only knowing the name of the function and ordinal number, but knowing what is inside the OS2KRNL file.

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

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3552
  • Karma: +34/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Send me you OS/4 "DosSysCtl_API" Report
« Reply #3 on: October 20, 2016, 05:02:55 pm »
Here are the reports I got for the moment.

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