flat assembler
Message board for the users of flat assembler.
Index
> Linux > GNU C library vs POSIX in assembly |
Author |
|
alkap 07 Mar 2016, 08:09
(1). You can interface with the kernel via system calls, as well as via libc. See fasm/examples/elfexe/, and fasm/examples/libcdemo/ for details.
(2). While I have not done any ALSA programming myself, I would dare say that you would have to invoke the functions supplied by the ALSA API from within your assembly code to interact with the sound system. Hopefully, someone else who may have done some ALSA programming may respond in a more informed way. |
|||
07 Mar 2016, 08:09 |
|
fasmnewbie 07 Mar 2016, 08:54
axlucas
syscall 64-bit reference is using C interface, regardless. So whatever you do in Linux, you'll probably end up with C or work around C anyway. If u insist on using syscall, then you need to hack your way into all those equates, structs, constants and similar C stuff. It is fun and challenging, but you are entering into some unchartered territory which is working against your 'working comfortably in assembly' intention. For 32-but int 80s, I think JohnFound can help you with the assembly reference. ALSA is something I don't know. |
|||
07 Mar 2016, 08:54 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.