From: Martijn Klingens Newsgroups: comp.os.msdos.djgpp Subject: Still got trouble with NASM Date: Tue, 21 Oct 1997 16:49:16 +0100 Organization: Delft University of Technology Lines: 35 Message-ID: <344CCEFC.75914754@dutccis.ct.tudelft.nl> Reply-To: spaze AT dds DOT nl NNTP-Posting-Host: ct111n191.ct.tudelft.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, I have asked it before in this newsgroup, but since I got no reply, I'll try again. I guess my old message was lost somewhere in cyberspace (I'm not used to posting messages to usenet) Anyway, I've got two nasm-related questions and I would like to know what I have to do to get things working. 1) I can't get rhide able to automatically recognize the extensions .nsm or .asm as nasm-files. Either I must add some lines to rhide.env (which I have not created yet - still using the defaults) or to djgpp.env, or - which seems unlikely to me - rhide does not know anything about nasm despite the text in the infofiles stating that it would. I can use the local options dialog in rhide as mentioned in djgppasm.doc, but I would like djgpp to recognize asm files automatically. 2) I have searched the nasm homepage and a couple of djgpp related pages, but I still can't find a converter for converting tasm sources to nasm. I would be really happy if it would at least convert variable references (i.e. 'var' -> '[var]' and 'offset var' -> 'var') and some assembler instructions, like PROC, EXTRN, PUBLIC and the like. If no converter exists I may try to make one my own, but I'm not too good in writing parser-like code. Anyway, I would be very happy with a ready-made conversion program that at least converts these thingies. NOTE: The assembly code I'm talking about has been written for Tran's PMode-C, so it's already protected mode compliant code. Of course it's still neccessary to convert system and library calls, but that's about all I can think of. That's why I don't want to bother rewriting my lib from scratch. Thanks in advance for all help, Martijn Klingens