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 - Martin Iturbide

Pages: [1] 2 3 ... 267

Everytime I go back to this thread I remember Alex Taylor's joke at some Warpstock....

                            "Don't ask what old men have in their basement... "   ;D ;D ;D

I'm only looking for OS/2 Courses material  ;D ;D

I still have the crazy dream to one day complete all the downloads of the IBM OS/2 Courseware material.

If you have one that I'm missing, let me know. Remember I can ask permission from IBM to republish it.


Programming / Re: Compiling a PM sample with GCC (2023)
« on: Today at 12:17:13 am »

I removed some of the warnings, and I think the sample is running as expected showing some listbox (I hope).

I have these warnings that I need help to remove.
Code: [Select]
gcc -Wall -Zomf -c -O2 ListBox.c -o ListBox.obj
In file included from C:/usr/include/os2.h:39,
                 from ListBox.c:64:
ListBox.c: In function 'UpdateScrollBars':
ListBox.c:448:30: warning: operation on 'plbw->iVertScroll' may be undefined [-Wsequence-point]
  448 |           (plbw->iVertScroll = plbw->cVertScroll = 0) :
      |           ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
ListBox.c:472:27: warning: operation on 'plbw->iHorzScroll' may be undefined [-Wsequence-point]
  472 |        (plbw->iHorzScroll = plbw->iHorzScroll = 0) :
      |        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
ListBox.c: In function 'ListBoxWndProc':
ListBox.c:2553:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
 2553 |        if ( ((flStyle = WinQueryWindowULong(hWnd, QWL_STYLE)) & 0x0000ffffUL) != (plbw->flStyle & 0x0000ffffUL) )
      |           ^


Games / PMRobots 1.4
« on: June 09, 2023, 06:17:27 pm »

I recompiled this little game called PMRobots with gcc, just in case someone wants to give it a spin.

It is played with the mouse. The goal is to make the Robots crash to move to the next level.

Here it is the source code just in case:


Programming / Re: Compiling a PM sample with GCC (2023)
« on: June 08, 2023, 07:31:41 pm »
Thanks Dave

With your tip it compiles and the sample runs just using with gcc. I have a lot of warning that I have to check, I think I will turn crazy with the braces.

FYI: This little picture helps me with my English, I learned to code in C long time ago in Spanish. And it had been fun to re-learn that stuff.

Comments, Suggestions & Questions / Re: Hobbes (Files) Reoganization
« on: June 08, 2023, 06:59:34 pm »
Hi Again.

Getting into again the reorganizing again, I will put some efforts to finish

One with thing with "/pub/dos", I don't know where to put which it says is the "IBM DOS 5.0 ISO font supplement"

And I'm going little by little trying to include all the OS/2 public (Freeware/Shareware/OpenSource/Demos) software I can find on hobbes. That is a long and ongoing thing.

There is this rule we set at the beginning or the reorganization , "Hobbes will only maintain the latest version of the software, and some exceptions apply."  I still have also the crazy dream to have a secondary repository with new and old version of all OS/2 Software following the same directory structure of hobbes. I'm doing that on my hard drive, and I published a backup on 2023-01-15. ( But the energy is running low these months  ;D


Programming / Re: Compiling a PM sample with GCC (2023)
« on: June 07, 2023, 06:54:26 pm »

Now I'm going after this one:

I haven't fixed the warnings yet. I focused on having the program to compile first. After some effort DRIVER.EXE and LISTBOX.DLL are compiling, but DRIVER.EXE is not showing anything.

I get this on the POPUPLOG
06-07-2023  11:42:01  SYS2070  PID 017a  TID 0001  Slot 0084

Any help to show the sample is welcome, if that can be possible, I will go after the warnings.


Programming / Re: Compiling a PM sample with GCC (2023)
« on: June 07, 2023, 06:24:32 pm »
Thanks Dave.

I made your changes and I think it is good enough for the sample.

It's done for me, and I posted it here  to the public.


Programming / Re: Compiling a PM sample with GCC (2023)
« on: June 07, 2023, 04:19:10 am »

Now I'm trying framctlit is a nice sample.

It compiles, and removed all warnings I can, but I still get this warning on framctl3.

gcc -Wall -Zomf -c -O2 framectl.c -o framectl.obj
framectl.c: In function 'FrameWndProc':
framectl.c:363:14: warning: unused variable 'rc' [-Wunused-variable]
  363 |         BOOL rc = (BOOL)DefFrameWndProc( hWnd, msg, mp1, mp2 );
      |              ^~
Even that is says the variable is unused, if I comment rc, the sample does not longer run. I need to keep this line and warning to have the sample working. Any ideas if there is something else I can do to remove this warning?


Programming / Re: Compiling a PM sample with GCC (2023)
« on: June 07, 2023, 04:09:39 am »
Thanks Flashback.

It run fine here with 16M Colors on the VM.


Applications / TOR and Dooble
« on: June 06, 2023, 01:49:40 am »

Paul ported a new version of TOR:

Can someone let me know if I'm configuring Dooble right?
It seems that some sites no longer see my real IP, but some https sites does not work.


Programming / Re: Compiling a PM sample with GCC (2023)
« on: June 05, 2023, 11:02:59 pm »

Thanks for the feedback. The show sample (Jet) is working fine.

My only question remains, why it does not work on 16M Colors? Is some limitation there that I don't know? I always used to set the colors to 16M and didn't have any problems that I can notice, until working with this sample.


Programming / Re: Compiling a PM sample with GCC (2023)
« on: June 05, 2023, 05:18:12 pm »
Thanks for the feedback

Dave, I have DIVE.DLL on the libpath. I had tried in two enviroments, the development VM and a Thinkpad L420 and in both I can not see any image on the window.

I'm attaching the "Query Caps" of the Thinkpad L420. should I can try putting the colors on 64K?
Update: Indeed, I changed it to 64K and now I can see the image (very fast)

I will check Lars' suggestion to see if it slows down.


Programming / Re: Compiling a PM sample with GCC (2023)
« on: June 05, 2023, 05:56:12 am »
Thanks Dave. Jigsaw now is fine with me.

I'm trying now this different "show" from the OS/2 Warp 4 Toolkit that works with DIVE.

I removed the warning, it compiles, but the image does not display on it.


Applications / Re: Java applications
« on: June 03, 2023, 11:29:06 pm »

Phex runs, but I'm not sure if the network and servers listed there still works.


Applications / Re: Java applications
« on: June 03, 2023, 10:52:53 pm »
Hi, I'm just checking the old news archive.

There used to be a Geometria version that used to run with our Java, but I can not find it anymore.
I don't understand this, you can download it from my Java pages, what is the problem?

Hi Joop. You are right. I got confused with Geogebra, and I thought that Geometria was not on your site, but it is there. Thanks.

Pages: [1] 2 3 ... 267