tatOS & USB

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
TomT
Member
Member
Posts: 42
Joined: Sat Mar 15, 2008 7:20 am
Location: Wisconsin, USA
Contact:

tatOS & USB

Post 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/
ACcurrent
Member
Member
Posts: 125
Joined: Thu Aug 11, 2011 12:04 am
Location: Watching You

Re: tatOS & USB

Post 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.
Get back to work!
Github
egos
Member
Member
Posts: 612
Joined: Fri Nov 16, 2007 1:59 pm

Re: tatOS & USB

Post by egos »

Support for FAT32 would be useful and is's easy to implement.
If you have seen bad English in my words, tell me what's wrong, please.
M2004
Member
Member
Posts: 65
Joined: Sun Mar 07, 2010 2:12 am

Re: tatOS & USB

Post 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
rdos
Member
Member
Posts: 3286
Joined: Wed Oct 01, 2008 1:55 pm

Re: tatOS & USB

Post 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.
M2004
Member
Member
Posts: 65
Joined: Sun Mar 07, 2010 2:12 am

Re: tatOS & USB

Post by M2004 »

rdos: The code can be found from 'downloads' section.

http://code.google.com/p/tatos/downloads/list

Regards
Mac2004
rdos
Member
Member
Posts: 3286
Joined: Wed Oct 01, 2008 1:55 pm

Re: tatOS & USB

Post 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.
M2004
Member
Member
Posts: 65
Joined: Sun Mar 07, 2010 2:12 am

Re: tatOS & USB

Post 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
Post Reply