-
93448975c2
Whoops, DosCloseMutexSem() needs to free memory we previously allocated.
Ryan C. Gordon
2017-09-15 10:49:26 -04:00
-
ceb7900db7
Implemented DosCloseMutexSem().
Ryan C. Gordon
2017-09-14 23:51:04 -04:00
-
4e6452445e
More work on getting Java to run. Still not there.
Ryan C. Gordon
2016-11-01 21:38:48 -04:00
-
2ee12b66a3
16-bit bridging code now protects %es register.
Ryan C. Gordon
2016-11-01 21:37:57 -04:00
-
9251abfe4f
Filled in stubs for QUECALLS library.
Ryan C. Gordon
2016-10-29 23:53:47 -04:00
-
c4d2d5ee15
Some initial VIOCALLS support via ncurses, other 16-bit updates.
Ryan C. Gordon
2016-10-29 02:05:01 -04:00
-
d26519332f
Deal more correctly with process termination politics.
Ryan C. Gordon
2016-10-28 02:32:05 -04:00
-
137ba61ecb
Generate missing-function-called trampolines for 16-bit APIs.
Ryan C. Gordon
2016-10-27 11:19:24 -04:00
-
2481f59a28
Bunch of work on getting java.exe to start up. Not there yet.
Ryan C. Gordon
2016-10-27 03:20:02 -04:00
-
411c204ccb
Just enough to get wasm.exe to not crash prompting for the Any key.
Ryan C. Gordon
2016-10-27 03:17:23 -04:00
-
970cbbc0c2
Fixed lookups into the non-resident name table.
Ryan C. Gordon
2016-10-27 02:26:20 -04:00
-
26a52988a6
16-bit support!
Ryan C. Gordon
2016-10-27 01:44:26 -04:00
-
29696db8b3
Implemented Thread Local Storage support.
Ryan C. Gordon
2016-10-19 03:21:15 -04:00
-
aa322a5409
Forgot to add DosSleep() to the DOSCALLS export table.
Ryan C. Gordon
2016-10-19 01:54:55 -04:00
-
e8c5bc119e
Implemented support for "iterated" data pages.
Ryan C. Gordon
2016-10-18 01:06:31 -04:00
-
460e454ff3
runLx* don't need to adjust the stack for the TIB space any more.
Ryan C. Gordon
2016-10-17 21:55:20 -04:00
-
c4a784b9dc
Whoops, unbroke my EMX hack.
Ryan C. Gordon
2016-10-17 21:45:11 -04:00
-
60e62a1306
Moved the path conversion code to lx_loader.c, and use it.
Ryan C. Gordon
2016-10-17 21:10:29 -04:00
-
2016af81a2
Added support for import-by-name fixup records.
Ryan C. Gordon
2016-10-17 20:06:52 -04:00
-
cbffb2ff60
Initialize the PIB at startup.
Ryan C. Gordon
2016-10-17 17:00:32 -04:00
-
7dcce0cbd8
Removed some commented-out incorrect code.
Ryan C. Gordon
2016-10-17 15:53:11 -04:00
-
47f074837a
Whoops, that's not what waitpid() returns.
Ryan C. Gordon
2016-10-17 15:51:22 -04:00
-
1c1e6de400
Implemented DosQueryAppType().
Ryan C. Gordon
2016-10-17 15:44:47 -04:00
-
b9a799e22e
Fixes to DosQueryCurrentDir().
Ryan C. Gordon
2016-10-17 15:44:20 -04:00
-
8047d55bcb
Wire up loading of LX name tables. Fixes DosQueryProcAddr() with strings.
Ryan C. Gordon
2016-10-17 15:43:08 -04:00
-
2c2526abe1
Fixed some details of DLL loading.
Ryan C. Gordon
2016-10-17 12:00:57 -04:00
-
e011e5cec1
Implemented more APIs; a little further into Watcom C's wcc386.exe now...
Ryan C. Gordon
2016-10-17 10:56:50 -04:00
-
dc00a7e998
Implemented more APIs. Watcom C's "wasm.exe" works now.
Ryan C. Gordon
2016-10-17 02:35:39 -04:00
-
b2e32aeb37
Separate TIB from OS/2 stack.
Ryan C. Gordon
2016-10-16 12:24:38 -04:00
-
ef4d529544
Pass actual selector (without shifting) so we deinit the segment correctly.
Ryan C. Gordon
2016-10-16 12:23:24 -04:00
-
d8f62859c7
Library init passes the library module handle on the stack, as it should.
Ryan C. Gordon
2016-10-16 12:21:32 -04:00
-
af2e92fa73
Pass the exe's module handle to the OS/2 process entry point.
Ryan C. Gordon
2016-10-15 22:10:29 -04:00
-
6454917556
Fixed environment/command line tables passed in at OS/2 process entry.
Ryan C. Gordon
2016-10-15 22:09:56 -04:00
-
544033f2ae
Some APIs that Watcom's wasm.exe needs to start up.
Ryan C. Gordon
2016-10-15 22:08:00 -04:00
-
ea0a7618b1
Turned some error output back on.
Ryan C. Gordon
2016-10-14 03:40:24 -04:00
-
68aa18c5a1
Consolidate and turn off all the debug logging for now.
Ryan C. Gordon
2016-10-14 02:51:37 -04:00
-
0349122bd7
Bunch More Work: more APIs, subprocesses, multithreading.
Ryan C. Gordon
2016-10-14 02:39:17 -04:00
-
b4d0e571e7
Implemented some file i/o APIs and stubbed some threading primitives.
Ryan C. Gordon
2016-10-09 13:45:58 -04:00
-
086e05dd0c
DosFlatToSel() is called like any other OS/2 API.
Ryan C. Gordon
2016-10-09 13:44:10 -04:00
-
ccad3a0dbb
Hooked up the FS register and TIB support.
Ryan C. Gordon
2016-10-08 16:34:59 -04:00
-
c00940caf0
This is me trying to figure out how to change the %fs register on Linux. :)
Ryan C. Gordon
2016-10-07 20:25:03 -04:00
-
b04f032caa
Fixed passing of command lines to LX program.
Ryan C. Gordon
2016-10-06 16:37:46 -04:00
-
fa77133baf
Added program to test command line and environment variable passing.
Ryan C. Gordon
2016-10-06 16:37:13 -04:00
-
262b428f51
Implemented DosGetDateTime() and DosOpen().
Ryan C. Gordon
2016-10-06 15:56:20 -04:00
-
97ced670ce
Added FIXME and STUBBED macros
Ryan C. Gordon
2016-10-06 15:55:37 -04:00
-
a13361e080
Added -D_FILE_OFFSET_BITS=64
Ryan C. Gordon
2016-10-06 15:55:09 -04:00
-
95d666c01b
Add native modules to the loaded modules list.
Ryan C. Gordon
2016-10-05 15:52:11 -04:00
-
fae99dc048
Turn off some debug output. I'm sure I'll regret this soon. :)
Ryan C. Gordon
2016-10-05 15:45:23 -04:00
-
88ca89f160
Implemented some HFILE-related code better. tests/helloc.exe now works!
Ryan C. Gordon
2016-10-05 15:44:29 -04:00
-
71653286cd
Implemented some more APIs.
Ryan C. Gordon
2016-10-02 18:26:27 -04:00
-
8a6c7fef87
Initialize the DosExitList() items' function pointers.
Ryan C. Gordon
2016-10-02 18:23:28 -04:00
-
d9823705c0
Nop out the read of the FS register in EMX's syscall interface for now.
Ryan C. Gordon
2016-10-02 18:21:51 -04:00
-
f681be1b1f
Reworked the native module loading code.
Ryan C. Gordon
2016-10-02 18:18:31 -04:00
-
ebe5f95a3e
Put a real CMake project in here.
Ryan C. Gordon
2016-09-30 18:08:36 -04:00
-
bee2afe62b
Bunch More Work, mostly cleanup and organization.
Ryan C. Gordon
2016-09-30 15:58:48 -04:00
-
6220544d06
Bunch More Work on getting an EMX-based "hello world" to run.
Ryan C. Gordon
2016-09-30 10:36:33 -04:00
-
08eaf1f59f
Fixed buffer overflow.
Ryan C. Gordon
2016-09-27 10:07:47 -04:00
-
3df4fc0544
Report caller address for missing functions.
Ryan C. Gordon
2016-09-27 10:05:08 -04:00
-
141ff8bdcd
More fixup fixes. We're now into EMX crt0.s, calling missing doscalls APIs.
Ryan C. Gordon
2016-09-26 15:31:54 -04:00
-
4c09b9b6f5
Call library init/termination code.
Ryan C. Gordon
2016-09-26 12:14:45 -04:00
-
d3e686276b
Fixups fixes.
Ryan C. Gordon
2016-09-26 12:13:18 -04:00
-
41e66c9071
Some more work on getting DLLs working.
Ryan C. Gordon
2016-09-25 14:21:31 -04:00
-
c3d9945942
Fixup source offsets are signed values (and sometimes negative!).
Ryan C. Gordon
2016-09-25 14:20:20 -04:00
-
17a64c9407
Don't load modules that are marked as non-loadable.
Ryan C. Gordon
2016-09-25 11:06:34 -04:00
-
b82eabcdac
Try loading modules at random locations and see what happens.
Ryan C. Gordon
2016-09-24 01:06:00 -04:00
-
ce8215ff40
Realign the stack before calling _exit().
Ryan C. Gordon
2016-09-24 01:05:33 -04:00
-
acb3c5c42e
Get exported ordinals parsed, fixup correct pages.
Ryan C. Gordon
2016-09-23 23:55:10 -04:00
-
1a21e64a51
Fixed typo.
Ryan C. Gordon
2016-09-23 23:54:36 -04:00
-
dbda4e03d0
Corrected entry ordinals in lx_dump, a few other things.
Ryan C. Gordon
2016-09-23 00:27:50 -04:00
-
817af8d715
Load all the object pages into memory before fixing them up.
Ryan C. Gordon
2016-09-22 10:46:42 -04:00
-
443bcf2178
Huge reworking to get shared libraries (and native replacements) working.
Ryan C. Gordon
2016-09-21 03:38:20 -04:00
-
1d8ad0ce35
Extremely initial work on dealing with external modules.
Ryan C. Gordon
2016-09-20 00:48:56 -04:00
-
45eebeaa3f
lx_dump: modules are indexed from 1, not zero.
Ryan C. Gordon
2016-09-19 23:08:25 -04:00
-
dbacb96215
Don't map resource objects.
Ryan C. Gordon
2016-09-19 23:02:21 -04:00
-
5aff2d5b02
Fixed mmap execute flags.
Ryan C. Gordon
2016-09-19 22:02:12 -04:00
-
b9bc6d88d7
Added a simple README.
Ryan C. Gordon
2016-09-19 19:56:04 -04:00
-
161cde892e
Initial add. Runs exactly one program.
Ryan C. Gordon
2016-09-19 19:41:11 -04:00