| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | Eph <t DOT ephraim AT gmail DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: calling a RM function which is placed below 1 MB |
| Date: | Fri, 25 Jul 2008 07:55:32 -0700 (PDT) |
| Organization: | http://groups.google.com |
| Lines: | 16 |
| Message-ID: | <8fceb180-5d7a-45e8-a585-0d001b3ba089@1g2000pre.googlegroups.com> |
| References: | <ca0df607-1be3-4358-b84f-f0ccddde3197 AT d77g2000hsb DOT googlegroups DOT com> |
| <g67uat$di0$1 AT aioe DOT org> <f78b8a9f-b3ff-4ab6-b95b-151c822873f7 AT b1g2000hsg DOT googlegroups DOT com> | |
| <g6ath6$1lm$1 AT aioe DOT org> | |
| NNTP-Posting-Host: | 80.70.169.36 |
| Mime-Version: | 1.0 |
| X-Trace: | posting.google.com 1216997733 29979 127.0.0.1 (25 Jul 2008 14:55:33 GMT) |
| X-Complaints-To: | groups-abuse AT google DOT com |
| NNTP-Posting-Date: | Fri, 25 Jul 2008 14:55:33 +0000 (UTC) |
| Complaints-To: | groups-abuse AT google DOT com |
| Injection-Info: | 1g2000pre.googlegroups.com; posting-host=80.70.169.36; |
| posting-account=jZZPxgoAAAAqQ_zmNV7SH4j6l4lfRyOd | |
| User-Agent: | G2/1.0 |
| X-HTTP-UserAgent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.1) |
| Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe) | |
| X-HTTP-Via: | 1.1 abgpro01 (NetCache NetApp/6.0.6) |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Hey again, I think, it got confused everything :). So I try to start over. So. I have a function which waits in the memory below 1MB. This function awaits parameter on the stack at [06], [10] a. [14]. This function must be called from 16Bit RM. How should I do this? I found the function __dpmi_simulate_real_mode_procedure_retf_stack(...) which I think is the right one for my problem. But how do I create the stack parameter and the regs? The segment and offset of the function entry is known. The parameters too. I just need to know how to call the function correctly or if someone knows a better way to do this I would be glad too!! Ciao Eph
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |