www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/15/10:16:28

From: RHS Linux User <tarquin AT texas DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: assembler and C structs - how do I interface them?
Date: 14 Jan 1997 17:48:52 -0600
Organization: Texas Networking, Inc.
Lines: 17
Sender: tarquin AT localhost
Message-ID: <m2ybdvyg0r.fsf@localhost.i-have-a-misconfigured-system-so-shoot-me>
References: <Pine DOT HPP DOT 3 DOT 95 DOT 970114233606 DOT 14399A-100000 AT helios DOT usq DOT edu DOT au>
NNTP-Posting-Host: dnet06-41.austin.texas.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Matthew Kennedy <q9522772 AT helios DOT usq DOT edu DOT au> writes:

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

> I suspect that the assembler can't interpret fields of structures.  In
> this case I'll have to use __go32_info_block+26 as the memory reference -
> which works.  But thats harder to read as a program and the relative
> address (+26) might change in future versions. ANY IDEAS?
> 
> Also, no mention of how to do this in the as-info node (I've read it top
> to bottom)

-- 
John Allensworth --- tarquin AT texas DOT net --- ReaperMan on the QuakeServers
Author of XtraWeapons (except the homing missile, eject, and throwing axe) 
Industrial Strength Gaming    http://www.uk.digiserve.com/whiteoak/punktc/
Skrew Actura! Dem bastards stole my Bouncing Bettys! (incl. in XW19)

- Raw text -


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