From: Michael Blizek <michi1@michaelblizek.twilightparadox.com>
To: sikandar shah <sazamsk@gmail.com>
Cc: kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org
Subject: Re: how to access a sound card in linux using nasm in pure assembly language
Date: Sat, 16 May 2009 08:21:37 +0200 [thread overview]
Message-ID: <20090516062137.GA6036@grml> (raw)
In-Reply-To: <139247610905131345o5a6b291ex1b2dc9b55b6c644a@mail.gmail.com>
Hi!
On 02:45 Thu 14 May , sikandar shah wrote:
> Hello i am a interested in linux development,but there are many resources
> about development in C,C++ in linux but i want to do programming in
> assembly.
>
> i am using ubuntu 8.0.2 and i want to do some task for which i cant get help
> anywhere
>
> well i have got this assignment to access sound card or pc speaker in
> assembly using nasm and on linux operating system.
>
> till now i have got to the point that we use interupt 0x80 for kernel calls.
> but what do we do next.
> also well i found out while searching the net that the calls are associated
> with eax
> and the argument can be upto 5 stored in ebx,ecx,edx,esi,edi
There is a simple low level api you can use which does not rely on user space
libraries:
http://manuals.opensound.com/developer/
...
> 4. how can i make it play something even the system beep
printf("\a");
-Michi
--
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com
parent reply other threads:[~2009-05-16 7:10 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <139247610905131345o5a6b291ex1b2dc9b55b6c644a@mail.gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090516062137.GA6036@grml \
--to=michi1@michaelblizek.twilightparadox.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sazamsk@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox