delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/03/05:16:14

From: J P Morris <b52g AT usa DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Tasm and DJGPP
Date: Wed, 03 Dec 1997 09:19:03 +0000
Organization: IT-HE
Message-ID: <34852407.11D89B67@usa.net>
References: <662f61$lp9$1 AT prometheus DOT acsu DOT buffalo DOT edu>
NNTP-Posting-Host: no-dns-yet.demon.co.uk
MIME-Version: 1.0
Lines: 25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Newbie wrote:
> 
>           Is there a way to use assembler routines for DJGPP
> via external method? like using little Tasm program to draw lines
> for example, if so how would one set it up and compile it. Or is
> inline assembly only way to go? Any help will be greatly appreciated
> thx.

If you already know TASM syntax, use NASM instead.
It is free, and produces COFF output files that you can link in.

Be aware that the syntax IS DIFFERENT.  The addressing is changed, and
the assembler directives are all different.

However, it is a quick job to convert from TASM to NASM.
I converted all my graphics library code in under an hour.

If you want to use GAS instead, you'll have to learn the new and strange
syntax, and then re-write your old code.

-- 
* JP Morris        aka DOUG the Eagle (Dragon)  -=UDIC=-     *
* b52g AT usa DOT net         Author of the U6 develorer's kit      *
**************************************************************
* Visit http://ithe.home.ml.org - about Ultima, Doom & AViOS *

- Raw text -


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