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 ... 320
16
Programming / Re: fatal error: sys/cdefs.h: No such file or directory
« on: March 12, 2024, 02:10:30 am »
Do you know which package is needed to add the missing header files? This is the gcc from netlabs-rel (9.2.0-4.oc00)
Thank you!

libc-devel has most of the headers, libcx-devel also has a few.
There really should be a meta package, easy to forget things like the linker (watcom-wlink-hll)
Edit: You should use ash rather then bash as well. The bash port is incomplete.

17
Programming / Re: DosDevIOCtl disabling keyboard in VIO mode
« on: March 10, 2024, 07:43:17 am »
Good point about NE vs LX. Wonder when LX was first used on OS/2. Actually I think it was LE before LX.

18
Programming / Re: DosDevIOCtl disabling keyboard in VIO mode
« on: March 10, 2024, 04:15:27 am »
Running lxlite on the exe gives,
Code: [Select]
H:\tmp>lxlite uemacs.exe
┌[ lxLite ]───────────────────────────────────┬[ Version 1.3.9 ]┐
├ Copyright 1996,97 by FRIENDS software       ├    All rights   ┤
├ Copyright 2001,03 by Max Alekseyev          ├     reserved    ┤
├ Copyright 2008-10 by OS/4 team              ├                 ┤
├ Copyright 2011    by Steven H. Levine       ├                 ┤
├ Copyright 2017-23 by bww bitwise works GmbH └─────────────────┘
├ The file uemacs.exe contains 1 bytes out of module structure
├                  uemacs.exe initial: 72863 final: 42821 gain: 41.3%
├┤Total gain: 30042 bytes
Am I interpreting that correctly that there is 1 rogue byte somewhere?

That's my interpretation.

Quote

Quote
Hmm, your exe won't run after lxliting,
Maybe it doesn't like the non-standard virtual addresses. I am attaching one with the normal 0x10000 - can you see if that is ok?

Yes, this one worked after lxliting.

Quote
Quote
If you can find an old enough exehdr, perhaps the OS/2 v1.3 toolkit, it should run under Win2k as Win2k does support 16 bit OS/2 code
That would only operate on 16-bit NE executables, not 32-bit LX executables introduced with OS/2 2.0, right?

Yes, OS/2 1.x text code runs out of the box. Used to be a Presentation Manager kit to run 1.x graphics as well.

19
Programming / Re: DosDevIOCtl disabling keyboard in VIO mode
« on: March 10, 2024, 01:02:15 am »
Running lxlite on the exe gives,
Code: [Select]
H:\tmp>lxlite uemacs.exe
┌[ lxLite ]───────────────────────────────────┬[ Version 1.3.9 ]┐
├ Copyright 1996,97 by FRIENDS software       ├    All rights   ┤
├ Copyright 2001,03 by Max Alekseyev          ├     reserved    ┤
├ Copyright 2008-10 by OS/4 team              ├                 ┤
├ Copyright 2011    by Steven H. Levine       ├                 ┤
├ Copyright 2017-23 by bww bitwise works GmbH └─────────────────┘
├ The file uemacs.exe contains 1 bytes out of module structure
├                  uemacs.exe initial: 72863 final: 42821 gain: 41.3%
├┤Total gain: 30042 bytes

After lxliting with the defaults, the exe will only run on Warp v3 or later. The IBM linkers can also pack the data, code etc.
Hmm, your exe won't run after lxliting,
Code: [Select]
03-09-2024  15:59:13  SYS3175  PID 0085  TID 0001  Slot 00b7
H:\TMP\UEMACS.EXE
c0000005
0001d6a1
P1=00000001  P2=0040fd6c  P3=XXXXXXXX  P4=XXXXXXXX
EAX=00000000  EBX=00000000  ECX=00000000  EDX=00000000
ESI=00000000  EDI=00000000
DS=0053  DSACC=d0f3  DSLIM=bfffffff
ES=0053  ESACC=d0f3  ESLIM=bfffffff
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:0001d6a1  CSACC=d0df  CSLIM=bfffffff
SS:ESP=0053:00047f58  SSACC=d0f3  SSLIM=bfffffff
EBP=00047fd0  FLG=00010212

UEMACS.EXE 0001:0000d6a1

If you can find an old enough exehdr, perhaps the OS/2 v1.3 toolkit, it should run under Win2k as Win2k does support 16 bit OS/2 code

20
Programming / Re: DosDevIOCtl disabling keyboard in VIO mode
« on: March 09, 2024, 04:07:35 pm »
For now perhaps best to use exehdr to mark it to force full screen mode, especially if it still breaks the keyboard if run in a window.
Code: [Select]
exehdr /PMTYPE:NOTWINDOWCOMPAT uemacs.exeSeems to run fine here, though I don't know emacs enough to really test. Good work.

21
Programming / Re: DosDevIOCtl disabling keyboard in VIO mode
« on: March 08, 2024, 10:50:19 pm »
Try help 188,
Code: [Select]
[H:\tmp]pdptest
SYS0188: The operating system cannot run H:\TMP\PDPTEST.EXE.

[H:\tmp]help 188

SYS0188: The operating system cannot run ***.

EXPLANATION: The application program does not have a correct
END <label> directive.

ACTION: Contact the supplier of the application.

Not sure what an END directive is.

22
Programming / Re: DosDevIOCtl disabling keyboard in VIO mode
« on: March 07, 2024, 01:03:16 am »
Tried lxlite, a program originally for compressing lx files, extended quite a bit. It reports error reading executable.
yum install lxlite
lxlite /?

23
Programming / Re: DosDevIOCtl disabling keyboard in VIO mode
« on: March 07, 2024, 01:01:33 am »
In a DOS window,
Code: [Select]
H:\TMP>pdptest
SYS3011: The .EXE file that starts the program you specified contains
an error.

24
General Discussion / Article on the MS OS/2 2.0 preview at OS2Museum
« on: March 06, 2024, 05:11:35 am »
Michal got hold of the preview edition of MS OS/2 2.0 plus SDK and wrote an interesting article,
http://www.os2museum.com/wp/the-future-that-never-was/

25
Storage / Re: How to properly setup a working FAT32 USB stick?
« on: March 06, 2024, 02:48:10 am »
You can use LVM or miniLVM to give a preferred drive letter or *. The * means first available drive letter and I think is the default with removable drives. The preferred letter only gets assigned if nothing else hasn't already grabbed the letter.

26
Applications / Re: General Software Testing
« on: March 03, 2024, 12:58:22 am »
There's a calculator, calendar, editor, expression thingy and hpv, which crashes with the GDI error.
Run them from a cmd prompt as all but the hpv.exe are text mode, the calculator and calendar seem to use English, though not the editor.
I'd guess that hpv.exe wants a DBCS system.
Edit: the calculator uses the number pad, need numlock on.

27
Storage / Re: How to properly setup a working FAT32 USB stick?
« on: March 01, 2024, 04:14:50 pm »
There's directions at https://www.arcanoae.com/wiki/usb/preparing-usb-msd-disks/
DFSee also has a script to make one under Scripts-->Make FAT32  Data (USB) disk which has usually worked for me.

28
Applications / Re: DSSaver and XWP
« on: February 27, 2024, 07:56:11 pm »
Yes, they have me doing 2FA authentication as well, sure would have been a bitch  few years back when I had no cell service.
The create a fork and then do a pull into OS2World seems to work as a work around.

29
Applications / Re: DSSaver and XWP
« on: February 26, 2024, 10:20:45 pm »
Hi Martin, thanks for changing it.
Token or temporary password to allow pushing over HTTPS doesn't work on OS2World. You had the same problem, how did you fix it?

30
Applications / Re: DSSaver and XWP
« on: February 26, 2024, 09:09:52 pm »
Try this - ftp://dry@ftp.os2voice.org/dssaver_v25_19_02_2024.exe (copy paste this text to the address bar or you ftp client).

I added it to : https://github.com/OS2World/UTIL-WPS-Doodle-Screen-Saver/releases

I will upload it to HobbesArchive tonight.

Regards

You released a pre-release as a release before the code was committed. I've now merged  25pre into the OS2World repository. Unluckily I can't see a way to remove a release.
I did it this way as my token doesn't allow me to push to OS2World, so fork, work, do a pull request and pull.
If you upload it to HobbesArchive, mention it is a pre-release, I'm hoping for more translations before actual release.

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