delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/26/21:02:24

From: Sampo Niskanen <sampo AT lizard DOT compart DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: cwsdpmi and registers questions
Date: 21 Oct 1997 16:51:27 GMT
Organization: Xgateway Finland Ltd. - news.xgw.fi server
Lines: 20
Message-ID: <62imif$1sp@news.xgw.fi>
NNTP-Posting-Host: lizard.compart.fi
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

How can I give cwsdpmi command line options (-s-)? I have tried
hex-editing the 'cwsdpmi.exe' text in the binary from
'CWSDPMI.EXE',0,0,0,0,0 to 'CWSDPMI.EXE -s-',0 but it doesn't help. I've
also tried editing the source where is the text cwsdpmi.exe and compiling
but it does exactly the same thing.

When I optimize fully (-O3), and use external asm-routines (made with
nasm) what registers do I have to restore? Without optimization it doesn't
need any registers restored, but when I started to use -O3 it gave trouble
with atleast ESI and EDI. I'm not sure about the other registers and would
like to be.

Thanks.

-- 
  __________________________________________________
 /____\    Sampo Niskanen <=> sampo AT compart DOT fi      \
       \         http://www.compart.fi/~sampo        \
        \     ________________________________________\___
         \___/___________________________________________/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019