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 - Dave Yeo

Pages: [1] 2 3 ... 381
1
I haven't seen anything about anyone running ArcaOS 5.1 virtually on a Mac but I will look for that or maybe someone is doing it with UNIX/Linux and maybe I can do it that way in the future. But I would MUCH rather work with people in any way that I can to help create a 64-bit version of OS/2 which can run everything the 32-bit version can run PLUS run native 64-bit OS/2 apps too. (The odds that Microsoft would agree to let us run 32-bit/64-bit Windows apps on OS/2 is close to negative one billion or lower but who knows, anything is possible.)

You can't run ArcaOS, or any X86 OS, virtually on a newer Mac, different CPU architecture and virtual means mostly using the hosts CPU. You have to emulate it and there are people running ArcaOS in Dosbox-X of all things. QEMU can also do the job. Someone did at point boot ArcaOS 5.1 on real hardware on an Intel Mac.
As for a 64 bit OS/2, the CPU architecture does not allow mixing 16 bit and 64 bit code, and our kernel is largely 16 bit along with things like device drivers at the low level and still some of the API.
So need a new kernel, device drivers, some API updated, even cmd.exe is 16 bit. And even then old 1.x software would not run, same with DOS and Win16. A huge job.

2
Programming / Re: Dipping my toes into OS/2 programming!
« on: March 04, 2026, 04:57:19 am »

Doesn't OpenWatcom mean using some seriously ancient C/C++ language standards? Any idea why it's preferred over gcc?

While old, OW has things like a resource compiler and was more targeted to OS/2. It is also very stable. Documentation is better too. The toolkit also has a lot of documentation and OW can easily use the toolkit.
Though GCC can use some of the OW tools like the resource compiler and even often uses the same linker depending on flags.
OW also supports 16 bit programs, most important for device drivers.

Quote
b) If you want to port things from the Linux word you can use "gcc" and some libraries like "Qt5" and SDL.

Nah, I want to learn to do it right!  :D

Quote
c) Do you want to create a WPS application.... prepare to suffer  ;D ;D
Maybe you should start with PM first and later learn about WPS.
Quote
So what's the actual difference here? My understanding was that WPS was just a shell on top of PM, like how in Windows, Explorer is a shell on top of GDI, but I'm getting the impression that's way off!

Well, while the WPS is just a shell on top of the PM, it is also fully object orientated, eg the Desktop is descended from the folder class, so is basically a folder. Also the media player in AOS (music mostly) is also based on the folder class, a folder with music widgets. You can also use most any language to write for the WPS, rather then being stuck with C++, through idl's and the SOM compiler.
Basically, Explorer is just a really bad copy of the WPS.

3
Programming / Re: Dipping my toes into OS/2 programming!
« on: March 04, 2026, 04:34:25 am »
Is there an OpenSSL port with headers, etc?

Code: [Select]
yum install openssl-develOr use ANPM to do the same.

4
Applications / Re: ODIN Revisited
« on: March 03, 2026, 08:01:54 am »

5
Internet / Re: Firefox and disk cache - not using it, but why?
« on: March 01, 2026, 11:08:26 pm »
Quite possible I broke something over the years with security fixes from tenfour, changes to compile under the newer GCC etc, as I never checked the cache. It does work to a degree, after shutting the browser down and restarting some pages load from cache, though not as many as do under newer SM on Linux. SM, FF and TB share the code.
I have no idea where the cache code resides and don't feel motivated to explore the issue as it is working well enough in this broadband era.

6
Internet / Re: Firefox and disck cache - not using it, but why?
« on: March 01, 2026, 12:09:57 am »
I seem to have the same behaviour here. With SM as well. Wonder if one of updates broke something.
One thing I do is keep the cache on my ram disk so as not to wear my SSD. On Firefox need to add the string preference browser.cache.disk.parent_directory and point it to where you want.
I'll keep an eye on the cache

7
Hardware / Re: Problem with Panorama resultion
« on: February 27, 2026, 04:11:43 am »
You might be out of luck. Panorama depends on the video bios and sometimes that video bios seems to initialize different ports differently.
Hopefully others have other ideas. I'd suggest a ticket but if you're running 5.06 you're likely out of support.

8
Internet / Re: Mypal68: A possible alternative browser?
« on: February 26, 2026, 12:34:05 am »
It should compile to 32 bit, above the poster says he is using it on XP, which is generally 32 bit.
Problem is that it would need a lot of porting. As I mentioned, we have some of the needed stuff such as the widgets but there are classes that need porting and who knows what else. I don't have the skills to compile iceweasel, if someone else did, I could probably compile iceape and icedove. Just like with our Mozilla where once Firefox was done, I could do SM and TB, though they still have a few bugs such as oauth2 being broke.

9
Here it varies. Yesterday the site just timed out. Today it is working well so far.

10
Programming / Re: Please test os2emx-cross-toolchain
« on: February 20, 2026, 01:36:23 am »
OK, got pissed off chasing a libiconv package so downloaded the source and installed it in /usr/local, remembered to run sudo ldconfig and,
Code: [Select]
dave@dave-ThinkCentre-M910s:~$ i686-pc-os2-emx-g++ --version
i686-pc-os2-emx-g++ (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Have to play with it later and look up cross-compiling.

Edit: Now I get,
Code: [Select]
/home/dave/opt/os2emx/bin/../libexec/gcc/i686-pc-os2-emx/9/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory

Looks like libmpfr.so.4 is old and no package available. Have to build version 3 by the looks of it. Current is 4.2.2
Edit2: Ok, built a simple C program using configure and it runs on OS/2, both with -Zomf and without.
Test G++ next.
BTW, used,
Code: [Select]
export CC=i686-pc-os2-emx-gcc
./configure --host=i686-pc-os2-emx --build=x86_64-linux-gnu LDFLAGS=-Zomf
Edit3: g++ also worked fine.

11
Programming / Re: Please test os2emx-cross-toolchain
« on: February 20, 2026, 01:02:44 am »
OK, seems mc screwed up the untar. Running from the command line seems to have properly worked.
Now seems I have the wrong libiconv
Code: [Select]
dave@dave-ThinkCentre-M910s:~$ i686-pc-os2-emx-g++ --version
i686-pc-os2-emx-g++: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
And I don't seem to have iconv installed,
Code: [Select]
dave@dave-ThinkCentre-M910s:~$ sudo apt install iconv
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package iconv is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'iconv' has no installation candidate

12
Programming / Re: Please test os2emx-cross-toolchain
« on: February 20, 2026, 12:15:59 am »
Downloaded the latest tar.xv and untarred it under ~ Trying simple commands fail,
Code: [Select]
dave@dave-ThinkCentre-M910s:~$ export PATH=~/opt/os2emx/bin:$PATH
dave@dave-ThinkCentre-M910s:~$ i686-pc-os2-emx-gcc --version
bash: /home/dave/opt/os2emx/bin/i686-pc-os2-emx-gcc: cannot execute binary file: Exec format error
dave@dave-ThinkCentre-M910s:~$ i686-pc-os2-emx-g++ --version
bash: /home/dave/opt/os2emx/bin/i686-pc-os2-emx-g++: cannot execute binary file: Exec format error
dave@dave-ThinkCentre-M910s:~$ echo $PATH
/home/dave/opt/os2emx/bin:/home/dave/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
ls -la does show the files with the x bit set.

Edit: This is current Linux Mint
Edit2:
Code: [Select]
dave@dave-ThinkCentre-M910s:~/opt/os2emx/bin$ file i686-pc-os2-emx-gcc
i686-pc-os2-emx-gcc: POSIX tar archive (GNU)
and looking at the file, it does look like the exe tarred with ustar by komh.
I'll try different untar commands and/or installing ustar

13
Storage / Re: Sharing drive between OS/2 and linux
« on: February 19, 2026, 10:31:44 pm »
Hi mauro, it is like giving a partition a drive letter on OS/2. Linux has a JFS (and HPFS) driver so mounting an OS/2 JFS volume gives you direct access to the file system without any overhead like Samba or shared folders.
Can even do fsck (chkdsk) on the file system which can be handy.

14
Internet / Re: Mypal68: A possible alternative browser?
« on: February 19, 2026, 04:41:22 pm »
It should compile on OS/2, it uses UXP, the Gecko fork that PaleMoon uses. PaleMoon itself should compile on OS/2 but it would take a lot of porting. We do have the widgets etc from Gecko (Firefox) but it would be quite a bit of work from someone knowledgeable. And that's the problem, an interested programmer with a lot of time.

15
Games / Re: Dosbox and Dosbox-X
« on: February 18, 2026, 06:42:20 am »
Yes, I saw that after. Unluckily the only ones that make sense for our platform are surface and ttf. TTF does sorta work and fills up the desktop when choosing full screen. Not sure what would happen using a graphical mode.
Seems there are limits to the SDL surface, at least with Panorama.

Pages: [1] 2 3 ... 381