flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Call function C with assembler

Author
Thread Post new topic Reply to topic
Tos_2011



Joined: 02 Oct 2010
Posts: 4
Tos_2011 16 Oct 2010, 03:17
I want to call Turbo C function in asm.ConfusedI need redefine struct,unsigned,char array,if()
How to make memset,memcpy,setvect,getvect function of C if not library standard ?
Mkisosfs need flp file first when make iso.I use winXP.DOS not dd of Linux.
So,How to make flp file & burn iso file to CD-rom ?
How to command line compile TC & asm
I don't want to gcc
All in real
Very Happy Very Happy
Post 16 Oct 2010, 03:17
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler 16 Oct 2010, 03:47
Tell TC to compile to coff or MS coff, so you can link it with you Fasm made object file. Post your asm code here, with a list of the functions you want exported(so you can call from C)/imported(so you can call to C) and I'll show you how to do it by doing it for you. That's the easiest way to explain, by example.
Post 16 Oct 2010, 03:47
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr 16 Oct 2010, 11:21
Tyler wrote:
Tell TC to compile to coff or MS coff
I think when Tos_2011 would be able to do this, he will know how to solve other problems too. Wink

----8<----
Tos_2011 wrote:
I want to call Turbo C function in asm.
Which version of Turbo C? What assembler? Which function (RTL/etc)?
Post 16 Oct 2010, 11:21
View user's profile Send private message Reply with quote
dosin



Joined: 24 Aug 2007
Posts: 337
dosin 16 Oct 2010, 13:47
this is not for Turbo C..
but it is a c lib in development for dexos/dex4u.com
can be used with MS Visual C++ 2008 .. its free to download..

dex4u new forum:
http://dex4u.com/phpbb/viewtopic.php?f=5&t=12

you can download the lib has most the functions your looking for..
and any questions just ask and me or tonymac.. on the forum..

well its avail if any one is interested..
also may help someone to devel c lib for there os..
Post 16 Oct 2010, 13:47
View user's profile Send private message Reply with quote
Tos_2011



Joined: 02 Oct 2010
Posts: 4
Tos_2011 29 Oct 2010, 10:13
I need convert getstring,printstring (0Eh/int 10h) to Turbo C 3.0.Help me
I see TUAN_CD question about vesa.Can I run vesa on NVIDIA ?
Write NVIHIA driver is difficult. Sad
If not then What should I do to be in 16bit color ?
Question
Post 29 Oct 2010, 10:13
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 30 Oct 2010, 22:35
dosin, whatever happened to the TCC effort? MS VC is huge and has a questonable license for FOSS stuff (IIRC).
Post 30 Oct 2010, 22:35
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.