cvs.gedasymbols.org/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Received: | by 10.180.11.239 with SMTP id t15mr293316wib.5.1364544324305; |
Fri, 29 Mar 2013 01:05:24 -0700 (PDT) | |
X-Received: | by 10.180.87.198 with SMTP id ba6mr107994wib.5.1364544323275; Fri, |
29 Mar 2013 01:05:23 -0700 (PDT) | |
Newsgroups: | comp.os.msdos.djgpp |
Date: | Fri, 29 Mar 2013 01:05:22 -0700 (PDT) |
In-Reply-To: | <09547ed1-eb44-4a04-bed9-11e609a0bc2d@googlegroups.com> |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | glegroupsg2000goo.googlegroups.com; posting-host=188.25.61.213; |
posting-account=mQLKCgoAAAD2RZdG1lIZzaYT8n8V4Q8o | |
NNTP-Posting-Host: | 188.25.61.213 |
References: | <858e8912-407b-4b7b-843a-8dff31d35068 AT googlegroups DOT com> |
<b87617e0-e48a-4765-97eb-90b9bb67c7b8 AT googlegroups DOT com> <09547ed1-eb44-4a04-bed9-11e609a0bc2d AT googlegroups DOT com> | |
User-Agent: | G2/1.0 |
MIME-Version: | 1.0 |
Message-ID: | <2338a5f3-ea46-4843-87d3-12e545042e9f@googlegroups.com> |
Subject: | Re: Mmap() and modify_ldt() in DOS |
From: | Khusraw <sahrian AT lavabit DOT com> |
Injection-Date: | Fri, 29 Mar 2013 08:05:24 +0000 |
Bytes: | 3442 |
Lines: | 74 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id r2T8F25e010386 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Thursday, March 28, 2013 11:37:06 PM UTC+2, Georg Potthast wrote: > Am Donnerstag, 28. März 2013 12:45:38 UTC+1 schrieb Khusraw: > > > On Sunday, March 10, 2013 9:52:34 AM UTC+2, Napoleon80386 wrote: > > > > > > > Hello. In this topic https://groups.google.com/forum/#!topic/comp.os.msdos.djgpp/yjONXRu-eDw > > > > > > > > > > > > > > my friend asked you about some help for building Wine on DJGPP. > > > > > > > > > > > > > > I am also trying to do this. I have already compiled very old version of Wine (when Bob Amstadt was project leader). It runs, but only can show greeting of command line and check whether executable is NE. If I try to run sample app, SIGSERV stops this with error "Illegal parameter in syscall". I guess that problem is mmap() and modify_ldt(), both are only stubs now. > > > > > > > > > > > > > > I am using EMX - it implements more nesessary POSIX API. In 1990s some users tried to port alpha Wine on OS/2 using EMX (you can look into /documentation/wine_os2). They wrote that it is nesessary to implement mmap() and ldt. I wrote to email in this file, but mail server said that this adress no more exists :( > > > > > > > > > > > > > > DJGPP and EMX can live together - I am using bash and make from DJGPP. So, I want to ask you some help to implement these functions. > > > > > > > > > > > > You may also want to look on the source code of my mplayer DJGPP port, especially on the Windows DLL loading part. > > > > Do you mean the "ELFDLL_LoadLibraryExA" in elfdll.c? The file includes wine header files but I see no mmap. > > > > Georg No, look on "ldt_keeper.c" from "loader" folder and on "mmap-djgpp.c" from "osdep" folder. A more correct implementation should use DPMI 1.0 function AX = 0504H (Allocate Linear Memory Block) instead of memalign, which allows loading of non-relocatable executables too, but not all DPMI hosts support it.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |