First post, by lucky7456969
- 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
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
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 […]
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.
MASM just works and has a nice IDE/help system. For a free alternative, there's also Flat Assember http://flatassembler.net.
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
You could also run nasm outside dosbox (which would also run faster) and run the produced executable inside dosbox.