Page 2 of 2

Re: Reading sectors off flash drive in protected mode

Posted: Thu Nov 15, 2012 4:25 pm
by BMW
sorry guys

Re: Reading sectors off flash drive in protected mode

Posted: Fri Sep 13, 2013 10:56 am
by ehenkes
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).

Re: Reading sectors off flash drive in protected mode

Posted: Fri Sep 13, 2013 11:47 am
by h0bby1
BMW wrote:
Combuster wrote:use int 0x13. Otherwise, no.
Hi,

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.
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 initialization

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

Posted: Fri Sep 13, 2013 1:44 pm
by Kortath
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. :)
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).
The link doesn't work. :(

EDIT UPDATE :
@ ehenkes

Found it here : http://sourceforge.net/p/prettyos/code/ ... l/storage/

Nice. :)

Re: Reading sectors off flash drive in protected mode

Posted: Fri Sep 13, 2013 3:27 pm
by ehenkes

Re: Reading sectors off flash drive in protected mode

Posted: Fri Sep 13, 2013 4:17 pm
by Kortath
ehenkes wrote:http://prettyos.de sorry :)

Thank you. Although I can't read that language, it is a nice looking site.