68f873784b54fc5c53a5e329f24e12abc8d41ec2
Build / Linux (push) Waiting to run
Fixes needed to run the 1990 TI 'TMS340 Family Code Generation Tools r5.01'
(16-bit OS/2 1.x NE, DOSCALLS-only) on 2ine:
* CMake: fall back to the system SDL2 headers when /usr/local/include/SDL2
is absent; the hard-coded path broke the build on stock distros.
* doscalls16: implement the entry points these tools import
- Dos16GetDateTime (33) with the OS/2 1.x *hours-first* 10-byte layout
(the year-first 8-byte layout crashes gspa in asctime/localtime)
- Dos16NewSize (68)
- Dos16GetHugeShift (135) / Dos16HugeIncr (136)
- Dos16CreateCSAlias (43), Dos16DevConfig (52), Dos16Move (67)
* lx_loader: walk NE fixup chains to the segment's 64K virtual size instead
of its file size, so fixups pointing into the BSS tail are applied. gspa
segfaulted in a lcall to its CRT exit handler because of this.
* doscalls: do not assert that the host PID fits in 16 bits (pid_max is
4194304 on current kernels); the 16-bit API truncates anyway.
Verified: gspa assembles a 2,412-line TMS34010 source with 'No Errors,
No Warnings', gsplnk links it with rts.lib, gsprom converts to Tek-hex.
The C compiler child (gspac via gspcl) still hits the lxConvert1616to32
selector assertion; see TMS34010.md.
2ine
What is this?
It's a program that loads and runs OS/2 .exe files on Linux.
Does it work?
Barely. It runs some command line OS/2 apps.
Why?
Because.
Does it work on Mac OS X?
No.
I have questions.
I have answers: icculus@icculus.org
--ryan.
Description
2ine with fixes for the TI TMS34010 OS/2 toolchain
1.4 MiB
0 Stars
1 Watchers
0 Forks
Languages
C
73.4%
Perl
25.9%
CMake
0.6%