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 ... 370
1
Article Discussions / Re: Games with older SDL and FSLIB
« on: August 31, 2025, 06:45:30 pm »
Hello Dave

Too bad it does not compile.

Can we move to the next one, Lopan?
- https://github.com/OSSGames/GAME-SDL-BOARD-Lopan

Regards

Yea, I think it might have been building a test program and failing due to the wrong calling convention. Tried a different port too, it had its own sound library that failed to compile due to missing priority.h or such and I lost interest.
I'll try Lopan in a couple of days as I'll be away from my computer till Tuesday.

2
Internet / Re: Mypal68: A possible alternative browser?
« on: August 30, 2025, 06:30:50 pm »
Other challenges.
Browsers have gone multi-process where each tab or at least each domain runs in its own process. They communicate with local sockets and our local sockets, meant for things like syslog, isn't up to it. If you run Dooble, you might notice it is in single process mode, which is only there for debugging purposes and is unsupported. If you put Dooble into multi-process mode, it becomes unstable. Multi-process also uses more memory, not too bad as most of the code is shared in DLL's.
Compiling. Firefox moved to Rust, memory intensive and a really crappy language for compatibility with itself. For example, something compiles with version 1.0.16 won't compile with 1.0.17. numbers might be off but minor version changes break stuff. Probably unusable on a 32 bit platform.
Modern C++ also can be pretty memory intensive, I've seen 2GB of memory used to compile one file. Makes it hard to run multiple jobs without running out of memory. Memory also gets fragmented where sometimes only a reboot will fix the fragmentation.
Linking the large DLL's, same problem with memory. Often need the whole address range (VIRTUALADDRESSLIMIT=3072) to link.
Actually it is pretty amazing how well OS/2 does in the memory department considering it was optimized to run on 4MB (really needed 8MB to use the WPS) and was developed in a time when 16MB of ram was a lot.

3
Internet / Re: Mypal68: A possible alternative browser?
« on: August 29, 2025, 12:04:42 am »
Some browser basics first. Most browsers have a backend and a frontend. Mozilla for example uses Gecko and the SpiderMonkey JS engine, with Gecko doing the all the rendering stuff. We use Gecko 45 in our Mozilla apps. The front end with Mozilla is Firefox, also SeaMonkey and Thunderbird, all using the same rendering engine and JavaScript engine. Web pages look basically the same whether viewed in FF, SM or even TB. SM and TB also use MailNews, another backend.
So the frontend is basically the UI. To be portable, the frontend uses OS specific widgets to draw the graphical stuff. Mozilla has widgets for each OS it supports to look native. Mozilla's license is MPL, similar to GPL or LGPL. The backend is usually more portable, though now a days uses some advanced OS stuff.
Chromium is BSD licensed with the source available. Chrome adds a bunch of closed source Google stuff. Chrome/Chromium is the frontend, the backend is Blink and the V8 JavaScript engine. There are a lot of browsers that use Blink and are usually considered Chrome based. This includes our Dooble port.
The problem with Chrome is the widget set. In open source there are 2 main widget sets, GTK, currently usually GTK3 and Qt, mostly Qt6 today.. Chrome and most of the other browsers based on the same backend uses GTK3, which we do not have a port of and porting it would take a lot of time and energy by a knowledgeable developer or team. So most of these Chrome based browsers are not going to work.
The Qt people have ported the backend and some of the Widgets to Qt, latest to Qt6, which also has the SimpleBrowser as a proof of concept. We do have the Qt widget set thanks to years of work by Bitwise, with current work on Qt6 being done by Paul. Wasn't that many changes between Qt5 and Qt6.
So basically most Chrome based browsers including Supermium would need GTK ported to OS/2, a huge job and is not going to happen without a lottery win or such.
We can use the same backend with Qt based browsers, we're doing it with Dooble, which sadly seems the only Qt based browser being worked on. And it only has one developer behind it. The frontend works great on OS/2 but we still need more work on the widgets, drag'n'drop for example needs to be implemented.
Bitwise, and now Paul have also done work on porting the backend but we've run into limits of our OS, including being 32 bit. Until someone very knowledgeable, like dmik of Bitwise can figure out how to proceed, we're stuck.
Another advantage these Win32 browsers have is they can be built on a 64 bit system. We don't have that option, which is one of the big problems, lack of address space for building.

4
Article Discussions / Re: Games with older SDL and FSLIB
« on: August 25, 2025, 05:15:39 am »
Hello Dave

Do you have some time to check the next one?

Kobo Deluxe
https://github.com/olofson/kobodeluxe

Regards

Having a problem with cmake finding SDL_image, perhaps getting confused by pkg-config finding the SDL installed by YUM.
Code: [Select]
-- Found PkgConfig: W:/USR/BIN/pkg-config.exe (found version "0.29.1")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found SDL: W:/usr/lib/SDL_dll.a;-lpthread (found version "1.2.15")
CMake Error at W:/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find SDL_image (missing: SDL_IMAGE_INCLUDE_DIRS)
Call Stack (most recent call first):
  W:/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  W:/usr/share/cmake/Modules/FindSDL_image.cmake:91 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/CMakeLists.txt:92 (find_package)


-- Configuring incomplete, errors occurred!

I did set SDL_IMAGE_INCLUDE_DIRS

5
There are backup programs for the WPS floating around. Haven't used one for a long time but basically back up the desktop directory, the ini files, config.sys and such.

6
There's always the option of having another partition of 2GB, or slightly smaller for those old programs.
As for boot partition, it depends on things like where the RPM stuff is and even HOME is used more. Here, I have 8GB for boot and the RPM stuff etc has filled a good chunk of it. Used to put the RPM stuff on a different partition.

7
General Advertisements / Re: Suntan Special 0.69
« on: August 19, 2025, 10:51:20 pm »
Firefox 45.9 connects fine here, but I don't have the credentials. Shouldn't need a certificate and TLS for a regular FTP connection but I guess it could be setup in such a way.
Our wget is compiled with TLS support but looking at the help, it is only for HTTPS. Testing here, I get,
Code: [Select]
H:\>wget ftp://ftp.blondeguy.com/pub
--2025-08-19 13:45:00--  ftp://ftp.blondeguy.com/pub
           => 'pub'
Resolving ftp.blondeguy.com (ftp.blondeguy.com)... 63.249.102.192
Connecting to ftp.blondeguy.com (ftp.blondeguy.com)|63.249.102.192|:21... connected.
Logging in as anonymous ...
Login incorrect.
I guessed at pub.
Wonder if it is an issue with needing a passive connection, though Firefox seems to work here. Try installing ncftp as it works well with passive connections and can handle all types of FTP protocols.
Code: [Select]
H:\>ncftp ftp.blondeguy.com
NcFTP 3.2.6 (Dec 04, 2016) by Mike Gleason (http://www.NcFTP.com/contact/).
Resolving ftp.blondeguy.com...
Connecting to 63.249.102.192...

ProFTPD Server (ProFTPD) [63.249.102.192]
Logging in...
Login incorrect.
Sleeping 19 seconds...

Start ncftp with no parameters and enter help for how to pass user and password.
Edit: ncftp is available as an RPM, yum install ncftp

8
General Advertisements / Re: Suntan Special 0.69
« on: August 19, 2025, 06:28:49 pm »
Some open access points such as my library block FTP, doubt that home setups do the same. As for your server, unless it goes down at the wrong time, it shouldn't be a problem.

9
Storage / Re: USB Floppy Drive Setup.
« on: August 19, 2025, 05:23:13 pm »
In the linux world, I would do something like strace command.com - and trace through the system calls. How can that be accomplished in AOS?

See Computer-->Help Center-->Troubleshooting-->Trace Facilities for the documentation. Not sure if possible to trace DOS and know little about it. There is an strace command.

10
General Advertisements / Re: Suntan Special 0.69
« on: August 19, 2025, 12:39:09 am »
It connects here from western Canada, wants authentication though.
What is the result of,
Code: [Select]
tracerte ftp.blondeguy.com
Should end with,
Code: [Select]
19  blondeguy.com             (63.249.102.192)  50 ms  50 ms  50 ms
or similar.
BTW, from Firefox, ftp://ftp.blondeguy.com

11
Storage / Re: USB Floppy Drive Setup.
« on: August 17, 2025, 01:23:32 am »
Yes, that is the one, and as Dan has a Thinkpad, might be worth testing.

12
On NT, FAT32 won't support EA's, FAT actually does (might have to be formatted on OS/2). NTFS does have a stream dedicated to OS/2 EA's, even supports codepages unlike a normal stream or file on NTFS which use UTF. Unless MS has removed support.
I'd guess vbox itself fails to transfer the EA's.
On Linux, only some file systems support EA's, or as they call them, xttr's and it has to be turned as a mount command. Ext4 for example only supports 4kb xttr's, others such as JFS support 64kb or more. I notice on Mint, mounting an OS/2 JFS partition doesn't seem to enable xttr's, though it does mount them as case insensitive as it should.

13
Storage / Re: USB Floppy Drive Setup.
« on: August 16, 2025, 04:43:59 am »
There are illegal archives of some OS/2 source floating around, never officially released.
The problem with DOS sessions and newer hardware in BIOS mode is it is dependent on the graphic cards BIOS which is usually broken in one way or another on most recent hardware. You might be able to open a DOS full screen session and switch it to windowed and have it work. UEFI mode fixes a lot of these issues as AOS installs its own video BIOS.
There's also a driver floating around that fixes some DOS issues, the name escapes me right now.

14
General Discussion / Re: What do you use for screen captures?
« on: August 16, 2025, 04:06:58 am »
Simplest is Gotcha!, press PrtSc to see it in action. It lives in Programs-->Installed Software-->Gotcha!.
Personally, I like Embellish, http://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/apps/graphics/paint/Embellish_2-02.zip which was a commercial program. There's lots of others, http://hobbesarchive.com/?path=%2fpub%2fos2%2fapps%2fgraphics%2fscrncapt

15
Article Discussions / Re: Games with older SDL and FSLIB
« on: August 15, 2025, 08:24:19 am »
No code changes, it compiled cleanly, just changed the SDL12 lib. I'll upload that change and the .gitignore file I added tomorrow.

Pages: [1] 2 3 ... 370