flat assembler
Message board for the users of flat assembler.

Index > DOS > all mixed up

Author
Thread Post new topic Reply to topic
bitshifter



Joined: 04 Dec 2007
Posts: 764
Location: Massachusetts, USA
bitshifter
Is it possible to import functions into COM or MZ application?
I would like to call some C-code from within my fasm code.
Do i need C compiler which can generate 16bit functions?
Either this is impossible or unpopular since i have not seen it done...

_________________
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 06 Jun 2009, 04:41
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
> Is it possible to import functions into COM or MZ application?

Unreproductable Confused

> I would like to call some C-code from within my fasm code.
> Do i need C compiler which can generate 16bit functions?

Do you want a 16-bit or 32-bit DOS app (since this is the DOS subforum, I assume you have DOS Wink ) ?

> Either this is impossible or unpopular since i have not seen it done...

FASM doesn't support OMF. But there are other ways. Write more about your problem.
Post 06 Jun 2009, 10:05
View user's profile Send private message Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 764
Location: Massachusetts, USA
bitshifter
Its not really a problem, its just that i was tinkering around.
I had managed to import some fasm code into my C code
and i was wondering if it could be done the other way around.
Post 06 Jun 2009, 11:16
View user's profile Send private message 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-2020, Tomasz Grysztar.

Powered by rwasa.