User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Assembly section within the Software Development category of DaniWeb, a massive community of 456,541 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,276 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Assembly advertiser: Programming Forums
Views: 1066 | Replies: 8
Reply
Join Date: Apr 2006
Posts: 21
Reputation: agrawalashishku is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
agrawalashishku agrawalashishku is offline Offline
Newbie Poster

Question .wav file on x86

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2005
Posts: 3,834
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 23
Solved Threads: 436
Colleague
Salem's Avatar
Salem Salem is offline Offline
banned

Re: .wav file on x86

  #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  
Join Date: Apr 2006
Posts: 21
Reputation: agrawalashishku is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
agrawalashishku agrawalashishku is offline Offline
Newbie Poster

Re: .wav file on x86

  #3  
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  
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation: Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of 
Rep Power: 40
Solved Threads: 972
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: .wav file on x86

  #4  
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.
<<Freelance Programmer>> << Hobby Site>>
Signature links for sale. PM me for details
Reply With Quote  
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 12,883
Reputation: jbennet is a jewel in the rough jbennet is a jewel in the rough jbennet is a jewel in the rough jbennet is a jewel in the rough 
Rep Power: 32
Solved Threads: 305
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: .wav file on x86

  #5  
Oct 15th, 2007
impossible unless you want to write about 1 million lines of assembley
TRY MY SUGGESTIONS AT YOUR OWN RISK

Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
Reply With Quote  
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 12,883
Reputation: jbennet is a jewel in the rough jbennet is a jewel in the rough jbennet is a jewel in the rough jbennet is a jewel in the rough 
Rep Power: 32
Solved Threads: 305
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: .wav file on x86

  #6  
Oct 15th, 2007
but you would need to write a whole media player and a driver for the sound card.
TRY MY SUGGESTIONS AT YOUR OWN RISK

Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
Reply With Quote  
Join Date: Dec 2005
Posts: 3,834
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 23
Solved Threads: 436
Colleague
Salem's Avatar
Salem Salem is offline Offline
banned

Re: .wav file on x86

  #7  
Oct 15th, 2007
Seems like you're up on the issues, what's holding you back?
Reply With Quote  
Join Date: Apr 2006
Posts: 21
Reputation: agrawalashishku is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
agrawalashishku agrawalashishku is offline Offline
Newbie Poster

Re: .wav file on x86

  #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  
Join Date: Dec 2005
Posts: 3,834
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 23
Solved Threads: 436
Colleague
Salem's Avatar
Salem Salem is offline Offline
banned

Re: .wav file on x86

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

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Assembly Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Assembly Forum

All times are GMT -4. The time now is 4:58 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC