I need an assembler that creates .bin files, or a linker that will
convert .obj to .bin. I'm trying to assemble large rom bios source
code files (400k +), and asm32 gives me a "file too large" error.
Perhaps I am not using asm32 correctly.
Any pointers to freeware, shareware, or commercial software that
will do this would be greatly appreciated.
Thanks,
Bruce
> I need an assembler that creates .bin files, or a linker that will
> convert .obj to .bin. I'm trying to assemble large rom bios source
> code files (400k +), and asm32 gives me a "file too large" error.
You will find both on my web page.
NASM is a freeware assembler that can directly produce .bin files.
It has its own unique version of Intel syntax, so (depending on
where your source code came from) it might not help you. Also,
the standard DOS build of NASM tends to run out of memory. There
is a Windows build of NASM in the standard package that will have
no problem with a 400K+ source file and there is a DPMI build of
NASM on my web page that would also have no problem.
JLOC is a zero-price linker. It reads OBJ or COFF files (or both)
and creates .bin or .com (or similar) files. It has many
features designed to help in building bios or other rommable
images. If you have an assembler that will assemble your code
to an OBJ file, it should be easy to use JLOC to create your
BIN file. If your assembler cannot handle the whole source file,
JLOC can still help. A lot of the reasons for doing BIOS work
with massive source files (instead of reasonable size modules) go
away when you use JLOC. It gives you link-time computations and
initialization and placement control, that let you do many things
at link time, that otherwise you would need to do at assembly
time (and could only do at assembly time when most of the BIOS is
in one monster module).
--
http://www.erols.com/johnfine/
http://www.geocities.com/SiliconValley/Peaks/8600/
Thank you John. I'm going to give JLOC a try.
Bruce