VOGONS

Common searches


First post, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

I tried nasm, but it doesn't run on dosbox.
Any other ones? I try to assemble a large asm file, about 1.6MB
Thanks
Jack

Reply 2 of 6, by GL1zdA

User metadata
Rank Oldbie
Rank
Oldbie
lucky7456969 wrote:
I tried nasm, but it doesn't run on dosbox. Any other ones? I try to assemble a large asm file, about 1.6MB Thanks Jack […]
Show full quote

I tried nasm, but it doesn't run on dosbox.
Any other ones? I try to assemble a large asm file, about 1.6MB
Thanks
Jack

Find either MASM (6.11 is the latest version which runs on DOS) or a version of TASM - these were the most common assemblers for DOS. I think you can also use a newer version of MASM that uses OMF as output and just use the appropriate version of LINK (the "segmented" one, not the "incremental" one) to assemble your binaries for DOS.

getquake.gif | InfoWorld/PC Magazine Indices

Reply 4 of 6, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

I tried to run this
tasm32 myfile.asm
It runs out of heaps space.
myfile.asm is the file that is 1.6MB is size

Update:
When I use flat assembler
I get this
error: processor is not able to enter 32-bit real mode

No... even start the assembler after the TNT dos extender

Update2:
I found cwsdpmi -p which runs the fasm properly

Thanks

Reply 6 of 6, by VileR

User metadata
Rank l33t
Rank
l33t
idspispopd wrote:

You could also run nasm outside dosbox (which would also run faster) and run the produced executable inside dosbox.

Yep. I personally use YASM (free, supports NASM syntax).

[ WEB ] - [ BLOG ] - [ TUBE ] - [ CODE ]