02 February 2015, 09:27 | #1 |
Registered User
Join Date: Sep 2009
Location: Spain
Age: 47
Posts: 95
|
Oops, I did it again... (USB drives on Amiga)
Hello again,
I'm proud to show you my last project: As you would guess, it's an USB controller attached to the Amiga parallel port, plus an storage media driver that allows you to use any filesystem you want (direct access to sectors on drive). On those pictures it's running on a plain A500 (512k chip, 512k slow) with fat95 filesystem, and it achieves about 33kbytes/sec. on read, twice on write. I'm yet working on it (I have some init problems with slow devices) but it's quite stable and usable It's based on the VNC1L development board, the VDIP1 (you can buy it at ebay), so it's simple enough to be built at home. I'll post all the files required to build one yourself in the near future. *** NEW DRIVER *** Edit: I've attached a file with the instructions and the driver. http://eab.abime.net/attachment.php?...1&d=1436945624 Last edited by ferix; 15 July 2015 at 09:37. |
02 February 2015, 10:24 | #2 |
Italian Amiga Zealot
Join Date: Jan 2009
Location: Italy
Age: 36
Posts: 1,911
|
You're a true hero, ferix
Will it support other USB devices apart from mass-storage? Probably not, but doesn't hurt to ask |
02 February 2015, 10:46 | #3 |
Registered User
Join Date: Sep 2009
Location: Spain
Age: 47
Posts: 95
|
@jbernam, I'm sure it can, but I'm not sure if it will :P
The firmware in the controller can manage some other peripheral, like mice, keyboards and joysticks (HID devices), but a driver has to be written... |
02 February 2015, 10:55 | #4 | |
Italian Amiga Zealot
Join Date: Jan 2009
Location: Italy
Age: 36
Posts: 1,911
|
Quote:
There are various USB mice/kb/joypads projects out there, you might try asking around, who knows |
|
02 February 2015, 11:02 | #5 |
Registered User
Join Date: Sep 2009
Location: Spain
Age: 47
Posts: 95
|
I think it can run some sort of reduced USB stack...
The USB controller allows to talk directly to the USB devices, but it still manages the bus, so it does the enumeration and all that stuff... |
02 February 2015, 11:16 | #6 |
Registered User
Join Date: May 2013
Location: Kleppe / Norway
Posts: 258
|
Very cool!
Looking forward to your completion of this project! Question: Will transfer rates benefit from an accelerated A500, or are you already approaching the speed limit? |
02 February 2015, 11:21 | #7 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
cool.. the "media storage driver" you mentioned, is that the exec device you are using? and does that in turn use parallelport.device?
|
02 February 2015, 11:24 | #8 |
Registered User
Join Date: Sep 2009
Location: Spain
Age: 47
Posts: 95
|
Sure it will benefit from faster machines, but I don't believe it will go faster than 100Kbytes/sec...
The problem here are the CIAs. Those chips are clocked at 1Mhz, so the faster you can access them is just half this frequency, but I need 3 accesses to them to complete a single byte read, plus the time needed to copy that byte to the main memory. |
02 February 2015, 11:28 | #9 |
Registered User
Join Date: Sep 2009
Location: Spain
Age: 47
Posts: 95
|
@hooverphonique
The exec device is called usb.device, but it can be renamed... I'm not using the paralleport.device, I'm just talking straight to the CIAs, but in an OS friendly way, reserving the resources to take exclusive access to them, so no other device can use the parallel port. Edit: I meant "storage media driver"... :P Fixed... Last edited by ferix; 02 February 2015 at 11:46. |
02 February 2015, 13:17 | #10 |
Registered User
Join Date: Feb 2013
Location: Argentina
Posts: 281
|
Hello Ferix!
Awesome project! just great. What need to complete the project? Greetings and congratulations. |
02 February 2015, 13:28 | #11 |
Registered User
Join Date: Sep 2009
Location: Spain
Age: 47
Posts: 95
|
@Franchute13,
I have to solve some initialization problems. Some slow devices take a long time to set up and cause timeout problems. By other hand, I need to learn how to make it removable, from the point of view of the OS... |
02 February 2015, 23:03 | #12 |
Registered User
Join Date: Dec 2005
Location: Toronto
Posts: 185
|
Great work
Stylish USB-device icon as well |
03 February 2015, 01:07 | #13 |
Banned
Join Date: Dec 2014
Location: Montreal
Posts: 129
|
This is really nice, congratulation for your efforts!
I wish the Kickstart supported some kind of autoconfig protocol for other expansion ports than the "zorro" ones. This way you could just put the drivers in a ROM attached to your card (or maybe directly in the firmware) and Exec would load them directly from your device. Do you have any plans to "upgrade" this design to plug on the 86/zorro expansion ports in the future? |
03 February 2015, 01:27 | #14 |
Registered User
Join Date: Sep 2009
Location: San Antonio, TX USA
Age: 50
Posts: 1,185
|
Looks very promising! Thank you for your work and I can't wait till it's finished.
|
03 February 2015, 13:15 | #15 |
Registered User
Join Date: May 2010
Location: Czech Rep
Posts: 599
|
|
03 February 2015, 16:34 | #16 | |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Quote:
was this device written by you?? |
|
03 February 2015, 16:42 | #17 |
namm namm AMIGA
Join Date: Jan 2015
Location: Austria
Age: 44
Posts: 734
|
Great Stuff FERIX !!!
|
03 February 2015, 22:17 | #18 |
Registered User
Join Date: Dec 2012
Location: Greece
Posts: 292
|
This is amazing!
|
03 February 2015, 22:43 | #19 |
Registered User
Join Date: Sep 2009
Location: Spain
Age: 47
Posts: 95
|
Yep, that's it, and yes, I wrote it myself
|
03 February 2015, 22:46 | #20 |
Registered User
Join Date: Sep 2009
Location: Spain
Age: 47
Posts: 95
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New USB HID mouse / USB Joystick / Gamepad USB adapter for the classic Amiga | spidi | News | 191 | 21 February 2021 19:18 |
PC 1.44 MB USB floppy drives | PopoCop | support.Other | 12 | 22 April 2011 18:23 |
replacing amiga floppy drives with hard drives | Gordon | support.Hardware | 2 | 06 March 2007 00:44 |
Oops I burned something! | oldpx | support.Hardware | 3 | 13 June 2004 01:45 |
|
|