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 - Jochen Schäfer

Pages: [1] 2 3 ... 12
1
Games / Re: OS/2 - ArcaOS - Native Games
« on: July 29, 2021, 08:55:32 am »
Hi

I have a noob question about SDL development. For games that had been developed with SDL 1x, is it possible to recompile those with SDL 2.x? or all the game code (like functions calls, etc) will need to be changed to use the SDL 2.x instead?

Regards
Their migration guide is here: https://wiki.libsdl.org/MigrationGuide.
The compability layer is here: https://github.com/libsdl-org/sdl12-compat

2
Games / Re: OS/2 - ArcaOS - Native Games
« on: July 29, 2021, 08:48:43 am »
Has anyone looked at how hard it would be to add USB Joystick support to SDL? I know next to nothing about it except a little experience with old style joysticks.
Seems basic support would be 2 axis and 2 button support, for many games even joypad support where a couple of buttons and the axis is basically binary or trinary, would be nice.
I ask because I recently revisited Rocks'N'Diamonds (our SDL mixer needs mod support), which reminded me how much more fun it was to play with a joypad rather then the keyboard.
I have thought about it, and it is on my bucket list. The linux drivers use the hidapi library (it is even part of SDL2). I was thinking about using that code for OS/2.

3
Games / Re: OS/2 - ArcaOS - Native Games
« on: July 28, 2021, 11:50:09 am »
Problem is, that you don't know the size of array in C/C++. That is why APIs almost always give you an list size or a 0 terminated list.
The latter is what this "for" is assuming. But we have a field "num_display_modes" in the display structure, that could be used.
But in BWWs version, I fixed an init error in the display structures, which should be applied to Digis version, if not already done.

4
Applications / Re: FeatherPad for OS/2
« on: July 13, 2021, 09:04:15 am »
Well, SDL2 mixer etc are also still in experimental limbo.
Is there anything we can do about it?

5
Github is no joy, either.

6
Applications / Re: FeatherPad for OS/2
« on: July 12, 2021, 04:58:58 pm »
That was my suspicion, too, after I checked FeatherPad on my Mac.
Nevertheless, has anyone an idea, where the problem is? Is it the message queue?

7
Applications / Re: Creating some apps RPM packages
« on: July 11, 2021, 06:38:31 pm »
Dave, thanks for the reply. I was not specific enough.
What I meant, was how to integrate that into RPM specs. I had used --target, but it seemed to do next to nothing.

8
Applications / Re: FeatherPad for OS/2
« on: July 11, 2021, 06:35:25 pm »
Dave, I never monitored the CPU usage. I will look at the problem.

9
Applications / Re: FeatherPad for OS/2
« on: July 10, 2021, 09:01:44 pm »
Here ist the new release: https://github.com/josch1710/FeatherPad/releases/tag/0.19.0-os2.
It includes the OS/2 readme and a workaround of the driver letter issue. Now, one doesn't need to prepend the file: scheme.
Also, the RPM now creates a folder and icons for the application and some documentation.

Enjoy

10
Applications / Re: Creating some apps RPM packages
« on: July 10, 2021, 08:48:27 am »

How do you all generate packages for i686 and Pentium4?

11
Applications / Re: FeatherPad for OS/2
« on: July 10, 2021, 08:40:08 am »
I already updated the readme. The real culprit is only the drive letter. Obviously, QUrl takes that as a protocol designator. I'm thinking about working around it.
Stay tuned.

12
Applications / Re: FeatherPad for OS/2
« on: July 09, 2021, 10:27:09 am »
Yes, maybe the example is not a good one. My guess is that everything with a forward slash will be recognized as a file URL.
I will test some more and correct the readme.

Thanks Dave

13
Applications / Re: FeatherPad for OS/2
« on: July 09, 2021, 08:48:27 am »
I wrote an Readme for OS/2.
Can somebody please check, if is understandable and correct English?
You find it here: https://github.com/josch1710/FeatherPad/blob/master/README_OS2.md

14
Programming / Re: Writing on console with WINDOWAPI
« on: July 09, 2021, 08:44:14 am »
Probably something with the VIO API.

15
Applications / Re: FeatherPad for OS/2
« on: July 08, 2021, 04:53:50 pm »
So, I tried some stuff with VIO and such, but I couldn't get it to work.
Do we really need the ability to show the help text on the console?
I could write some readme and install it with the RPM.

Pages: [1] 2 3 ... 12