The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: ecube on June 13, 2009, 01:54:47 AM

Title: large db files
Post by: ecube on June 13, 2009, 01:54:47 AM
anyway to make masm not act retarded and max cpu to 95%+ when trying to assemble in large files in db format? by that I mean just assemble it in without masm trying to parse/understand it, or whatever it's doing.
Title: Re: large db files
Post by: dedndave on June 13, 2009, 02:24:01 AM
someplace i saw a obj file converter just exactly what you want
i have it, too
let me find the link
it may have been on Vortex's site
Title: Re: large db files
Post by: dedndave on June 13, 2009, 02:34:31 AM
http://www.vortex.masmcode.com/files/bin2coff10.zip
Title: Re: large db files
Post by: ecube on June 13, 2009, 02:43:18 AM
Good old vortex, thanks dedndave  :bg
Title: Re: large db files
Post by: dedndave on June 13, 2009, 02:47:29 AM
my pleasure
he's the man, huh
Title: Re: large db files
Post by: ToutEnMasm on June 13, 2009, 04:40:05 AM

a simple trick to avoid problems with large data,picked it here in this forum
Quote
      buffy label byte
      org $+200000h-1
      db ?
      size_buffy equ $-buffy      ;2 Mo
Title: Re: large db files
Post by: dedndave on June 13, 2009, 05:05:46 AM
i don't get it, Yves
Title: Re: large db files
Post by: MichaelW on June 13, 2009, 05:16:13 AM
http://www.masm32.com/board/index.php?topic=8602.0
Title: Re: large db files
Post by: dedndave on June 13, 2009, 05:21:36 AM
oh - i see
i was a little confused, as e^cubed wanted to convert a data base file to obj
but, i see now that isn't it - lol
as it turns out, Vortex's converter could be used for a lot of things, i guess
but - that is a good tip to know about Yves
Title: Re: large db files
Post by: Vortex on June 13, 2009, 09:04:56 AM
Hi dedndave,

There are also fda.exe ( file data assembler ) and fda2.exe coming with the Masm32 installation.
Title: Re: large db files
Post by: dedndave on June 13, 2009, 01:18:25 PM
cool Vortex
obj files have always been a bit of a mystery to me - lol
i understand most of the relocation and symbol stuff
but all the little subtleties elude me
Title: Re: large db files
Post by: Vortex on June 13, 2009, 04:17:31 PM
Hi dedndave,

This document can be helpful :

Microsoft Portable Executable and Common Object File Format Specification (http://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx)
Title: Re: large db files
Post by: dedndave on June 13, 2009, 04:25:16 PM
lol - yes - i have that one - i have converted it to PDF on another thread
Title: Re: large db files
Post by: Vortex on June 13, 2009, 05:08:00 PM
This tool is very useful to examine and understand the internals of object files :

QuotePEviewPEview Version 0.9.8 ( .zip 31KB ) - my quick and easy way to view the structure and content of 32-bit Portable Executable (PE) and Component Object File Format (COFF) files which supports the viewing of EXE, DLL, OBJ, LIB, DBG, and other file types.

http://www.magma.ca/~wjr/PEview.zip
Title: Re: large db files
Post by: dedndave on June 13, 2009, 05:14:50 PM
that guy has some awsome tutorial type examples too