Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Lars

Pages: 1 2 [3] 4 5 ... 64
Programming / Re: Compiling a PM sample with GCC
« on: March 30, 2022, 01:03:17 am »
gcc.exe does not know about INCLUDE env var. Try C_INCLUDE_PATH instead.

If that does not work , add -Ic:/usr/include/os2tk45 to the compiler commandline in the makefile.

Applications / Implemented DUMPFS.IFS as a 32-bit IFS
« on: March 29, 2022, 08:09:09 pm »

I am referring to:

As you might know, this package contains a modified OS2DUMP and a specialized IFS for supporting trap dumps.
I have now reimplemented the "DUMPFS.IFS" contained in that package as a 32-bit version. That means, it supports dumps > 2 GB. I have also added (minimum) EA support so that the partition contents properly display in the WPS and also on the commandline. Of course, you can also use PMDF.EXE on that dump file (without the need to copy it to another partition as was true for the original DUMPFS.IFS).

Additionally I have implemented some reduced write support so that you can copy a trap dump file to that dump partition. Of course, copying the dump file to another partition (for example, a JFS partition) also works.

Would anybody be willing to test ? It does still have a few quirks here and there but in principle it should work (at least, it does on my system).

I have limited its use to an LVM managed system (that is OS2DASD.DMD/OS2LVM.DMD , sorry, but original Warp3 or Warp4 are not supported) in order to have optimal read/copy/write throughput.

Just drop me a note if you want a test version.

Games / Re: DOS VDM - USB and Game port Gamepad support
« on: March 29, 2022, 05:55:56 pm »
How does this all relate to :

Is the gamepad a USB device ? If yes, should we not modify those USB joystick drivers to interface with GAMEDD.SYS ? That's at least how it was solved for the USB mouse:
we have USBMOUSE.SYS and that interfaces with AMOUSE.SYS / MOUSE.SYS.

General Discussion / Re: Email Address Valery Sedletzki ?
« on: March 09, 2022, 12:56:24 pm »
Thanks. I'll contact you directly.

General Discussion / Email Address Valery Sedletzki ?
« on: March 08, 2022, 08:17:11 am »

can anyone provide me with an email address of Valery Sedletzki ?

@Valery: if you listen, just drop me your email address in the private area. I need your help on FSDs :-)

Thanks !

Internet / Re: RPM: Switching from i686 to Pentium4
« on: March 01, 2022, 03:12:11 pm »
Netlabs has a newer one:

It's just not linked from the RPM main page. And it is not a WPI but a ZIP.

Games / Re: DOS VDM - USB and Game port Gamepad support
« on: February 06, 2022, 04:25:45 am »
Ah, ok, yes, so SDL does not implement a full blown HID parser but it knows the input packet format for a couple of known devices.Yes, that is what is needed.

Games / Re: DOS VDM - USB and Game port Gamepad support
« on: February 06, 2022, 02:20:53 am »
The API can be found here:

To me, hidapi looks like a very thin layer on top of libusb. It just allows to send or receive feature reports and to receive input reports. Feature reports seem to be for control or to receive settings.
However, interpreting the contents of an input report requires a HID parser. The HID parser uses the information in the HID report descriptor (burned into the device, can be read from the device just like any other descriptor) to find out what bit means what.
So, the hidapi is available (from BWW github) or from Josh but the "intelligence" is provided by the parser that is not part of hidapi.
Maybe the application that Martin suggested contains the necessary parser to actually make up something of the data that it receives via USB. That would be my hope, at least.

Here is some hopefully simple explanation of what a HID report descriptor is:

Programming / Re: gcc - building libarchive
« on: February 05, 2022, 11:55:05 pm »
I was given this shell script to create the makefiles for a cmake based project (where the source is located in ..\git directory), to be called from the "build" directory:

export LDFLAGS='-Zhigh-mem -Zomf -lcx -lpthread'
export CFLAGS='-Zomf -O2 -g -march=pentium4 -Wno-attributes'

cmake  -DCMAKE_INSTALL_PREFIX:PATH=/@unixroot/usr \

Shouldn't that do the trick ? Might need to adjust the cmake defines for your case.

While you are at it, you should also link to (or copy):

because that is the last version ever been written.

And one of these days, you should also link to the final,final,final version that Valery Sedletzki produced when he overhauled FAT32.IFS. Because that version contains the largely undocumented 32-bit interface extensions. But I will also need to add yet additional info to that :-)

Hardware / Re: Trap 000D when trying to go to command line
« on: February 02, 2022, 07:28:52 am »
Compare os2/boot/config.x with config.sys.
The difference (in drivers) must be causing the trap D.
The trap screen also usually shows the module that failed (but not always).


for anyone who plans to write an OS/2 IFS, I have found the basis of the OS/2 IFS specification. It goes back to OS/2 1.2 (16-bit OS/2) times but it gives valuable additional info even today.

Download this document

and you will find enclosed the "OS/2 1.2 IFS Patent Documentation". It's 196 double pages.
I have neatly extracted that into a PDF and also did a page turn of 90°, except for double page 11 that needs a 270° turn :-)


Applications / Re: LIBC panic errors anyone?
« on: January 31, 2022, 08:01:24 am »
I am not Roderick, but...

there is no intended functional difference (at least, that's not what I meant). But the optimization might not work correctly when you build for i686 but works ok when you build for pentium4. Or they fixed something in the compiler in the meantime. Or some such.

Setup & Installation / Re: eCS hangs on boot loading OS2DASD.DMD
« on: January 29, 2022, 01:00:19 pm »
I occasionally have this problem with an OS/2 guest under Virtualbox. I don't know where it comes from.

But you might want to play around with the switches for DANIS506.ADD or OS2AHCI.ADD (whatever you are using) to slightly lower performance (for example, for OS2AHCI.ADD, do not enable native command queueing, do not enable HW write cache etc.) so see if that makes a difference.

Applications / Re: LIBC panic errors anyone?
« on: January 29, 2022, 12:54:10 pm »
Maybe they are simply not equivalent. What I read somewhere is that BWW recommends to switch over to "Pentium4" architecture in general (even updating already installed packages if possible).
And as much as I can tell, they stopped producing "i686" versions of their RPMs for everything that is new.

Pages: 1 2 [3] 4 5 ... 64