Page 1 of 1
tatOS & USB
Posted: Mon Jun 25, 2012 8:07 am
by TomT
A new release of tatOS is available.
This hobby OS may be a useful study for those interested in making their own protected mode driver for the USB flash drive/memory stick using the UHCI or EHCI controllers and a FAT16 formatted flash.
The zip file includes commented asm source.
Thanks for checking it out.
Constructive comments are most welcome.
TomT
http://code.google.com/p/tatos/
Re: tatOS & USB
Posted: Mon Jun 25, 2012 7:27 pm
by ACcurrent
Nice work! I see an extremely extensive asm library framework. It is interesting to see a project which actually rushes ahead to implement USB.
Re: tatOS & USB
Posted: Tue Jun 26, 2012 11:06 pm
by egos
Support for FAT32 would be useful and is's easy to implement.
Re: tatOS & USB
Posted: Wed Jul 04, 2012 7:04 am
by M2004
TomT: Nice work.
I tested your code with several of my pc's with uhci/ehci controllers.
The mouse code seemed to work with most of the pc's I've tested, but
there were 2 pc's unable to find the mouse attached to the usb port.
Regards
Mac2004
Re: tatOS & USB
Posted: Tue Jul 17, 2012 8:08 am
by rdos
Nice USB code. With this code as a reference, I'm sure I could provide USB mass-storage support in my OS.
However, the SVN tree seems to contain no code.
Re: tatOS & USB
Posted: Tue Jul 17, 2012 9:08 am
by M2004
rdos: The code can be found from 'downloads' section.
http://code.google.com/p/tatos/downloads/list
Regards
Mac2004
Re: tatOS & USB
Posted: Wed Jul 18, 2012 12:44 am
by rdos
Yes, I did notice that the source could be dowloaded. That's why I wrote that the code could serve as a good basis for writing an USB mass storage driver. The problem mainly is with too general definitions in the USB document (where only one is used for most devices), and the SCSI specification that I haven't been able to locate without a paywall.
Re: tatOS & USB
Posted: Wed Jul 18, 2012 8:45 am
by M2004
rdos: You're right about the usb docs being too general.
Usb controllers seem to be very picky about how to set them up properly.
Luckily TomT has been very kind and published his source code.
Regards,
Mac2004