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 ... 289
Programming / Re: Compiling a PM sample with GCC (2023)
« on: Today at 03:05:47 am »
Changing Id to a LONG at line 1562 is one solution.
As for the RC, ideally there should be some error checking there.
Edit: while the documentation shows using rc, the example doesn't and considering the possible errors, guess it isn't really needed to do error checking

Programming / Re: Compiling a PM sample with GCC (2023)
« on: May 28, 2023, 08:35:29 pm »
Some of these warnings seem bogus. I played with the braces in the first warning, the warning only changed. The RC warning is obviously wrong as it is used a few lines down and removing it results in an error about it missing.
The case ones I don't understand, thought case was a keyword. They're the only warnings that show if -Wall is removed from CFLAGS.

Programming / Re: Qt6 Application Testing
« on: May 27, 2023, 07:41:26 am »
Perhaps you should also make the txt files from git dooble/Data available, especially the blocklist, dooble_accepted_or_blocked_domains.txt which really helps stability. Then Martin can add them to post #1

Programming / Re: Compiling a PM sample with GCC (2023)
« on: May 27, 2023, 02:21:18 am »
Looking at os2emx.h, the typedef is guarded by #if defined (INCL_WINDIALOGS) so the fix is,
Code: [Select]
--- CNREZ.C.orig        2023-05-26 17:16:48.000000000 -0700
+++ CNREZ.C     2023-05-26 17:16:14.000000000 -0700
@@ -51,6 +51,7 @@

 /*----------------------------- INCLUDES -----------------------------*/

Programming / Re: Source Code Text Editor Suggestions
« on: May 26, 2023, 12:37:03 am »
I mostly use FC/2 and eFTE/2, which comes in text and PM versions and seems to have most all what you require, plus it's a folding editor, fold functions to make editing easy. Can be setup to run make etc as well.

Web applications / Re: Dooble releases, Qt5 builds
« on: May 24, 2023, 04:16:29 pm »
Hi All,

If fonts are not included in the css file, then Dooble does not display them?
I see some pages empty.

There's problems SVG, perhaps half don't seem to be displayed and they're often used to display fonts.

Applications / Re: WipeOut
« on: May 23, 2023, 06:09:22 pm »
Did you uninstall Doodles Screen Saver? Not sure about having two screensavers installed, seems like they'd conflict.
There's also some updates available on Hobbes, one of which says it is needed for Warp V4 IIRC.

Applications / Re: WipeOut
« on: May 23, 2023, 01:14:24 am »
It might be hard coded to use A:, not sure what you can do about that.

Applications / Re: WipeOut
« on: May 22, 2023, 11:42:14 pm »

Programming / Re: Compiling a PM sample with GCC (2023)
« on: May 22, 2023, 11:37:49 pm »
OK, I guess it is correct. You must have left driver.exe in the prerequisites for driver.exe, at least I had to add it to get the circular dependency.
The map files come about from adding -Zmap. Handy for doing things like checking exports, which I added them for, other type of debugging or creating xqs files,
Code: [Select]

Here's my full makefile, renamed to have .txt

A simple test, start 2 vdm sessions, poke some memory in one and peek at the same memory in the other and see if the pokes affect the other VDM.

Hardware / Re: Resolution Assistance
« on: May 22, 2023, 10:48:36 pm »
X11 here works fine with VGA, tried it with DisplayPort and it couldn't even find the video bios, which was weird.

It was something either in DP or the cable itself converting to HDMI (non/active vs active?)

Actually it was a DisplayPort to DVI converter, which might have been the problem. Old monitor (1920x1200) only supports VGA and DVI.

Programming / Re: Compiling a PM sample with GCC (2023)
« on: May 22, 2023, 10:31:26 pm »
Code: [Select]
--- makefile.orig       2023-05-22 12:59:54.000000000 -0700
+++ makefile    2023-05-22 13:25:20.000000000 -0700
@@ -6,11 +6,14 @@
 #  Make: nmake or GNU make
 all : driver.exe

-driver.exe : driver.obj Controls.obj driver.def
-       gcc -Zomf driver.obj Controls.obj driver.def -o driver.exe
+driver.exe : driver.obj controls.lib driver.def
+       gcc -Zomf -Zmap -lcontrols driver.obj driver.def -o driver.exe

 controls.dll : Controls.obj Controls.def
-       gcc -Zdll -Zomf  Controls.obj Controls.def -o Controls.DLL
+       gcc -Zdll -Zomf -Zmap  Controls.obj Controls.def -o Controls.DLL
+controls.lib : Controls.obj Controls.def controls.dll
+       $(shell emximp -o controls.lib Controls.def)

 driver.obj : driver.c Controls.h
        gcc -Wall -Zomf -c -O2 driver.c -o driver.obj
@@ -19,4 +22,4 @@
        gcc -Wall -Zomf -c -O2 Controls.c -o Controls.obj

 clean :
-       rm -rf *exe *RES *obj
\ No newline at end of file
+       rm -rf *exe *RES *obj *lib *dll

The -Zmap is optional. The -lcontrols can also be simply controls.lib
 Controls.def file also needs
Code: [Select]

Still seems somewhat broken when executed
Edit: the def file also could be like the original,
Code: [Select]
EXPORTS    InitControls @ 1
if you'd rather export by ordinal

Web applications / Re: Dooble releases, Qt5 builds
« on: May 22, 2023, 06:06:05 pm »
Hi Igor, one way to do it is to install the official Dooble with YUM/ANPM and then to use that to download my builds.
And yes, it would be good to have somewhere better to host the files.

Pages: [1] 2 3 ... 289