Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

NASM 0.98.39 (MSC 7, "286", not full instruction support) (Developers)

posted by Rugxulo Homepage, Usono, 24.03.2020, 20:36

> The whole point of recompiling was to have an 8086-hosted build of NASM
> since their old build was 186 (and didn't work under 8086tinyplus).
> OpenWatcom compiled 0.98.39 okay as Large model, but TC++ wouldn't fit
> (Huge only), DGROUP overflow, until I trimmed a bunch of instructions.
> Then it would fit in Large. (Those two previous .EXEs had all
> instructions, up through SSE3. So only this "lite" one omits some stuff.)

Actually, their pre-existing prebuilt .EXE for 16-bit DOS must've been compiled with Mkfiles/Makefile.ms7, i.e. MS C 7 from 1992 (according to .EXE's internal runtime copyright).

># Compile for a 286, ain't nobody using an 8086 anymore
>CC = cl /c /Oz /AL /Gt256 /G2 /I.. # MSC 7.00

Not sure why 286 [effectively 186] via /G2, it's probably very minimal improvement. "/AL" means Large model (according to this for MSC 6).

Also, note this:

> # GNU software compiled by DJGPP is also required:
># grep 2.4
># perl 5.6.1

Although you only need Perl to regenerate insns*.[ch] files, but they're already included.

>insns16.dat: insns.dat
> grep -v WILLAMETTE insns.dat | grep -v KATMAI | grep -v SSE | \
> grep -v MMX | grep -v 3DNOW | grep -v UNDOC >insns16.dat

Inefficient, ERE has "|" alternation operator or whatever.

So they didn't even include all instructions! I'm actually surprised (but, as mentioned, it's wiser this way). Then again, they did include outputs: bin, obj, as86, win32 (latter two are irrelevant in such limited memory conditions).

"Better" (??) would've presumably been using MSVC 1.52c (info) from 1995. Or something with 286 pmode target support. Or Digital Mars. (Or overlays??)

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 265 users online (0 registered, 265 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum