943,522 Members | Top Members by Rank

Ad:
  • Assembly Discussion Thread
  • Unsolved
  • Views: 2178
  • Assembly RSS
Oct 15th, 2007
0

.wav file on x86

Expand Post »
Hello Could someone Please give me an idea as to how should I try to play .wav file on an x86 using assembly language in Real mode at the computer startup. Basically at the time when OS has not yet booted.
Thank you
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
agrawalashishku is offline Offline
21 posts
since Apr 2006
Oct 15th, 2007
0

Re: .wav file on x86

If there is no OS, there can't be a file system either.
How are you proposing to load the .WAV file to be played?
How are you going to locate the appropriate audio device?
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Oct 15th, 2007
0

Re: .wav file on x86

impossible unless you want to write about 1 million lines of assembley
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is offline Offline
16,485 posts
since Apr 2005
Oct 15th, 2007
0

Re: .wav file on x86

Click to Expand / Collapse  Quote originally posted by Salem ...
If there is no OS, there can't be a file system either.
How are you proposing to load the .WAV file to be played?
How are you going to locate the appropriate audio device?
I will read the sectors using INT13 BIOS and the disk already has a FAT file system.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
agrawalashishku is offline Offline
21 posts
since Apr 2006
Oct 15th, 2007
0

Re: .wav file on x86

but you would need to write a whole media player and a driver for the sound card.
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is offline Offline
16,485 posts
since Apr 2005
Oct 15th, 2007
0

Re: .wav file on x86

Seems like you're up on the issues, what's holding you back?
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Oct 15th, 2007
0

Re: .wav file on x86

I will read the sectors using INT13 BIOS and the disk already has a FAT file system.
that won't work for huge hard drive partitions -- those larger than about 2 gig.
Last edited by Ancient Dragon; Oct 15th, 2007 at 8:38 pm.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,945 posts
since Aug 2005
Oct 16th, 2007
0

Re: .wav file on x86

Click to Expand / Collapse  Quote originally posted by Salem ...
Seems like you're up on the issues, what's holding you back?
How do I begin i.e. First of all I should know how to play a .wav file using C that would tell me how to play it in assembly. But I dont know anything about .wav files and how to play them. So could someone point me to a resource please
Reputation Points: 10
Solved Threads: 0
Newbie Poster
agrawalashishku is offline Offline
21 posts
since Apr 2006
Oct 16th, 2007
0

Re: .wav file on x86

Just punch "wav file format" into a search engine, and start reading.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Assembly Forum Timeline: How to put internal Shell Commands in NASM?
Next Thread in Assembly Forum Timeline: Overflow error





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC