delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/09/20:41:53

Date: Mon, 9 Mar 1998 17:41:09 -0800 (PST)
Message-Id: <199803100141.RAA17255@adit.ap.net>
Mime-Version: 1.0
To: rwh AT worldonline DOT nl, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Linking ASM with DJGPP

At 07:34  3/9/1998 +0100, Reinier Heeres wrote:
>Mark Eymer wrote:
>
>> Is there a way to link TASM .OBJ files into a DJGPP .o object file
>> using
>> the extern in DJGPP and create a working Executable?
>>
>> ie
>>
>> write a function in pure ASM
>> compile it with TASM
>> write a program in DJGPP using the ASM externally:
>> ie. extern void set_mode(int mode);
>> and then compile them both so they come out in one EXE
>>
>> If there's not, anyone have some good texts on DJGPP inline?
>
>I guess you can't compile it with TASM, try NASM, you can get it on the
>net, just search for "NASM" with altavista...

NASM is in the `asmutl' directory of Simtelnet.

You might also consider JAS. I believe its syntax is much more similar to
TASM's, which might save you significant work...

My turn to be stupid: I don't know where JAS lives. Use your favorite search
engine.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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