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 - Mentore

Pages: 1 ... 15 16 [17] 18 19
241
Hi Mentore

The reason that OS/2 code up to OS/2 1.3 works on NT/2000 is the OS/2 subsystem those operating systems contain. Remember that M$ were very involved in OS/2 up to and including 1.3 so I guess it was to their benefit that their early OS/2 apps could run on Windows NT/2000.


Regards

Pete

All true AFAICR. The IBM staff completely rewrote the window management after the IBM / MS split. IIRC, they also switched the pure PM programming interface from FAR PASCAL call scheme to C call scheme (indeed I saw many FAR PASCAL calls in Windows code some year ago, for and old Win16 program ported on Win32).

242
You should probably define "Presentation Manager".

Didn't OS/2 1.2 have Presentation Manager?

My OS/2 2.11 has a couple of floppy disks labeled "Multimedia Presentation Manager".

Was Presentation Manager in OS/2 Warp Version 3 the same thing?

Dave

Presentation Manager (PM) is the window management component of OS/2 - mainly window handling and related.

MMOS/2 (or MMPM/2, Multimedia Presentation Manager/2) was/is the multimedia component - video and audio. Currently OS/2 and eCS work on the Warp 4.52 version of Presentation Manager to show the desktop and all its windows.

IIRC, OS/2 had a Presentation Manager also in its 1.2 release, much different from the 2.0+ releases in code, features and appearance (OS/2 1.2 shares much code with the older versions of Windows NT/2000, to the extent that many character mode OS/2 applications run flawlessly under NT/2000).

243
Applications / Re: Favorite/Required non-opensource OS/2-eCs apps?
« on: May 19, 2015, 09:11:48 am »
Hi

I always ask, like each year, which is your favorite application that runs on OS/2 and eComStation. But this year I wanted to make a different question.

I want to know which are you favorites OS/2-eCS apps that are non-opensource, which mean that the source code is not available, so this time firefox will not be on the list :)
Or if it is not your favorite but you need to use it (required), also list it. So, without counting the IBM OS/2 Warp binaries, which are the non-opensource apps you are using (like it or not) on OS/2-eCS.

I will have to start with:
- PMView. I really like this application and it is "must have" for OS/2-eCS users.

Regards

Currently my list includes:

  • HobLink - not using it currently, but an XFree under eCS PM is a must have for many things - not counting XFree applications running seamlessly under PM.
  • TrueSpectra Photo>Graphics PRO - used many times for personal graphic projects.
  • PMDraw/2 - one of the simplest and more efficient drawing programs I've ever seen. It's an EWS program, never completed, but really useful once you get it.
  • Embellish - IMHO the perfect companion to TrueSpectra. Together they could likely reassemble a GIMP competitor for low-end projects.
  • Describe - I know it's really obsolete, but its requirements make this program one of the best DTP / Wordprocessing solution for OS/2.
  • (edit) NotaMusica - I'd REALLY love to have the sources for this application. It's the only graphical musical score DTP application on OS/2, and I'd love to have the sources to adapt it to Mup music processor instead of TeX.

There are more programs which source code I would like to have available, like ZX Spectrum emulators, ohter graphic editors, CERES SoundStudio (which could be useful to create a full-fledged audio editor), and many more.

Mentore

244
Hi Mentore,

When i look in diff file from v1.3.1 i see about the IDE_TEST_DIR

-DEFINES += IDE_TEST_DIR=\\\"$$IDE_SOURCE_TREE\\\"
+os2:DEFINES += IDE_TEST_DIR=\'\"$$IDE_SOURCE_TREE\"\'
+else:DEFINES += IDE_TEST_DIR=\\\"$$IDE_SOURCE_TREE\\\"


Dunno if this would help

Yes, this was one of the points in my analysis. Compilation errors arise from the real path, though - I will state myself more clear as soon as I get back to compiling.

Mentore

245
Search through your makefiles and rsp files for QtGui and change it too QtGui4.

Done.
Indeed it seems working good... Stupid me for not taking this into account. Now I got stuck on one of the definitions, namely IDE_TEST_DIR which seems impossible to parse correctly. I will try to solve this problem and report as soon as I have more informations.

Mentore

246
Hello all.
I'm having some strange problems in porting Qt gui applications, in this case QtCreator 2.0 (I can't use QtCreator 1.31 due to some strange compatibility issues with the latest Qt 4.7.3, so I decided to try and port one of the last versions which do not require Qt >= 4.8).

I'm following, AFAIK, all the correct informations. Qt include files, Qt binaries and Qt libraries are in /usr/include/qt4, /usr/bin and /usr/lib/qt4 respectively. QTDIR is set on \usr\bin as well (I copied headers and libraries into places similar to those used in linux, to try and be more comfortable with unix makefiles).

After set MAKESHELL=cmd.exe qmake worked without problems, but after issuing make the result was this error message:

******
[U:\progetti\qt-creator-2.0.0-src]make
cd src && make -f Makefile
make[1]: Entering directory `U:/progetti/qt-creator-2.0.0-src/src'
cd libs && make -f Makefile
make[2]: Entering directory `U:/progetti/qt-creator-2.0.0-src/src/libs'
cd qtconcurrent && make -f Makefile
make[3]: Entering directory `U:/progetti/qt-creator-2.0.0-src/src/libs/qtconcurrent'
g++ -Zomf -Zstack 0x2000 -Zlinker "DISABLE 1121" -s -Zdll -Zhigh-mem -Zmap -o ..\..\..\lib\qtcreator\QtConcurrent.dll ..\..\..\lib\qtcreator\QtConcurrent.def -W
l,@OBJECTS.QtConcurrent.rsp -Lu:\usr\lib -Lu:\progetti\qt-creator-2.0.0-src\lib\qtcreator -lQtGui -lQtCore
weakld: cannot open library file 'u:\usr\lib\qt4\QtGui_s.a'.
emxomfld: weak prelinker failed. (rc=8)
make[3]: *** [..\..\..\lib\qtcreator\QtConcurrent.dll] Error 1
make[3]: Leaving directory `U:/progetti/qt-creator-2.0.0-src/src/libs/qtconcurrent'
make[2]: *** [sub-qtconcurrent-make_default-ordered] Error 2
make[2]: Leaving directory `U:/progetti/qt-creator-2.0.0-src/src/libs'
make[1]: *** [sub-libs-make_default-ordered] Error 2
make[1]: Leaving directory `U:/progetti/qt-creator-2.0.0-src/src'
make: *** [sub-src-make_default-ordered] Error 2

******

It seems that the linker is trying to access QtGui_s.a instead of QtGui4.lib, which is the library file in our Qt distribution.

I remember I was able to port some Qt 4 application with 4.5 and 4.6 release, but now I'm stuck and I don't know what the problem might be.

Some help, anyone?

Mentore

247
Programming / Re: Lua 5.2.4 for eComStation has been uploaded ...
« on: May 10, 2015, 06:29:44 pm »
... to the Hobbes FTP server.

Yours,

Alex

Hello Alex, and many thanks for this port. I know many applications use Lua, so this may come in handy.
One question / request: is it possible to port also the Lua library files? I remember some useful software which uses liblua that I couldn't port because porting Lua was impossible for me.

Thanks in advance,
Mentore

248
Multimedia / Re: [Uniaud] No sound even if audio card is recognized
« on: April 30, 2015, 10:23:06 am »
Hi Mentore

I just tried unimix -powerget:-

[H:\MMOS2]unimix -powerget
Command line mixer for UNIAUD. Version 0.05
Copyright 2004,2005 by Netlabs.org
Written by Vlad Stelmahosky aka Vladest
Detected UNIAUD version 1.92
Detected 2 audio adapter(s)
power state: 0

[H:\MMOS2]


If power state: 0 is "Off" why do I have system sounds, audio playback from media players and seamonkey plugins?

Well, it seems my initial guess was wrong - power state 0 might mean "correctly working" or something.

Quote
I notice that we are using differnet builds of uniaud and unimix - I must get around to updating sometime.

I also notice that you are using a different uniaud to the build you thought you were using:-

Playing with unimix options on Uniaud 1.09.06 I tried the powerget option and got

[D:\]unimix -powerget
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.01


I suggest checking that you have the correct \mmos2\dll\uniaud.dll to go with the installed build of uniaud as a mis-match could cause problems.

Have you got a list of mixer controls and checked if the required switches are enabled and volume levels set?

Regards

Pete

Thanks Pete. This is strange, because I took everything from the uniaud 1.09.06 package (included unimix and uniaud.dll) and replaced the old ones, just to make sure... I will try some other options before reverting to installing a sound card.

Mentore

249
Multimedia / Re: [Uniaud] No sound even if audio card is recognized
« on: April 29, 2015, 10:09:41 pm »
Hi Mentore

If System Sounds are not working make sure that there is a sound scheme selected - for some reason that setting seems to simply disappear every now and again to be replaced by <none> on my eCS2.1 system.

If that does not help I would guess that the problem is either no output volume or output is not enabled.

I'm currently not using system sounds - I disable them even in my other machines because they bother me a little.

Playing with unimix options on Uniaud 1.09.06 I tried the powerget option and got

[D:\]unimix -powerget
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.01
Detected 1 audio adapter(s)
Getting power state for adapter 0: ...power state=0


I tried to use the powerset option and got this:

[D:\]unimix -powerset1
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.01
Detected 1 audio adapter(s)
Setting power state for adapter 0: 0...Success


I don't know anything about these two options, but I might think that power state 0 means audio card is shut down or something... And that I can't enable it. Am I right? If this is correct, I'm afraid the only solution will be to take back my some of my old PCI audio cards (I don't remember if I have one spare, though) or buy one recognized by Uniaud.

Mentore

250
Multimedia / [Uniaud] No sound even if audio card is recognized
« on: April 27, 2015, 07:36:43 pm »
Hello all, I made some experiments but I'm stuck. Here's the situation:

I have an eCS 2.1 UK edition, which is working really nice (even if Firefox is a little less performing and stable than the Windows version - but I greatly praise the developers of the OS/2 version!).

I would like to use this machine also for audio editing, other than porting software (in fact, I'd like to try and port Audacity), but currently I have no sound at all. The uniinfo test program reports, for ALSA helper:

00-00: ALC662 rev1 Analog : ALC662 rev1 Analog
 : playback 1
 : capture 1

00-01: ALC662 rev1 Digital : ALC662 rev1 Digital
 : playback 1
 : capture 1

OSS32_Initialize: SUCCESS. Cards=1

But, trying to set the output volume:

U16: MixerSetVolume: OSS16_MixSetVolume failed!!

This is the uniaud.dll card info:

  id: Intel
  driver: HDA-Intel
  name: HDA Intel
  longname: HDA Intel at 0xfeaf8000 irq 16
  mixer: Realtek ALC662 rev1
  componenets: HDA:10ec0662,18493662,00100101


So it's an HDA audio card with ALC662 mixer. I'm using the latest ACPI on a dual core Intel CPU, ASRock motherboard.

I tried to take a look into the compatibility grid from Netlabs, but even trying multiple versions of Uniaud, I still can't get no sound. This is becoming sad... My eCS machine is way faster than the WinXP laptop I'm using for these works (plus, I love WPS).

Of course one solution would be disabling the onboard audio card and getting something else on a PCI slot, but I'd prefer not to add cards if unnecessary.

I hope someone will point me in the right direction, because I'm currently stuck. Thanks in advance!

Mentore

251
Applications / Re: Test build of GCC 5.1.0
« on: April 27, 2015, 08:56:45 am »
Hi All,

Test build of GCC 5.1.0

http://smedley.id.au/tmp/gcc-5.1.0-os2-20150426.zip

Feedback appreciated!

Cheers,

Paul

Downloading it right now. As soon as I can I'll give it a try. Thanks!

Mentore

252
Programming / Re: trying a first port
« on: February 16, 2015, 09:40:30 am »
EMX is old and superseded by klibc, http://trac.netlabs.org/libc/wiki, more on that below.
We don't really have a good bash port, I've found the best shell to be pdksh, available on hobbes. Generally configure scripts will run with just setting exeext and even libtool can produce working dlls with minimal patching (does everything right then symlinks the import lib to the dll due to long and short names not matching, OS/2 has a 8.3 limit on dlls)
Currently most people are using yum/rpm to install a build environment as well as other software. Most software is close to up to date, eg GCC 4.9.2, Python 2.7.6. See http://trac.netlabs.org/rpm/wiki

Hello Dave, could you please explain better "setting exeext"? I didn't know about that.

(Actually I'm not getting more than command line programs. Seems my SDL and Qt configuration is broken, so that Cmake and configure scripts cannot continue. Will solve it asap.)

253
Applications / Re: Graphical package management utility (Arca Noae)
« on: December 23, 2014, 11:34:08 am »
I was just reading Arca Noae's updated roadmap...

Quote
Graphical package management utility

A user-friendly interface for managing rpm packages (and eventually, WarpIn archives) is currently in beta testing (December, 2014). The goal of this application is to ease some of the burden of keeping OS/2 systems up to date. It will be compatible with software repositories beyond Arca Noae, bringing value to all OS/2 and eComStation users, and will be distributed free of charge under GPLv3. By adding support for WarpIn archives, we get closer to attaining a single point of managing software and driver updates.

This will be very interesting and I'm looking forward to see how it works.

Regards

Quite interesting for me too. A "standard" installation interface would be a good add-on.

Mentore

254
Programming / Re: Replacing OS/2 parts
« on: December 16, 2014, 08:55:04 am »
Or GNU LGPL so that licenses can be mixed and Wolfgangs code stays open

I agree with both you and Martin. That said, I feel adequate to reward Wolfgang.

Mentore

255
Applications / Re: Gimp install problem
« on: December 10, 2014, 10:38:18 am »
Hi Alex. I never owned a eCS 1.x license and I'm pretty sure that at one point Hob software offered hobx11 for free (probably just before dropping it) and I downloaded it from their site. It's always worked fine on Warp V4 where I installed it and looking at \hobx11\ini.ini in a text editor I see my name, company name and a serial number. Seems previously I did try the evaluation version but as X worked fine at the time I didn't pursue it.  It's over a decade ago so I might be mis-remembering.

Maybe this

http://www.os2voice.org/vnl/past_issues/VNL1103H/vnewsf4.htm

could be of some help. I didn't install HOB since my first eCS 1.0 days, so I can't confirm it will work. That said, I'm interested in getting GIMP on OS/2, waiting for Paul to bring up his PM version ;)

EDIT

http://mail.2rosenthals.com:8100/Lists/gnuports/Message/309.html?Language=french

this is useful.

Pages: 1 ... 15 16 [17] 18 19