delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/29/11:13:09

From: Joseph Rose <jorose AT mail DOT gis DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 3rd Try: Maybe an asm problem? (Problems linking)
Date: Sat, 29 Apr 2000 11:52:21 -0400
Organization: Posted via Supernews, http://www.supernews.com
Lines: 25
Message-ID: <390B0535.CF457B4D@pop.gis.net>
References: <200004281112 DOT NAA29833 AT acp3bf DOT physik DOT rwth-aachen DOT de> <3909D92B DOT CC80284C AT pop DOT gis DOT net> <3909DD56 DOT 7BD63105 AT mtu-net DOT ru> <390A01E6 DOT D8D52F3 AT pop DOT gis DOT net> <390a1086 DOT 51973341 AT news DOT freeserve DOT net> <390A4777 DOT AAB7D23D AT pop DOT gis DOT net> <390a90a7 DOT 84781911 AT news DOT freeserve DOT net>
X-Complaints-To: newsabuse AT supernews DOT com
X-Mailer: Mozilla 4.7 [en]C-NECCK (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

My screen mode-change function defines a descriptor for the video buffer and
creates variables to store both the descriptor and the address of an off-screen
temporary video buffer.  But when I load it in my asm code, I get 0:0 and the
program is forced to quit.  The off-screen buffer is supposed to be defined on a
per-program basis and, therefore, has to be external to the library.

BTW, How do I change the screen mode without an INT 10h or int86x?

Steamer wrote:

> Joseph Rose wrote:
>
> >I need to access in my asm code a variable defined by the C++ code.
> >I need to know about this "name-mangling!"
>
> I don't think C++ name-mangling applies to variables, only functions (to cope
> with overloading).  But if you want to see what name the compiler is really
> giving to anything then just do
>
>     objdump --syms
>
> on the object file it produces.
>
> S.

- Raw text -


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