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 ... 324
1
Applications / Re: lSwitcher v 2.94
« on: June 14, 2024, 02:22:40 am »
The latest version does not save the fonts for the widget that I drop from the Font Paletter. I have to set the font again after every reboot.

PS: I tried to register for a user mailing list (specified in Readme) and received a confirmation email. But the letter sent to the mailing list was never returned to me.
I then tried to register at http://trac.netlabs.org/ to create a ticket, but the registration did not work.

Registration at netlabs not working is a known issue. Work around is to subscribe to the community list and ask to be registered. It's a very low volume list.
community-subscribe at netlabs.org

2
Applications / Re: VLC Crashes While Streaming
« on: June 13, 2024, 03:53:10 am »
I found that vlc doesn't like slow connections.

3
Setup & Installation / Re: How to? python, pip and language tool
« on: June 13, 2024, 03:32:17 am »
Hmm, looking, virtualenv has been completely rewritten, so doubtful the patches would work. Also it has been years since I played with trying to get it to work.
Trying to do what you tried to do leads me to believe something is broken with Python3 and pip, it worked well with Python2, even building needed libraries.

4
Setup & Installation / Re: How to? python, pip and language tool
« on: June 12, 2024, 06:20:28 am »
Maybe try with virtualenv? Not sure if it works on OS/2 with Python3, it does work on Python2, Bitwise did work to get it working for building Mozilla.

5
Programming / Re: Compiling PM Samples with OpenWatcom
« on: June 11, 2024, 01:23:41 am »
This is sort of how I did with the screensaver. You need https://88watts.net/download/addtofile-1.03.zip, on your path or use the full pathname. With wmake there is a .before to run shell commands at the beginning of the build, have to look better at Gnu Make for similar. For now I adjusted compile.cmd like so,
Code: [Select]
rm -rf description.lnk
call AddToFile.cmd description.lnk,option description,BLDLEVEL,OS2World,1,Util-WPS-Scale
make -f makefile.wcc 2>&1 |tee make.out

and added @description to the wlink line in the makefile, not sure if it matters where, I added it just before the FIL SCALE.obj directive.
Code: [Select]
wlink name Util-WPS-Scale d all sys os2v2 pm op m op maxe=25 op q op symf @description FIL SCALE.obj

Code: [Select]
H:\tmp\UTIL-WPS-Scale>bldlevel Util-WPS-Scale.exe
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature:       @#OS2World:1#@##1## 10 Jun 2024 16:07:17     ARCAOS-444::::::@@Util-WPS-Scale
Vendor:          OS2World
Revision:        1.00
Date/Time:       10 Jun 2024 16:07:17
Build Machine:   ARCAOS-444
File Version:    1.0
Description:     Util-WPS-Scale

The line in compile.cmd can be adjusted of course, see addtofile.cmd. You could also directly add something like the contents of description.lnk to the makefile too, just that addtofile.cmd gets the date, time and machine dynamically.


6
Programming / Re: Compiling PM Samples with OpenWatcom
« on: June 10, 2024, 05:05:32 am »
Quick adaption of the log to GnuMake,
Code: [Select]
# nmake makefile
#
# Tools used:
#  Compile::Watcom Resource Compiler
#  Compile::GNU C
#  Make: GNU make
all : scale.exe

scale.exe : scale.obj
wlink name Util-WPS-Scale d all sys os2v2 pm op m op maxe=25 op q op symf FIL SCALE.obj

scale.obj : scale.c
wcc386 SCALE.C -i="G:\WATCOM\h;G:\WATCOM\h\os2" -w4 -e25 -zq -od -d2 -6r -bt=os2 -fo=.obj -mf

clean :
rm -rf *exe *res *obj

7
Programming / Re: Compiling PM Samples with OpenWatcom
« on: June 10, 2024, 04:50:48 am »
I just used the IDE to compile Util-WPS-Scale with the defaults plus PM program chosen. Here's the log.
Code: [Select]
cd H:\tmp\UTIL-WPS-Scale
wmake -f H:\tmp\UTIL-WPS-Scale\Util-WPS-Scale.mk -h -e
wcc386 SCALE.C -i="G:\WATCOM/h;G:\WATCOM/h/os2" -w4 -e25 -zq -od -d2 -6r -bt=os2 -fo=.obj -mf
wlink name Util-WPS-Scale d all sys os2v2 pm op m op maxe=25 op q op symf @Util-WPS-Scale.lk1
Execution complete

The IDE also left the makefiles. Works a bit different then GNU make, includes mk files and lnk files etc, directory listing afterwards,
Code: [Select]
Directory of H:\tmp\UTIL-WPS-Scale

 6-09-24  7:39p         <DIR>    124 ----  .
 6-09-24  7:38p         <DIR>      0 ----  ..
 6-09-24  7:26p           169    124 a---  compile.cmd
 6-09-24  7:39p           262      0 a---  dir.out
 6-09-24  7:26p           114    124 a---  FOO.CMD
 6-09-24  7:26p           146    124 a---  IBMC.CMD
 6-09-24  7:26p           145    124 a---  LINKUP.CMD
 6-09-24  7:26p           298    124 a---  makefile
 6-09-24  7:26p           351    124 a---  README.md
 6-09-24  7:26p         7,408    124 a---  SCALE.C
 6-09-24  7:26p           176    124 a---  SCALE.DEF
 6-09-24  7:26p        59,844    124 a---  scale.ico
 6-09-24  7:30p         8,111      0 a---  SCALE.obj
 6-09-24  7:26p         4,495    124 a---  SCALE.txt
 6-09-24  7:30p         7,140      0 a---  Util-WPS-Scale.exe
 6-09-24  7:30p            17      0 a---  Util-WPS-Scale.lk1
 6-09-24  7:30p         9,648      0 a---  Util-WPS-Scale.map
 6-09-24  7:30p           115      0 a---  Util-WPS-Scale.mk
 6-09-24  7:30p           737      0 a---  Util-WPS-Scale.mk1
 6-09-24  7:30p         7,897      0 a---  Util-WPS-Scale.sym
 6-09-24  7:30p           418      0 a---  Util-WPS-Scale.tgt
 6-09-24  7:31p           292      0 a---  Util-WPS-Scale.txt
 6-09-24  7:30p           254      0 a---  Util-WPS-Scale.wpj
 6-09-24  7:26p           236    124 a---  WAT.CMD
 6-09-24  7:26p         <DIR>    124 ----  wiki
       25 file(s)     108,273 bytes used

Try it using the IDE, File-->New Project, name it, then Sources-->New Source and browse to SCALE.C.
Then Targets-->New Target, and choose PM app etc, then press F5.
This will give you the basic commands to build.
If you want to use GnuMake, you can see the needed commands from the log to adapt the makefile. You could have multiple targets in the makefile, one for GCC and one for OW or two makefiles.
From the IDE you can also adjust the build flags etc, or read the documentation.

8
Events / Re: Warpstock Europe 2040 Follow Up
« on: June 08, 2024, 07:31:08 am »
SeaMonkey along with my extensions, plays the videos here. Rest of the page doesn't display though.
I have NoScript blocking everything except youtube.com and google.video.com and uBlock Origin.
Tried VLC too, lot of certificate errors and the video seemed to hang frequently, perhaps not enough bandwidth

9
Applications / Re: AOS RAM Disk
« on: June 07, 2024, 04:26:27 am »
Dariusz, did you ever publish your updates to diskio, also have you considered adding them to Sysbench, which basically uses diskio for disk benchmarking.

10
Applications / Re: AOS disk size limitation?
« on: June 06, 2024, 07:29:04 am »
You seem to get better numbers then me.
AOS ISO, about 90,000k bps from M2 to ram, 48,000k bps from ram to M2.
Ram to ram, about 29k
From M2 to SATA SDD, almost 500M bps, from SATA to M2, almost 400M bps.
This using FC/2, the M2 is GPT, so overhead of the filter, whereas the SATA SDD is regular MBR.
7th Generation I5, last computer was quite a bit slower to ram and I'd assume a newer one would be faster. Still I find the ram disk fast enough.

11
Applications / Re: AOS disk size limitation?
« on: June 06, 2024, 03:26:30 am »
I kept having it not be available due to needing a chkdsk.

That's strange, had to force a reboot yesterday, watched during boot that chkdsk ran on the ram disk.

12
Applications / Re: Bochs 2.2.6 for OS/2
« on: June 06, 2024, 01:34:20 am »
I tried building it, had problems with the auto tools, both libtoolize and autoconf kept hanging here. Not sure if my environment has broke or what. Version 2.8 wants a newer autoconf as well, I tried 2.8 after changing the requirements and 2.7.
As for DLL's there's various versions of libc going back to at least libc04 and various gcc*.dll's, looking I have a dozen EMX gcc*dll's for example. Maybe we should have a archive of all the ones that can be found?

13
Applications / Re: AOS disk size limitation?
« on: June 05, 2024, 04:42:53 am »
Code: [Select]
if exist H:\jfs.part goto next
FORMAT.COM H: /FS:JFS <REPLY_Y.txt
sleep 1
touch h:\jfs.part
:next
And create reply_y.txt besides startup.cmd in the root of your boot volume containing Y
This will preserve the JFS volume across reboots if you've set the ram disk to preserve its contents and your hardware allows it.
I added:
if not exist q:\file.file chkdsk q: /f:2
before the format, that way I could preserve the JFS volume in case of a crash and only takes only a second if it is a fresh boot.

Shouldn't be needed if you have /AUTOCHECK:* on your JFS.IFS line in config.sys, same with HPFS.
You can test, close everything and without the chkdsk command in startup folder, initiate a trap dump and see if the volume gets chkdsked during boot, even faster as it usually just does logredo. If too quick, see if the volume is clean.
Couple of computers back I had one that immediately rebooted if you turned it off and back on. The ram disk would survive a couple of seconds of no power, a second more and chkdsk would run and usually the contents were still there, not that I trusted it at that point. This was HPFS back then.

14
Applications / Re: AOS RAM Disk
« on: June 05, 2024, 04:29:22 am »
Yes, I've been fairly disappointed with the speed of the ram disk. Still it is fast enough that I use it for %TEMP% etc, the Mozilla cache and as a scratch work area. The speed isn't too bad when formatted with JFS, and I need JFS for temporary files as building Mozilla and likely other stuff can result in temp files over 2GB.
The problem with SSD's is they have a limited lifetime, measured by the number of writes. This is more of an issue on OS/2. We're missing a trim command so can't tell the SSD which blocks you're finished with, which makes garbage collection etc harder for the SSD. You can mount the file systems under Linux and trim them though. Or backup and do a secure erased and then restore. The secure erase will write zero's on the whole device including the spare blocks.
I also find that once the DRAM cache (1 GB on my 1TB SSD), things slow down and sometimes garbage collection or such happens and the SSD stalls, things like deleting a large directory,part of the way through it stalls, you think something has failed and eventually away it goes again.
Other problems is it is very hard to align the JFS 4k blocks with the SSD 4k blocks with CHS partitioning so even writing a 1 byte file might see 2 blocks used on the SSD. A good reason to use GPT partitioning.
JFS is also not a very good file system for SSD's. The journal is always getting written, and just looking at a file causes its atime (I think that's the one) to be updated. Linux has fixes for both, the journal can be on a different device, and updating the atime can be disabled. How often do you care when a file was last read?

15
Applications / Re: Bochs 2.2.6 for OS/2
« on: June 04, 2024, 10:56:45 pm »
Here's the old libc and gcc DLL's. These should be collected and uploaded to Hobbes archive.
I'll try recompiling
Edit: no source with the exe, wish people would at least include the patches

Pages: [1] 2 3 ... 324