Mac OS 9 Lives

Mac OS 9 Discussion => Development & Programming => Topic started by: macStuff on November 25, 2017, 12:12:12 PM

Title: USB development kits
Post by: macStuff on November 25, 2017, 12:12:12 PM
http://www.staticky.com/mirrors/ftp.apple.com/developer/Development_Kits/Mac_OS_USB/

heres your chance to try to implement USB 2.0!
i think thats what this is anyway ;)
obviously the hardware is capable (with a usb 2.0 pci card or cardbus/pcmcia or whatever?)
remember steve jobs did everything he could to downplay the g4 in order to sell G5s!
to the point of holding a funeral so everyone with an iq of 2 or higher would udnerstand that mac os 9 is DEAD!!
i bet he would rollover in HIS grave if someone got usb2.0 working on a g4!

ftp.apple.com/developer/Development_Kits/Mac_OS_USB/USB_DDK_1.5.5f1.img.sea.hqx
Title: Re: USB development kits
Post by: teroyk on November 26, 2017, 08:11:08 AM
and some sample code for PCI card detection:
http://www.sonixwave.com/apple/developer/Sample_Code/Devices_and_Hardware/Drivers/index.html
and maybe need some information from here:
http://wiki.osdev.org/Universal_Serial_Bus
and here is some sample code for OS 9 USB calls itself:
http://www.sonixwave.com/apple/developer/Sample_Code/Devices_and_Hardware/USB/index.html
Title: Re: USB development kits
Post by: Naiw on November 26, 2017, 08:32:06 AM
Unfortunately I think USB2 support would be quite difficult, it requires changes at a much lower level than the USB SDK provides. But of course nothing is impossible even if it means an alternative USB implementation.
Title: Re: USB development kits
Post by: Daniel on November 26, 2017, 09:00:44 AM
The good news is that it looks like all USB 2 devices and cards use EHCI. If you get 2.0 working on one PCI card, it probably won't be too hard to get it working on other cards too.
Title: Re: USB development kits
Post by: nanopico on November 27, 2017, 08:01:29 AM
Unfortunately I think USB2 support would be quite difficult, it requires changes at a much lower level than the USB SDK provides. But of course nothing is impossible even if it means an alternative USB implementation.

This is very much so correct.  The SDK is for utilizing the existing bus implementation.  You would need to implement an entire bus before even allowing use of anything utilizing the SDK. Someone correct me if I'm wrong on this one.
Title: Re: USB development kits
Post by: teroyk on November 27, 2017, 02:54:47 PM
You would need to implement an entire bus before even allowing use of anything utilizing the SDK. Someone correct me if I'm wrong on this one.

Yes you are correct, it's even start from detecting card from PCI-bus (it doesn't matter if its on chip motherboard or PCMCIA). Thats why I put that link above. Then you have to know how use that chip on card. Thats why second link above. Then you have to make driver. There is one hard part still left. You have to make driver to look like USB-port drivers is now in OS9 if you don't want program all drivers for USB-devices. Thats why there is 3rd link. Making new driver is not easy task, but it just need lot of time to get hands dirty with low level programming.