Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

NASM version 2.09 available (Announce)

posted by Rugxulo Homepage, Usono, 28.08.2010, 04:53

> > NASM.EXE is a 460 KiB file which means that it barely
> > runs at all and usually crashes if I try to assemble anything at all (at
> > least I hope the crash is only due to running out of memory).
> NDISASM.EXE
> > works fine though, and is just about 110 KiB.

This is probably because of all output formats enabled by default. You'll have to manually disable non-DOS targets (win32, macho) in NASM.H or OUTPUT.H or whatever (I forget), which is what was typically done in old 0.97/0.98 days. Then it should run a little better (but not much). Last 16-bit build is for 0.98.39, found on SourceForge, which lacks x86-64 support which isn't needed here anyways. (Turbo C will produce smaller code, I think, but I may be thinking of after UPX, which wouldn't help shrink RAM use. Make sure to use -os or -oxs or whatever for OpenWatcom. EDIT: Oops, TC doesn't support C99, doh.)

> > So NASM still can be compiled for 8086 systems. If I have time for that,
> I
> > might look into stripping it down better to get the executable's size
> down.
> > Maybe write some code to let it use disk or XMS swapping? Hmm.
>
> Maybe time to throw out those 8086's and 80186, and raise the limit to a
> more modern machine, like a 286 ? :-D :-D :-D

Yes, if he's using XMS at all in the future, it will be 286+ only. I believe cm is using NASM 2.04+ features in his port of RxDOS. While I don't personally see a huge need to have a 16-bit NASM just to assemble that, it would still be cool to have. I guess he likes the new macro features or whatever.

---
Know your limits.h

 

Complete thread:

Back to the forum
Board view  Mix view
22649 Postings in 2111 Threads, 402 registered users, 886 users online (1 registered, 885 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum