.wav file on x86

Reply

Join Date: Apr 2006
Posts: 21
Reputation: agrawalashishku is an unknown quantity at this point 
Solved Threads: 0
agrawalashishku agrawalashishku is offline Offline
Newbie Poster

.wav file on x86

 
0
  #1
Oct 15th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: .wav file on x86

 
0
  #2
Oct 15th, 2007
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?
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,142
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 531
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: .wav file on x86

 
0
  #3
Oct 15th, 2007
impossible unless you want to write about 1 million lines of assembley
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 21
Reputation: agrawalashishku is an unknown quantity at this point 
Solved Threads: 0
agrawalashishku agrawalashishku is offline Offline
Newbie Poster

Re: .wav file on x86

 
0
  #4
Oct 15th, 2007
Originally Posted by Salem View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,142
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 531
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: .wav file on x86

 
0
  #5
Oct 15th, 2007
but you would need to write a whole media player and a driver for the sound card.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: .wav file on x86

 
0
  #6
Oct 15th, 2007
Seems like you're up on the issues, what's holding you back?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,339
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1460
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: .wav file on x86

 
0
  #7
Oct 15th, 2007
Originally Posted by agrawalashishku View Post
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.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 21
Reputation: agrawalashishku is an unknown quantity at this point 
Solved Threads: 0
agrawalashishku agrawalashishku is offline Offline
Newbie Poster

Re: .wav file on x86

 
0
  #8
Oct 16th, 2007
Originally Posted by Salem View Post
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: .wav file on x86

 
0
  #9
Oct 16th, 2007
Just punch "wav file format" into a search engine, and start reading.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC