Mail Archives: djgpp/1998/03/13/02:30:41
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 -