X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Cesar Rabak Newsgroups: comp.os.msdos.djgpp Subject: Re: DPMI code in EXE file Date: Sat, 27 Sep 2008 20:51:41 -0300 Organization: Aioe.org NNTP Server Lines: 16 Message-ID: <48DEC70C.9010400@yahoo.com.br> References: NNTP-Posting-Host: ZMu+Myn+Pu0my1rbpLGYXQ.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse AT aioe DOT org X-Antivirus-Status: Clean X-Antivirus: avast! (VPS 080927-0, 27/09/2008), Outbound message User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com IcEonFirE escreveu: > Hi > > I am trying to program a floppy boot sector. I am using djgpp on ms-dos > 6.22. when I build the *.s file and check code with fsdb, I noticed EXE > file make DPMI INT calls. Is that a way to remove these call since my > floppy boot code must be 16-bit. I thought .code16 > and .code16gcc directives in the *.s file would do so, I was wrong > > Any Idea please ? If you're after assembling x86 in 16 bits, you should try djasm (comes in djdev package) thats is used for the real mode stub in DJGPP programs. Caveat emptor: It is not full of features and does not have documentation so YMMV.