Archived

This topic is now archived and is closed to further replies.

djsteffey

mp3 operating system ?

Recommended Posts

Can anyone make an operating system that all it would do is load an mp3 off disk and play it. I did an exteremely simple little operating system thing where i wrote a boot sector and had it load my operating system which just put some text to the screen and a prompt. Let the user type in commands. But the only command was reboot which rebooted the computer. So obviously getting it to load and play an mp3 file is a little over my head. Anyone wanna give a crack at it. I would consider paying for such a thing if anyone could make it. "I pity the fool, thug, or soul who tries to take over the world, then goes home crying to his momma." - Mr. T

Share this post


Link to post
Share on other sites
That''s an interesting idea. I''m trying to think of exactly what it would need. A FAT/NTFS/EXT2/whatever filesystem driver. An MP3 decoding engine. A rudimentary driver layer or hard-coded support for specific sound cards. I suppose it wouldn''t need PMT for anything. Would you want it to be interactive; e.g. be able to stop or fast-forward the MP3?

Share this post


Link to post
Share on other sites
interactive is desireable of course but just getting it to play one to start with would be nice. As far as interaction goes, increasing and decreasing volume, advancing to the next song, being able to insert a cd with mp3''s on it. I was thinking more along the lines instead of a hard drive, for it to load the mp3s off of a cd and play them.
But I dont need this to be interactive like being able to visually see stuff because I wont have a screen with this. To be able to control it I will put together some kind of crude control device, something somewhat similar to a gamepad or something with each button representing a different action plugged up through a seriel or parallel port.....i dont think those are too hard to program into an OS.

"I pity the fool, thug, or soul who tries to take over the world, then goes home crying to his momma."
- Mr. T

Share this post


Link to post
Share on other sites
Indeed, serial and/or parallel port communication is a relatively easy aspect of OS development. Only supporting CD drives would also make life easier, as you could focus on ISO9660 instead of any particular platform-specific filesystem. As for interactivity, I suppose you could either code the input routines directly into the MP3 decoder''s main loop, or have a simple cooperative multitasking system, giving much higher priority to the MP3 decoder. This sounds like it would be fun to code ... alas, if I only had the spare time ...

Share this post


Link to post
Share on other sites