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
31
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.

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

I am referring to:
https://www.os2site.com/sw/drivers/filesystem/dumpfs.zip

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.


33
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: March 29, 2022, 05:55:56 pm »
How does this all relate to :
https://github.com/OS2World/DRV-USBLib/tree/master/drivers/src/usbjoy

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.

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

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

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 !

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

http://rpm.netlabs.org/bootstrap/rpm-yum-bootstrap-1_7-pentium4.zip

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


37
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.

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

https://github.com/libusb/hidapi/blob/master/hidapi/hidapi.h

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:
https://eleccelerator.com/tutorial-about-usb-hid-report-descriptors/

39
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 \
    -DCMAKE_BUILD_TYPE:STRING=debug \
    ../git

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


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

https://hobbes.nmsu.edu/download/pub/os2/dev/info/books/OS2_IFS_1998-02-13.pdf

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 :-)

41
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).

42
Hallo,

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
https://patentimages.storage.googleapis.com/23/69/45/f6a4cb501938a9/EP0415346A2.pdf

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 :-)

Regards,
Lars

43
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.

44
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.


45
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