Go to 
http://master.dl.sourceforge.net/project/api-simple-completa/api.7z?viasf=1

Look at api\bin\OS\v2020\vDPMI
Run bmain.batYou need DJGPP and NASM, and set paths accordingly to execute 
binaries everywhere.
It's an example of linking DJGPP C and NASM in an ever-growing application.



   ----- Forwarded Message ----- From: Danilo Pecher 
<danilo.pec...@data-experts.biz>To: Technical discussion and questions for 
FreeDOS developers. <freedos-devel@lists.sourceforge.net>Sent: Friday, January 
13, 2023 at 08:46:58 AM CSTSubject: Re: [Freedos-devel] Linking asm with C
 Oh dear, if you really want an answer for that, you need to give more
infos, like which linker are you using, which memory model?

On Thu, 12 Jan 2023 at 20:45, Knedlik <kned...@trainmazeland.com> wrote:
>
> Hello,
> I’m currently trying to make a function in a separate assembly file, but I’m 
> having problems linking it with a C program. Are there any guides that show 
> how to do this?
> Thanks in advance,
> -Knedlik
>
> _______________________________________________
> Freedos-devel mailing list
> Freedos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-devel


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel
  
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to