I think you should stick with option 1 to begin with if there are more important parts of your OS that you'd rather write first. Option 2 probably isn't worth bothering with because it will have no role under EFI, so it's a lot of extra work for something that you'll be throwing out later. Option 3 should be a longterm goal, though if the main aim of your OS is to access USB devices elegantly, you may wish to get straight into it now - buy the book on USB by Benjamin Lunt in the Book Recomendations thread (http://forum.osdev.org/viewtopic.php?f= ... 88#p239188). Another option is to wait until someone produces a binary blob to do all the USB stuff for writers of simple hobby OSes, giving them the option to tweak it to fit in with the way their OS sets up the machine - I plan to produce such a thing once I've tackled USB myself, but I can't do it any time soon as I'm working on more important parts of my OS at the moment. You may be able to pinch code from other people, copy and pasting it and then modifying it to suit your needs, but if you don't know exactly what your doing it could be a nightmare. Ask yourself what you're writing your OS for and whether anyone will ever use it, and then ask yourself if there might be something better to do with your life. Life is short - don't waste it.muazzam wrote:In your opinion, What is the "Best" and also "Easy" way to access USB floppies in protected mode?.
1. Drop protected mode access disks and re-enter protected mode.
2. With virtual 8086 mode.
3. Writing real USB driver.
or another way?
How your operating system access it?
Best way to access USB Floppy
- DavidCooper
- Member
- Posts: 1150
- Joined: Wed Oct 27, 2010 4:53 pm
- Location: Scotland
Re: Best way to access USB Floppy
Help the people of Laos by liking - https://www.facebook.com/TheSBInitiative/?ref=py_c
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming