www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/26/12:44:39

From: mrmeanie AT easynet DOT co DOT uk (Mr. Meanie)
Newsgroups: comp.os.msdos.djgpp
Subject: ASM modules in DJGPP + DPMI - apologies
Date: Fri, 22 Nov 1996 21:46:14 GMT
Organization: [posted via] Easynet Group PLC
Lines: 23
Message-ID: <574b0e$t82@cherry.news.easynet.net>
Reply-To: mrmeanie AT easynet DOT co DOT uk
NNTP-Posting-Host: mrmeanie.easynet.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
    I would like to make apologies about my last message in which I
described how I was unable to use DPMI function 100h. (Allocate DOS
memory) I was calling the function from an ASM module which I was
using with DJGPP code. I used a debugger (FSDB by Spirit) to find out
what was going on when DPMI 100h WAS CALLED FROM C (using
'__dpmi_allocate_dos_mem' or some such) and found something weird
going on. The number of requested paragraphs was being put in the BX
register, and as far as I knew, it should go in DX. I then looked at
the DPMI specs I downloaded, I found that BX was correct, meaning that
the book I was referring to for my DPMI info was incorrect in telling
me the number of paragraphs should go in DX.

	Anyway, If anyone has had any problems with using external ASM modules
(assembled with TASM) in DJGPP, please e-mail me on

mrmeanie AT easynet DOT co DOT uk

Laters

   -Mr. Meanie		(Geoffrey French)


- Raw text -


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