lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20090516062137.GA6036@grml>
Date:	Sat, 16 May 2009 08:21:37 +0200
From:	Michael Blizek <michi1@...haelblizek.twilightparadox.com>
To:	sikandar shah <sazamsk@...il.com>
Cc:	kernelnewbies@...linux.org, linux-kernel@...r.kernel.org
Subject: Re: how to access a sound card in linux using nasm in pure
	assembly language

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ