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 ... 265
1
Programming / Re: Compiling a PM sample with GCC (2023)
« on: May 28, 2023, 04:52:27 pm »
Hi

Now I'm moving forward with the  C PM Samples from the IBM toolkit (version 4.5).
I started with CLIPBDR.

I have this warnings that I'm not sure how to solve.

Quote
gcc -Wall -Zomf -c -O2 clipbrd.c -o clipbrd.obj
clipbrd.c:160:25: warning: missing braces around initializer [-Wmissing-braces]
  160 | DRIVDATA    drvdata[] = {44L, 0L, "DISPLAY", 0L};
      |                         ^
      |                          {                   { }}
clipbrd.c: In function 'PaintRoutine':
clipbrd.c:1042:12: warning: variable 'RC' set but not used [-Wunused-but-set-variable]
 1042 |    BOOL    RC;
      |            ^~
clipbrd.c: In function 'SetSysMenu':
clipbrd.c:1580:7: warning: case label value exceeds maximum value for type
 1580 |       case SC_MOVE:
      |       ^~~~
clipbrd.c:1581:7: warning: case label value exceeds maximum value for type
 1581 |       case SC_CLOSE:
      |       ^~~~


Regards

2
Programming / Re: Compiling a PM sample with GCC (2023)
« on: May 27, 2023, 04:29:35 am »

3
Programming / Re: Compiling a PM sample with GCC (2023)
« on: May 26, 2023, 06:11:06 pm »
Hello

On this one I'm not sure what I did wrong.
Quote
In file included from C:/usr/include/os2.h:39,
                 from cnrez.c:59:
C:/usr/include/os2emx.h:10843:3: error: unknown type name 'PDLGTEMPLATE'
10843 |   PDLGTEMPLATE pdlgtPage;
      |   ^~~~~~~~~~~~

Here it is the original one just in case: https://github.com/OS2World/DEV-SAMPLES-C-PM-Containers/tree/master/cnrez

Regards

4
Programming / Re: Compiling a PM sample with GCC (2023)
« on: May 26, 2023, 05:18:04 pm »
Hi

This one compiled nice. I was able to remove the warnings.
https://github.com/OS2World/DEV-SAMPLES-C-PM-CNRDTL

Regards

5
Programming / Source Code Text Editor Suggestions
« on: May 25, 2023, 06:19:17 pm »
Hi

I had been editing some C code for some PM samples/demos I want to compile. (there is another thread about it).
But I'm not sure about the Text editor I'm using, I use STE (Qt) but it has an ugly bug to reload files that it always show, so I'm open for suggestion.

If possible want a text editor that:
- Have the line counter on the left - Mandatory  ;D
- That have "tabs" on the top to switch between open files
- If it puts colors on the C code.¨
- Easy file reload, if the file changes while it is open (to check logs)

I really liked STE because of that "File Explorer" (Pic attached) thing that it has, but that "Reload Bug" is killing me, and it seems that STE is no longer being developed.

Please let me know your suggestions. I don't want to start a text editor war of what is better, just let me know what you like and I will try it out.

Regards

6
when will version 5.1 of ArcaOS be released?

When it's ready? Should be some more information at Warpstock on Saturday.

Pardon me, but I haven't seen any promotions or adverts for a Warpstock event in 2023 in neither the EU nor US sites, let alone that it is coming up on Saturday. Could someone share a link?

Hi Ibrahim

The Warpstock quote was from 2021-06-03. This is an old thread, I also got confused.

FYI: The Warpstock board is currently discussing the venue for Warpstock 2023.

Regards


7
Hi

The only official word we have about the release of ArcaOS 5.1 is here:
https://www.arcanoae.com/i-want-arcaos-5-1/

Quote
TO CLARIFY: ArcaOS 5.1 HAS NOT YET BEEN RELEASED. Please read this post all the way to the end to get all information.

ArcaOS 5.1 is complete and waiting for release. The holdup is really related to our distribution system, which is based on the WooCommerce platform.

Until we can produce multiple versions of ArcaOS ISOs, in multiple languages, WE MUST HOLD UP THE ArcaOS 5.1 RELEASE.

While WooCommerce is a capable ecommerce solution, Arca Noae’s requirements to be able to allow ordering of a personalized ISO have now become considerably more complicated than they were for the 5.0 release in 2017. Instead of only spinning the same ISO with personalization data for each customer, we now must continue to have 5.0 ISOs available, and offer 5.1 ISOs in several languages. In addition, instead of maintaining one subscription channel for ArcaOS, we now must maintain two separate channels, one for 5.0 and one for 5.1. Upgraders will also need to change subscription channels when they upgrade ArcaOS. This work has proven more complicated than we had anticipated.

In the meantime, we have taken steps to upgrade our infrastructure to expand our capacity to build and warehouse more ISOs, and we are now at a point where the missing pieces of the puzzle are just the software enhancements for the website to bring everything together.

We have always avoided stating narrow windows for anticipated delivery dates, and take great efforts to avoid the appearance of vaporware. ArcaOS 5.1 is real, and it is coming…soon.

In the interim (and after the release of ArcaOS 5.1), ArcaOS 5.0 will continue to receive critical updates and support, and from time to time, we may even release new bugfix ISOs for ArcaOS 5.0 (generally when an update impacts the installation experience).

It is also important to note that not all languages for ArcaOS 5.1 will be made available when English is released, nor will all non-English languages be released at the same time. Translations of German, Spanish, French, Italian, Russian, and others are in varying states of completion. As we deem a certain language ready for release, we will make it available.

We appreciate everyone’s continued patience. We want to bring you ArcaOS 5.1 as much as you want it!

Spoiler: They say that ArcaOS 5.1 is complete and they have problem with the distribution system.

For what I can say being on the Arca Noae Tester groups, ArcaOS 5.1 exist, it had been tested by the group and it has UEFI support. I have no idea why the distribution system is taking so long.

I personally want ArcaOS 5.1 to get released as soon as possible.

Regards

8
Programming / Re: Strange behaviour in SDL2
« on: May 24, 2023, 04:40:49 pm »
Hi Jochen,

Sorry my last sentence was confusing because  I didn't understand this:
My working copy has SDL Mixer linked, that doesn't seem to be the issue.
I got confused there, please ignore my last sentence.

I guess that it would be good to try to use Digi's SDL2 and if the problem gets solve like magic, it most be some issue with the Netlabs RPM SDL2.

Just in case I have Digi's SDL2 source code copied here:
- https://github.com/OS2World/LIB-SDL2/tree/master/packages
- Original source: ftp://digi.os2.snc.ru/pub/SDL

while Netlabs RPM Bitwise Source code is here:
- https://github.com/bitwiseworks/SDL2-os2
- https://github.com/bitwiseworks/SDL2_mixer-os2
- https://github.com/bitwiseworks/SDL2_image-os2
... and others

Regards

9
Programming / Re: Strange behaviour in SDL2
« on: May 24, 2023, 02:19:46 pm »
Hi Jochen

You may already know about this, we have two distros of SDL and SDL2.
One on Netlabs rpm (I guess from BitWise Works) and the other from Digi (http://os2.snc.ru/product-SDL.html)

Maybe you would like to test a release with Digi's SDL and see if there is any improvement.  Is that what you did to don't have the issue?

Regards

10
Programming / Re: Compiling a PM sample with GCC (2023)
« on: May 24, 2023, 03:55:09 am »
Hi

CNRMENU sample compiled and runs without any major issues.
https://github.com/OS2World/DEV-SAMPLES-C-PM-CNRMENU

I just need some help with these warnings.

Code: [Select]
gcc -Wall -Zomf -c -O2 cnrmenu.c -o cnrmenu.obj
wrc -r cnrmenu.rc
Open Watcom Windows and OS/2 Resource Compiler Version 2.0beta4 LA GKYMar  2 2022
Portions Copyright (c) 1993-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
gcc -Wall -Zomf -c -O2 common.c -o common.obj
gcc -Wall -Zomf -c -O2 create.c -o create.obj
gcc -Wall -Zomf -c -O2 ctxtmenu.c -o ctxtmenu.obj
ctxtmenu.c: In function 'CtxtmenuSetView':
ctxtmenu.c:375:12: warning: 'strcat' accessing 281 or more bytes at offsets 412 and 692 may overlap 1 byte at offset 692 [-Wrestrict]
  375 |     (void) strcat( pi->szCnrTitle, pi->szDirectory );
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ctxtmenu.c:375:12: warning: 'strcat' accessing 281 or more bytes at offsets 412 and 692 may overlap 1 byte at offset 692 [-Wrestrict]
gcc -Wall -Zomf -c -O2 edit.c -o edit.obj
gcc -Wall -Zomf -c -O2 populate.c -o populate.obj
gcc -Wall -Zomf -c -O2 sort.c -o sort.obj
sort.c: In function 'DateCompare':
sort.c:192:38: warning: '%02u' directive writing between 2 and 3 bytes into a region of size between 1 and 3 [-Wformat-overflow=]
  192 |     (void) sprintf( szDate1,"%04u%02u%02u",date1.year, date1.month, date1.day );
      |                                      ^~~~
sort.c:192:29: note: directive argument in the range [0, 255]
  192 |     (void) sprintf( szDate1,"%04u%02u%02u",date1.year, date1.month, date1.day );
      |                             ^~~~~~~~~~~~~~
sort.c:192:12: note: 'sprintf' output between 9 and 12 bytes into a destination of size 9
  192 |     (void) sprintf( szDate1,"%04u%02u%02u",date1.year, date1.month, date1.day );
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sort.c:193:38: warning: '%02u' directive writing between 2 and 3 bytes into a region of size between 1 and 3 [-Wformat-overflow=]
  193 |     (void) sprintf( szDate2,"%04u%02u%02u",date2.year, date2.month, date2.day );
      |                                      ^~~~
sort.c:193:29: note: directive argument in the range [0, 255]
  193 |     (void) sprintf( szDate2,"%04u%02u%02u",date2.year, date2.month, date2.day );
      |                             ^~~~~~~~~~~~~~
sort.c:193:12: note: 'sprintf' output between 9 and 12 bytes into a destination of size 9
  193 |     (void) sprintf( szDate2,"%04u%02u%02u",date2.year, date2.month, date2.day );
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -Zomf cnrmenu.obj common.obj create.obj ctxtmenu.obj edit.obj populate.obj sort.obj cnrmenu.def -o cnrmenu.exe
Warning! W1058: file lduyj05H.: line(26): protmode option not valid for an OS/2 EMX executable
wrc cnrmenu.res
Open Watcom Windows and OS/2 Resource Compiler Version 2.0beta4 LA GKYMar  2 2022
Portions Copyright (c) 1993-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.

Regards

11
Programming / Re: Compiling a PM sample with GCC (2023)
« on: May 23, 2023, 09:09:19 pm »
Thanks Lars. Now it compiles and the program is hypnotic.   ;D
I will put it on the github. Thanks.

Regards

12
Applications / Re: WipeOut
« on: May 23, 2023, 08:08:17 pm »
Hi Again

The BocaSoft WipeOut Fix 2.02 (1995-09-22) works fine, but the BocaSoft WipeOut Fix 2.052 (1997-01-31)  is trouble for me. It traps ArcaOS boot.

If I install BocaSoft WipeOut Fix 2.052 (1997-01-31), I REM out "RUN=C:\WIPEOUT2\WIPEBOOT.EXE" from the config.sys. If I later run it manually once the desktop is available, it does not trap and WipeOut 2.0.52 works.

Regards

13
Applications / Re: WipeOut
« on: May 23, 2023, 07:08:17 pm »
Hi

I'm trying it out too. With the correct diskettes labels also installed here (Thanks Fusion).

For the moment it worked here in my ArcaOS 5.0.7 VM, without any conflict with Doodle Screen Saver.

It added to the config.sys:
 DEVICE=C:\WIPEOUT2\WIPEDD.SYS
 RUN=C:\WIPEOUT2\WIPEBOOT.EXE

Just running the Screensaver tests, sound works. It is version 2.0. 
Quick Video: https://youtu.be/iW_3iGBK9f0

I installed "BocaSoft WipeOut Fix 2.052 (1997-01-31)" on to of it, rebooted and produced me trap onboot with the Virtualbox Mouse.
I will keep checking it out.

Regards

14
Programming / Re: Strange behaviour in SDL2
« on: May 23, 2023, 02:55:51 pm »
Hi Jochen

I'm using this version of PRBoom+
  https://github.com/josch1710/prboom-plus/releases/download/v2.6um-alpha1/prboom-plus-2.6um-alpha1.zip
To run PRBoom+ it is needed:
  yum install flac fluidsynth SDL2_image

I also experience a problem with the sound. The "action sounds" of the menu and the shots of selecting the menu items sounds fine on the startup, but later when I start up the game the sound is gone. If I close the game and start it over, sometimes I get the menu sound back and sometime don't. 
I made this quick video: https://youtu.be/ssjtBMSdwis

I don't see the SDL Mixer on the exe, which is the audio stuff for SDL. Maybe is some issue with flac.
I haven't added MIDI support to my system to see if the background music works.

Regards

15
Applications / Re: WipeOut
« on: May 23, 2023, 02:31:54 am »
Hi

I also tried it out. On my VM, I assigned a .IMG as A: , copied the disk 1 files there, and it does not recognize it either. It also asks me for Disk 1 even if it is assigned as a:

Regards

Pages: [1] 2 3 ... 265