I'm trying to write a USB device driver for an 'oddball' OS, but the 400 page usb specification is confusing and nonspecific. In short I need a turbo assembler listing for a USB driver.
I've managed to determine if a device is connected to a particular usb port, but when it comes to the get_descriptor SETUP/DATA/STATUS transactions I'm setting the run/stop bit in the command register (after setting up 3 tokens, frame lists, frame list pointers) and NOT getting the suposed 18 byte device descriptor back.
If anyone has a concise .asm (prefer turbo assembler) listing of how to implement a ''get_device_descriptor'' command for USB, then could you send me the listing via email. Ideally I'd like to get data from devices such as webcams/joysticks/etc over USB and would appreciate any .asm programs that do this.
email to [email protected]
Need USB driver .asm listing
RE:Need USB driver .asm listing
I knew I'd be pi$$ing in the wind asking for this info.
RE:Need USB driver .asm listing
lol, better to be pissed off than pissed on ehh? Try a pre-existing OS. search 4 assembly based OS's. Try www.programmersheaven.com . i highly doubt there is a turbo asm specific device driver out there for usb.
sorry, but we all have to learn somehow, i oftem learn the hard way. Be diligent
regards,
Mr. Xsism
sorry, but we all have to learn somehow, i oftem learn the hard way. Be diligent
regards,
Mr. Xsism
RE:Need USB driver .asm listing
Tip #1: Writing a complex entirely in Asm is ridiculous. Use GCC or DJGPP.
Tip #2: If using ASM, at least use an asm that isn't dead. Use NASM or GAS
Tip #3: Look at existing Open-Source OSes.
Tip #2: If using ASM, at least use an asm that isn't dead. Use NASM or GAS
Tip #3: Look at existing Open-Source OSes.