home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
nasmos2.zip
/
readme.os2
< prev
Wrap
Text File
|
1997-08-24
|
3KB
|
76 lines
THIS IS AN UNOFFICIAL COMPILE AS OF TIME OF WRITING
This version of NASM was compiled for OS/2 by elizium@psychonaut.demon.co.uk
USE IT AT YOUR OWN RISK - I ACCEPT NO RESPONSIBILITY FOR ANY ADVERSE EFFECTS
CAUSED BY USING THIS SOFTWARE - READ THE LICENCE FILE FOR MORE INFORMATION
Thats the disclaimer...
Modifications
Only modifications are:
- The addition of a small timing routine for the purposes of benchmarking.
I don't have any large files to test this on so I can't really comment.
It is accurate to about 1/100s but only really relevent on larger files.
- a.out is now default in os/2 version
- banner messages
Compilation
Now - this was compiled by me with relative ease - it was compiled using the
following extra compiler options in EMX gcc:
-O2 -m486 -fomit-frame-pointer -funroll-loops -Zomf -Zsys
-O2 : normal optimisation
-m486 : 486 instruction optimisation (will not affect 386 machines)
-fomit-frame-pointer : no idea but it makes stuff quicker :)
-funroll-loops : unrolls loops - lots of speedup normally but bigger output
-Zomf -Zomf : use 32bit OS/2 .obj files rather than OS/2 - slightly quicker
Please note - this options only affect the speed of the assembler NOT the
speed of assembled sources (although it would be nice if it did! :)
Long Filenames
The program should have no problems with long filenames - EMX gcc handles
these in a similar way to Linux gcc. Because it uses EMX you will need the
EMX.DLL file which is found in lots of places all over the internet - a
good place to look is http://hobbes.nmsu.com - you will also need EMXOMF from
the same place if you want to make .obj files
Making .obj Files
If you run the program with the -h option you will see that the compiler has
the default of a.out - this is the EMX gcc default file format (same as linux)
if you require a 32bit .obj file then use the EMXOMF program which is found
in the EMX distribution archive.
To do this simply type EMXOMF filename.obj
Information/Bugs
If you want any other information please contact me by email. I don't know
whether I will compile future versions as yet, this is because I just compiled
this so I didn't have to use the dos version of Nasm to compile my assembly
code. Bugs with this OS/2 version which don't correspond to the same DOS
version should be reported to me. Other bugs should probably go to the author
but only if they're reproduceable in the DOS version (ie not my fault! :)
Speed
As for speed of assembly - I have not been able to test this yet because I
have not got any large assembly sources which I can use as benchmark files.
I would presume that it is much faster than DOS (as is the usual case).
Compression
The executables in this distribution have been compressed using lxlite - this
is similar to pklite but is for os/2 - you can compress .EXE,.DLL and various
other 32bit OS/2 file formats with it. It also removes unnecessary debug
information from files and which in most cases means that compression does not
affect archive size or makes it smaller. Decompression is at runtime with no
real loss in speed. In this case, it made the zipfile about 40k smaller and
you'll save 320k drivespace when its on your HD. Good enough for you?