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 4 ... 208
16
Applications / Re: FeatherPad for OS/2
« on: July 10, 2021, 12:21:33 am »
Could just replace UNIX type paths with LIBC type paths or simply not mention it.

17
Applications / Re: FeatherPad for OS/2
« on: July 09, 2021, 09:31:41 am »
I wrote an Readme for OS/2.
Can somebody please check, if is understandable and correct English?
You find it here: https://github.com/josch1710/FeatherPad/blob/master/README_OS2.md

It's mostly correct and understandable except the Unix style paths. Reading it, I would expect featherpad /w:/config.sys to work and it doesn't. The @unixroot is and isn't a valid Unix path, it's more like %UNIXROOT%\config.sys.
Not sure how to state it better, perhaps "Some Unix style paths work using substitution such as @unixroot/config.sys or absolute paths such as \config.sys or /config.sys"
Still doesn't look quite right though

18
Programming / Re: Writing on console with WINDOWAPI
« on: July 08, 2021, 05:48:49 pm »
Firefox does it by creating a console window, try doing x:\programs\firefox\firefox -help.
Probably not worth tracing down where the code to do that is as you just end up with a finished console window.

19
Applications / Re: FeatherPad for OS/2
« on: July 08, 2021, 05:32:06 pm »
So, I tried some stuff with VIO and such, but I couldn't get it to work.
Do we really need the ability to show the help text on the console?
I could write some readme and install it with the RPM.

Seems a readme including pointing out the tee or less trick would be fine. People already have to do similar to log messages with some programs such as the Mozilla apps.
It's a pretty short help anyways.

20
Applications / Re: FeatherPad for OS/2
« on: July 06, 2021, 11:39:14 pm »
featherpad --help also fails to do anything, the help says it should display all command line options in the terminal.
Interestingly featherpad --help | less makes the terminal disappear, doing the same in fc/2 also makes it disappear but clicking the icon brings it back displaying the command line help piped to less. Piping through tee works better with the window vanishing and then reappearing.
So needs to handle : likely already code for Windows to do that and there's something wrong with the terminal output.

Edit: Killing the less process brings the cmd prompt back

21
Applications / Re: FeatherPad for OS/2
« on: July 06, 2021, 11:34:40 pm »
Hi Andreas

If I execute:
Code: [Select]
featherpad c:\config.sysIt does not open the config.sys file on the app. I guess it is an app limitation then.

Regards

What does work is
Code: [Select]
featherpad config.sysand when I typo-ed confog.sys it even said the file doesn't exist.
What doesn't work is any form of drive letter, w:\config.sys, w:\\config.sys and w:/config.sys all fail. /config.sys and \config.sys succeed as long as I'm on the correct drive, w: in my case.
Seems the problem is the : which *nix uses like we use ;

22
Setup & Installation / Re: OS2 Warp 4.52 "vdi2hardware" result
« on: July 04, 2021, 06:09:53 pm »
... Hi Dave, sorry for going back to this, what about cloning this USB volume on an internal disk partition ? Could OS2 boot from there (ideally)?

Should work as long as the geometry of the partition is correct and the LVM info carries over, mostly the drive letter. The LVM info might not be so important if it is drive C:
Creating the partition with OS/2 aware tools and then xcopying the files it might be better.

23
Games / Re: OS/2 - ArcaOS - Native Games
« on: July 04, 2021, 06:16:26 am »
Digi's SDL trps the same.
What I think the bug is, is that it queries the list of possible full screen video modes, which here just returns one, 1680x1050 in my case, and then tries to go through the list of video modes to make sure they will work. At this point it crashes when trying to load the 2nd member of an array of one.
I'm not really a programmer and can't see the simple fix, I'll think on it some more.
The broken code is,
Code: [Select]
  else {
    IFDEBUG_VIDEO(sys_printf("xrick/video: SDL says, use these modes:\n"););
    for (i = 0; modes[i]; i++) {
      IFDEBUG_VIDEO(sys_printf("  %dx%d\n", modes[i]->w, modes[i]->h););
according to the trp report. the crash happens here (perhaps actually the 2 lines above?)
Code: [Select]
      if (modes[i]->w <= modes[mode]->w && modes[i]->w >= SYSVID_WIDTH &&
          modes[i]->h * SYSVID_WIDTH >= modes[i]->w * SYSVID_HEIGHT) {
        mode = i;
        fszoom = modes[mode]->w / SYSVID_WIDTH;
      }

Edit, pointed to crashing line.

24
Setup & Installation / Re: OS/2 installation on IBM T43 (intel based)
« on: July 04, 2021, 12:34:22 am »
Thank you!

I do have T43 already in my hands, but it is equipped with a measly Mobile Intel 915GM Express graphics. All the guides I have found were using T43 with ATI graphics as an example and not Intel. So while this all look daunting to me, if it is possible, I will try and will definitely update you all with my progress.

SNAP supports the Intel 915GM chipset. You never said what version of OS/2 you are installing. Odds are you will end up with only VGA graphics at first, but that's fine as after the install you can install SNAP. Doug might be able to guide you to getting the wireless working as well, it won't work out of the box.
SNAP can be found at https://hobbes.nmsu.edu/download/pub/os2/system/drivers/video/snap-os2-3.1.8.zip The ATI Thinkpads had a specially licensed build but SNAP is now freeware, serial number in the package.

25
Setup & Installation / Re: OS/2 installation on IBM T43 (intel based)
« on: July 03, 2021, 07:57:51 pm »
IIRC, the T43 used a SATA HD, so you might need to update the install floppies to use Dani's driver. Other then that it should install, though the graphics may not be ideal. Not sure about the network, you might luck out after install and be able to get the wireless working. I'd guess the wired Ethernet will work.
As Martin said, give it a try and post results.

26
Games / Re: OS/2 - ArcaOS - Native Games
« on: July 03, 2021, 07:40:17 pm »
Yes, it is the same trp. I used the Netlabs RPM to compile, I'll try Digi's later.

27
Do wget --help | less for the options.
Maybe
Code: [Select]
wget -r https://web.archive.org/web/20160312220056/http://os2notes.net/ untested.
edit maybe -m instead of -r, see the help output.

28
Games / Re: OS/2 - ArcaOS - Native Games
« on: July 03, 2021, 07:23:55 am »
It builds easy but crashes I believe while initializing the video.
To build, make sure MAKESHELL=sh.exe is in your environment.
Edit the parent makefile in the root directory by adding
Code: [Select]
-Zomf -lcx -Zmap -Zbin-files
to the echo LDFLAGS line at 76, then do make
Should build and leave a xrick.exe in the root directory. Look at the trp report. Make sure the sdl dbg packages are installed as well as the devel ones.
xrick --help does work.
You can edit include/config.h to turn on debugging, change the line #undef DEBUG to #define DEBUG and it will print some stuff.
Do a make clean before rebuilding.
Here's my binary with debugging on and sound disabled.

29
Well, ideally you would have an ArcaOS install that you use occasionally so if you find a problem, you can double check on ArcaOS.
It is good for you to test the stuff available by subscription as that is targeted at Warp V4 and newer, some stuff like the kernel has a more restrictive license, so blame IBM and Arca Noae having to accept that for the right to patch the kernel.

30
For anyone following along, these changes are in exceptq, eg from history,
Quote
Thu Apr 23 20:18:24 2020  Steven H. Levine <steve53@earthlink.net>
        * exceptq.dll v7.11.5-shl BETA2
          Search for .xqs files before .sym files.
          Report DLLs loaded in high-memory.
          Report address and size of loaded DLLs (1st code object only).
          Report OS2KRNL timestamp and size.
...

Pages: 1 [2] 3 4 ... 208