flat assembler
Message board for the users of flat assembler.

Index > DOS > 16bit .obj files?

Author
Thread Post new topic Reply to topic
bitshifter



Joined: 04 Dec 2007
Posts: 796
Location: Massachusetts, USA
bitshifter 20 Dec 2009, 17:50
Hello
Im playing with some crusty old 16bit code with Borland 3.1 and TASM.
Some of it is written in C and some in ASM.
I am using medium memory model also...
Can fasm make .obj files so i can drop TASM?
I tried format COFF but maybe i need special public declaration for BC?

_________________
Coding a 3D game engine with fasm is like trying to eat an elephant,
you just have to keep focused and take it one 'byte' at a time.
Post 20 Dec 2009, 17:50
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1900
DOS386 21 Dec 2009, 08:02
bitshifter wrote:
Im playing with some crusty old 16bit code with Borland 3.1 and TASM. Some of it is written in C and some in ASM. I am using medium memory model also... Can fasm make .obj files so i can drop TASM?


There is a FAQ on the top Evil or Very Mad

Quote:
Depends. For 32-bit DPMI code, you need a COFF linker and have to use the COFF format. For 16-bit code, there is no way to use a linker, since FASM can't output 16-bit OMF objects.

http://board.flatassembler.net/topic.php?t=8474
http://board.flatassembler.net/topic.php?t=8162
http://board.flatassembler.net/topic.php?t=7449
http://board.flatassembler.net/topic.php?t=4652


Adding: http://board.flatassembler.net/topic.php?t=10939

Quote:
I tried format COFF but maybe i need special public declaration for BC?


NO. COFF is 32-bit or 64-bit only.

Solution:

- Pressure or pay Tomasz about OMF support in FASM
- Use NASM, Lempel-Ziv's LZASM, ...
- Brew OMF through format binary as "OBJ" (no idea how feasible ...)
Post 21 Dec 2009, 08:02
View user's profile Send private message Reply with quote
Vortex



Joined: 17 Jun 2003
Posts: 318
Vortex 21 Dec 2009, 09:13
Quote:
Lempel-Ziv's LZASM


It's Lazy Assembler not Lempel-Ziv's assembler :

http://lzasm.hotbox.ru

_________________
Code it... That's all...
Post 21 Dec 2009, 09:13
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.