19
« on: March 10, 2024, 01:02:15 am »
Running lxlite on the exe gives,
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,
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