Mail Archives: djgpp/1996/11/26/12:44:39
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 -