OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Martin Iturbide on October 10, 2016, 10:44:22 pm

Title: Send me you OS/4 "DosSysCtl_API" Report
Post by: Martin Iturbide on October 10, 2016, 10:44:22 pm
Hi.

I'm trying to document more about what is inside OS2KRNL (http://www.edm2.com/index.php/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
Title: Re: Send me you OS/4 "DosSysCtl_API" Report
Post by: Dave Yeo on October 11, 2016, 01:57:01 am
Isn't http://home.clara.net/orac/os2/doscalls.htm (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.
Title: Re: Send me you OS/4 "DosSysCtl_API" Report
Post by: Martin Iturbide on October 11, 2016, 02:48:13 pm
Hi Dave.

Yes and no. Maybe the ordinals and functions name are listed on DOSCALLS (http://www.edm2.com/index.php/DOSCALLS.DLL), 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
Title: Re: Send me you OS/4 "DosSysCtl_API" Report
Post by: Martin Iturbide on October 20, 2016, 05:02:55 pm
Here are the reports I got for the moment.