delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/17/04:37:44

Newsgroups: comp.os.msdos.djgpp
From: Peter Berdeklis <peter AT atmosp DOT physics DOT utoronto DOT ca>
Subject: Re: assembler and C structs - how do I interface them?
Message-ID: <Pine.SGI.3.91.970116130727.22128A-100000@chinook.physics.utoronto.ca>
Nntp-Posting-Host: chinook.physics.utoronto.ca
Sender: news AT info DOT physics DOT utoronto DOT ca (System Administrator)
Mime-Version: 1.0
Organization: University of Toronto - Dept. of Physics
In-Reply-To: <m2ybdvyg0r.fsf@localhost.i-have-a-misconfigured-system-so-shoot-me>
Date: Thu, 16 Jan 1997 18:10:41 GMT
References: <Pine DOT HPP DOT 3 DOT 95 DOT 970114233606 DOT 14399A-100000 AT helios DOT usq DOT edu DOT au> <m2ybdvyg0r DOT fsf AT localhost DOT i-have-a-misconfigured-system-so-shoot-me>
Lines: 13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 14 Jan 1997, RHS Linux User wrote:

> just #include <go32.h> and use _dos_ds, it's a define for __go32_info_block+26

No it's not.  It's a define for 
_go32_info_block.selector_for_linear_memory, which compiles into 
__go32_info_block+26.  Including it in an asm file wont produce the 
desired results.

---------------
Peter Berdeklis
Dept. of Physics, Univ. of Toronto

- Raw text -


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