Reading sectors off flash drive in protected mode
Re: Reading sectors off flash drive in protected mode
sorry guys
Currently developing Lithium OS (LiOS).
Recursive paging saves lives.
"I want to change the world, but they won't give me the source code."
Recursive paging saves lives.
"I want to change the world, but they won't give me the source code."
Re: Reading sectors off flash drive in protected mode
http://prettos.de
We have UHCI, OHCI, EHCI with a common interface to usb1/usb2, and we are adding xHCI now. xHCI specification is really good (EHCI is a terrible one).
We have UHCI, OHCI, EHCI with a common interface to usb1/usb2, and we are adding xHCI now. xHCI specification is really good (EHCI is a terrible one).
http://www.henkessoft.de/OS_Dev/OS_Dev3.htm (OSDEV)
http://www.c-plusplus.de/forum/viewforu ... is-62.html
irc.euirc.net #PrettyOS
http://www.c-plusplus.de/forum/viewforu ... is-62.html
irc.euirc.net #PrettyOS
Re: Reading sectors off flash drive in protected mode
i wrote a thread about using bios function in protected mode, it can be doable in several way, but either not very reliable safe or either not efficient, but it can be done , specially if it's during early stage of kernel initializationBMW wrote:Hi,Combuster wrote:use int 0x13. Otherwise, no.
If you bothered to read the title, you would have noticed that I am doing this in protected mode. I hope you know that interrupts are not available in protected mode.
otherwise you can check grub source code, it contain all you need to initialize an usb flash disk in protected mode
Re: Reading sectors off flash drive in protected mode
h0bby1 wrote:otherwise you can check grub source code, it contain all you need to initialize an usb flash disk in protected mode
I was wondering about that. Glad you posted that tip.
The link doesn't work.ehenkes wrote:http://prettos.de
We have UHCI, OHCI, EHCI with a common interface to usb1/usb2, and we are adding xHCI now. xHCI specification is really good (EHCI is a terrible one).
EDIT UPDATE :
@ ehenkes
Found it here : http://sourceforge.net/p/prettyos/code/ ... l/storage/
Nice.
Re: Reading sectors off flash drive in protected mode
ehenkes wrote:http://prettyos.de sorry
Thank you. Although I can't read that language, it is a nice looking site.