delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/13/02:30:41

From: sochaxx AT flash DOT net (art socha)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP/NASM HELP!!
Date: Thu, 12 Mar 1998 17:50:58 -0800
Organization: Flashnet Communications, http://www.flash.net
Lines: 25
Message-ID: <MPG.f7230db9989285098968a@news.flash.net>
References: <MPG DOT f7125beb06f9eb7989688 AT news DOT flash DOT net> <6e9alg$fag$1 AT orudios DOT magnet DOT at>
NNTP-Posting-Host: iasc4-190.flash.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <6e9alg$fag$1 AT orudios DOT magnet DOT at>, f.x.gruber-museum-
arnsdorf AT magnet DOT at says...
> i used a ASM-DOS 32bit-extender myself, which had all segment regs
> (cs,ds,ss...) set to the same address, so you needn't worry about them.
> Perhaps DOS32 does the same, but DJGPP does not, when addressing memoty you
> must know what's in the seg-regs.
> 
yeah, i'm using NASM... its almost identical to TASM, except its actually 
easier. you don't need as much in the way of set (.model, .386, etc etc). 
You basically just tell it where your dataseg and codeseg is and start 
programming. it will not compile to .exe's tho, which is bummer, but 
doesn't really matter if you are just linking. there is also and IDE that 
comes with it that has the whole borland feel to it. it's cool, but i'm 
used to using QEDIT for my needs anyway...

http://www.inglenook.co.uk/nasmide/

the ide is there along with a copy of nasm (but.. if you want the full 
NASM program and docs look around that site and there is a link to it... 
you can even get the source for NASM as well...)

thanks for your help, it makes plenty of sense. With DOS32 it took care 
of all the register handlling as you mentioned so if you set your address 
to 0xa0000h, it worked perfectly. anyway, we'll test it out and see if it 
works... thanks again.

- Raw text -


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