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 ... 238
1
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: May 28, 2022, 04:46:32 am »
You could try adding DEVICE=X:\OS2\SDDHELP.SYS to your Panorama install with X: being your SNAP install and testing. Not likely to help but who knows.
Your lockup, does CTRL-ALT-F10 twice force a dirty reboot after failing to find a dump partition? Slightly cleaner then hitting the power button.

2
Applications / Re: Boycott Discussion
« on: May 27, 2022, 06:31:15 am »
Its not any statements against anybody or OS/4. You should not recommend to swap key system files to get an application to work. I think we should rather start to learn how to analyze the issue at hand and see if we can fix possibly. If you put an old version of PMMERGE.DLL, what can then be broken ?

That's my fault and I apologize. I saw mention that the trap was happening in PMMERGE.DLL and I remembered that the OS/4 team had squashed some bugs in that, so I figured it was worth a shot to try.

Nothing wrong with making the suggestion and doing the test. Do have to remember that using it will result in no support from Arca Noae and the very small possibility of being sued by IBM as, IIRC, the license doesn't allow reverse engineering.

3
Trying OAuth 2.0 on SeaMonkey, it seems to work with notifications happening on my phone to allow me to proceed but it seems to be hung on Sending login information...
Have to try restarting SM
Note that OAuth 2.0 seems to only be for IMAP and unavailable for POP

Edit: Restarting didn't help, nor did safe mode. Could be my profile but the error console shows a problem adding the new login and that it was sending an empty password.

4
I use the alternative, https://support.google.com/accounts/answer/185833, a one time app password, with Thunderbird, so should work on SeaMonkey.

5
Networking / Re: No files in network folders workplace shell
« on: May 22, 2022, 10:24:30 pm »
ok i dont know how to do that ?

Right click on the folder, open properties and click the include tab.
Seems I vaguely remember something about this issue but with only one computer, haven't used the networking stuff enough to be knowledgeable.

6
Programming / Re: getting a single keypress?
« on: May 21, 2022, 07:21:31 pm »
Hi Rich, the test program was written by Thomas the maintainer, based on the mpg123 code. It does run on the same thread so the DosSleep()  is required and the file itself is term_posix.c with HAVE_TERMIOS a requirement and Thomas did add the comment,
Code: [Select]
#ifdef __OS2__
// Hoping for properly working termios in some future (?!), but until then,
// we need keyboard access bypassing that.

It does seem to work well.

7
Programming / Re: getting a single keypress?
« on: May 21, 2022, 05:32:15 pm »
It didn't seem to work while a program was running.

8
Programming / Re: getting a single keypress?
« on: May 21, 2022, 03:45:54 am »
Yea, I'm not a C coder either. This is the code we ended up with, modded to also show the hex value,
Code: [Select]
#define INCL_KBD
#define INCL_DOSPROCESS
#include <os2.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/select.h>
#include <unistd.h>
#include <termios.h>

int term_fd = -1;

int get_key(int do_delay, char *val)
{
KBDKEYINFO key;
key.chChar = 0;
key.chScan = 0;
// optionally: sleep for a tiny bit
        DosSleep(5);
if(!KbdCharIn(&key,IO_NOWAIT,0) && key.chChar)
{
*val = key.chChar;
return 1;
}
return 0;
}


int main(int argc, char **argv)
{
if(argc >= 2)
term_fd = open("CON:", O_RDONLY);
else
term_fd = STDIN_FILENO;
if(term_fd < 0)
{
perror("failure opening terminal input");
return 1;
}
fprintf(stderr, "terminal fd: %d\n", term_fd);

struct termios old_tio;
int termsetup = 0;
if(!tcgetattr(term_fd, &old_tio))
{
fprintf(stderr, "proper terminal setup\n");
struct termios tio = old_tio;
tio.c_lflag &= ~(ICANON|ECHO);
tio.c_cc[VMIN] = 1;
tio.c_cc[VTIME] = 0;
tcsetattr(term_fd,TCSANOW,&tio);
termsetup = 1;
}

char val = 0;
while(val != 'q')
{
if(get_key(1, &val))
fprintf(stderr, "got key: %c %x\n", val, val);
}

if(termsetup)
tcsetattr(term_fd,TCSAFLUSH,&old_tio);
if(term_fd > 0)
close(term_fd);
return 0;
}
Only problem is that it gets a scan code first, which is ignored. Executable attached.
[/code]

9
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: May 21, 2022, 12:57:02 am »

I'm actually running tests on a tower, with an AMD hexcore processor and 3 Gb of usable memory installed (actually 8 GB in the system, but ArcaOS is not seeing the rest). Occasionally after installing the gamepad package previous to 2022-05-17 and with the current one, I've gotten a black screen trap, attempting to start a game with one of the xevents packages active.

I've attached a photo of the trap screen, if it is of any help - I have not determined a particular reason why it happens at the moment as I've only seen it four times and Best!


Hi Mark, that is a weird trap as it is a breakpoint, probably code that should never be reached and perhaps worth opening an issue with Arca Noae, especially if you could get a system dump of it. Unluckily if it is only occasionally trapping, it'll be hard to get a good dump as rally you should lower your memory, 3GB dump is big.

10
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: May 20, 2022, 02:00:51 am »
You could try disabling the shadow buffer in the screen object as a test. Graphics will be slow until you re-enable it.

12
Hi LuigiThirty, welcome.
Does the machine actually support ACPI? You could turn on logging in \mptn\etc\acpid.cfg (might have to copy the sample) and/or run AcpiStat to see if it says anything interesting.
Might need the old OS2APIC.PSD.
Really you should consider opening an issue at Arca Noae.

13
Programming / Re: Desktop Apps from JavaScript - Electron?
« on: May 18, 2022, 11:59:05 pm »
As far as I'm aware, Electron uses Blink & V8, which are the Chromium/Chrome rendering engine and JavaScript VM.

So it would basically require porting Chromium to OS/2 :(.

Dooble is Chromium based, so Blink or Webkit and V8 are available. What we would need is a framework. Looking quickly I don't see what Electron uses but I'd guess GTK.
Actually it seems to be its own framework. I see on Linux it does use GTK but a quick search doesn't show a QT version.
The equivalent under QT seems to be nodegui, https://github.com/nodegui/nodegui seems to use Mesa on Linux so 3D graphics probably needed or more porting.

14
Applications / Re: Test build of dooble with qt5
« on: May 18, 2022, 04:22:25 pm »
Hi,

I defined  https://duckduckgo.com/  as my home page
After system reboot and starting Dooble, its look loading the page but nothing is displaied (blank page)
I load an other web page and then back to duckduckgo home page and this time, it display the page as it should !
Tried several times (closed/started dooble) and same issue each time !

What could be the culprit ?
Thx

It's a bug that everyone seems to experience. There's an issue already open.

15
Setup & Installation / Re: UEFI Boot Manager for 5.1
« on: May 17, 2022, 02:21:32 am »
Yes, it is the plan. Can always use other boot managers such as rEFIND.

Pages: [1] 2 3 ... 238