DosWorld
23.10.2019, 00:43 |
OBJ OMF format for x86 / 16 bit (Developers) |
Hi!
I am play with compilers (try to build few own).
So, I am collect info about %subj%.
I have few pdf from M$ and Intel (it is easy to find in google).
May be somebody have more documents/source codes from old times and can share them ? --- Make DOS great again!
Make Russia small again! |
roytam
23.10.2019, 01:15
@ DosWorld
|
OBJ OMF format for x86 / 16 bit |
> Hi!
>
> I am play with compilers (try to build few own).
> So, I am collect info about %subj%.
>
> I have few pdf from M$ and Intel (it is easy to find in google).
>
> May be somebody have more documents/source codes from old times and can
> share them ?
you may have a look on openwatcom's repo:
https://github.com/open-watcom/open-watcom-v2/tree/master/bld/orl/omf |
marcov
23.10.2019, 20:31
@ DosWorld
|
OBJ OMF format for x86 / 16 bit |
> I am play with compilers (try to build few own).
> So, I am collect info about %subj%.
>
> I have few pdf from M$ and Intel (it is easy to find in google).
>
> May be somebody have more documents/source codes from old times and can
> share them ?
New also good? The 16-bit codegenerator of Free Pascal is only a few years old. Recent versions do away with most of the watcom tools in favor of own code. |
DosWorld
25.10.2019, 02:33
@ DosWorld
|
OBJ OMF format for x86 / 16 bit |
Thanks for advise!
I had find manual for Small Assembler. This manual describe obj/omf and is more short description for OMF (may be some pages - outdated).
PS: Also, I find some fun fact. Object library (.lib) at footer-record contain dictionary. Borland's tlink works fine with empty-size dictionary, VAL-linker - require dictionary and will freeze without. --- Make DOS great again!
Make Russia small again! |
Rugxulo

Usono, 26.10.2019, 07:18
@ roytam
|
OBJ OMF format for x86 / 16 bit |
> you may have a look on openwatcom's repo:
ftp://ftp.openwatcom.org/devel/docs/omf.pdf (231 kb)
"Tool Interface Standards (TIS) Relocatable Object Module Format (OMF) Specification", "Version 1.1", "TIS Committee, May 1995". |
rr

Berlin, Germany, 27.10.2019, 10:24
@ DosWorld
|
OBJ OMF format for x86 / 16 bit |
> May be somebody have more documents/source codes from old times and can
> share them ?
https://github.com/DigitalMars/optlink (source code for Digital Mars linker) --- Forum admin |
rr

Berlin, Germany, 06.01.2020, 14:34
@ DosWorld
|
OBJ OMF format for x86 / 16 bit |
> I have few pdf from M$ and Intel (it is easy to find in google).
>
> May be somebody have more documents/source codes from old times and can
> share them ?
You may also want to look at http://download.xskernel.org/docs/file%20formats/omf/borland.txt for some Borland specific stuff, e.g., Dependency file definition.
And you can use the following tools to verify your .OBJ files:
1) DISPOBJ (w/o sources)
2) READOBJ (w/o sources)
3) ODU (OMF Object File Dumper) (w/ MASM sources)
4) DumpOmf (w/ JWasm/MASM sources)
Also: Digital Mars D has DUMPOBJ and Borland has TDUMP. The one from MS is called DUMPBIN. --- Forum admin |
rr

Berlin, Germany, 07.01.2020, 22:56
@ DosWorld
|
OBJ OMF format for x86 / 16 bit |
> May be somebody have more documents/source codes from old times and can
> share them ?
https://github.com/sudleyplace/QLINK
https://github.com/sudleyplace/QLINK/tree/master/FORMATS --- Forum admin |
rr

Berlin, Germany, 21.01.2020, 23:31
@ rr
|
OBJ OMF format for x86 / 16 bit |
> And you can use the following tools to verify your .OBJ files:
> 1) DISPOBJ (w/o
> sources)
> 2) READOBJ (w/o sources)
> 3) ODU (OMF Object File Dumper) (w/ MASM
> sources)
> 4) DumpOmf (w/ JWasm/MASM
> sources)
>
> Also: Digital Mars D has
> DUMPOBJ and Borland has
> TDUMP. The one from MS is called DUMPBIN.
Two more tools:
8) DUMPOBJ (w/ sources for LSI R86 & preprocessor RPP; knowing the Japanese language might come handy )
9) READOBJ from 1987/1989 (!) by Kip Davidson & Dave Cortesi (w/ MS C source) --- Forum admin |