delorie.com/archives/browse.cgi | search |
From: | Martin Str|mberg <ams AT speedy DOT ludd DOT luth DOT se> |
Subject: | Re: LDTs in DPMI |
Newsgroups: | comp.os.msdos.djgpp |
References: | <av3i7e$g6l$1 AT news DOT tpi DOT pl> |
User-Agent: | tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha)) |
Message-ID: | <1041813182.994757@queeg.ludd.luth.se> |
Cache-Post-Path: | queeg.ludd.luth.se!unknown AT speedy DOT ludd DOT luth DOT se |
X-Cache: | nntpcache 2.4.0b5 (see http://www.nntpcache.org/) |
Date: | 06 Jan 2003 00:33:03 GMT |
Lines: | 23 |
NNTP-Posting-Host: | queeg.ludd.luth.se |
X-Trace: | 1041813183 news.luth.se 26539 130.240.16.109 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Jarek Pelczar <jarekp3 AT wp DOT pl> wrote: : I'd like to make some kind of emulator of one OS. : I create two LDTs for CS and DS wchich relocate : code to execute. I create alias descriptors using DPMI : function with _my_cs() and _my_ds(), then I set base and limit of executable : memory. When I'm trying to execute code, DPMI host dumps registers and : program crashes. Please elaborate. : I've modified int 0x40 vector to mine. Can it be the : problem ? But everything works fine when I call interrupt Not if you did it right. Did you? : handler. Maybe it is problem with GCC ? Extremely unlikely. Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |