Welcome, Guest. Please login or register.

Author Topic: Anaiis - Highway USB Stack for old classic Amigas  (Read 9457 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline GillooTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 124
    • Show only replies by Gilloo
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #14 on: December 16, 2007, 11:00:09 PM »
Hi all

Zero Point Nine Cube version comes!
Now ALL Amiga are able to use USB, even twenty years old A1000 :-o



Merry Christmas and best wiches for the next year!
 

Offline Reflex

  • Full Member
  • ***
  • Join Date: Mar 2005
  • Posts: 123
    • Show only replies by Reflex
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #15 on: December 31, 2007, 11:38:41 AM »
well why don't make it work with a mediator too?
I mean the great problem about mediator is that only spiderII can work with that board and it's too expensive.
Moreover poseidon isn't avaible anymore and didn't support mediator, anais would be the perfect solution!
 

Offline rkauer

  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 3263
    • Show only replies by rkauer
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #16 on: December 31, 2007, 08:24:03 PM »
Quote

Reflex wrote:
well why don't make it work with a mediator too?
I mean the great problem about mediator is that only spiderII can work with that board and it's too expensive.
Moreover poseidon isn't avaible anymore and didn't support mediator, anais would be the perfect solution!


 I think the very same thing: contact Elbox to bring Anaiis to Spyder!
Goodbye people.

I\'ll pop on from time to time, RL is acting up.
 

Offline B00tDisk

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 1670
    • Show only replies by B00tDisk
    • http://www.thedelversdungeon.com
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #17 on: December 31, 2007, 11:14:15 PM »
Quote

rkauer wrote:
 I think the very same thing: contact Elbox to bring Anaiis to Spyder!


Hmm!  Interesting idea.  Giloo, can you code anaiis to erase an RDB?

 :-x
Back away from the EU-SSR!
 

Offline LoadWB

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show only replies by LoadWB
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #18 on: January 01, 2008, 01:01:11 AM »
Quote
A 1.5Mbyte A500 (MiniMig spec) was effectively dead _before_ 1994.


Sheesh, the negativity here...

Throw 8MB and SCSI on that MiniMig and you have what I was using exclusively until around 1997.  What I'd like to see is an A500-compatible expansion port on the MiniMig :-)
 

Offline GillooTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 124
    • Show only replies by Gilloo
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #19 on: January 02, 2008, 01:20:35 PM »
wow, this thread is not dead!

@Reflex and rkauer
Don't dream, PCI is not a solution for classic Amiga architecture: Zorro still better.

ANAIIS is built in old style Amiga coding, only for uhc124 die, used by Highway and Subway. It's not easy to be generic and keep the minimum of cpu usage. It can't use interrupts as PCI needs to manage usb...
Now you can use Subway on non-accelerated A500, A600, A1000, A1200, and it's better than nothing.

@B00tDisk
 :lol: no way to erase anything, hot unplug and massstorage are not supported (and certainly never)(lack of documentation, time, motivation...)
 

Offline LoadWB

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show only replies by LoadWB
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #20 on: January 02, 2008, 02:01:22 PM »
What kind of support in the USB stack would it take to support an APC UPS (or other) under something like apcupsd?

I'm using apcupsd on Solaris machines using SNMP.  I would love to be able to use an APC UPS via USB on my Amiga.  Would be pretty neat, and I'd even take some time to port apcupsd over to Amiga (would take a while as my time is limited, and this would be a first programming project.)

Yeah, I'm desperate to find something worth-while to get back into programming, and just into programming on the Amiga.
 

Offline GillooTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 124
    • Show only replies by Gilloo
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #21 on: March 27, 2008, 10:21:10 AM »
Quote

LoadWB wrote:
What kind of support in the USB stack would it take to support an APC UPS (or other) under something like apcupsd?

I'm using apcupsd on Solaris machines using SNMP.  I would love to be able to use an APC UPS via USB on my Amiga.  Would be pretty neat, and I'd even take some time to port apcupsd over to Amiga (would take a while as my time is limited, and this would be a first programming project.)

Yeah, I'm desperate to find something worth-while to get back into programming, and just into programming on the Amiga.


Sorry to update this old thread, but ANAIIS 0.97 is about to be a "public device", like OS4 usbsys.device (Sirion)
Now it can read/write data endpoints via USBIOReq requests :-D
 

Offline RWO

  • Newbie
  • *
  • Join Date: Mar 2003
  • Posts: 30
    • Show only replies by RWO
    • http://www.rwo.dk
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #22 on: March 27, 2008, 11:16:05 AM »
Thumbs up dude!!

PS: I was wondering if youre HCD(s) support all transfer types? (Control/Bulk/Interrupt/Isochonous)

RWO
Debugging is a state of mind
 

Offline mboehmer_e3b

  • Sr. Member
  • ****
  • Join Date: Aug 2002
  • Posts: 312
    • Show only replies by mboehmer_e3b
    • http://www.e3b.de/usb/
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #23 on: March 27, 2008, 12:01:43 PM »
Quote

 :lol: no way to erase anything, hot unplug and massstorage are not supported (and certainly never)(lack of documentation, time, motivation...)


Hm, just take the old code sniplet from the decyphered spider.device and kill the system boot HD RDB :-)

(But beware, this code is (c) Elbox  :-D )

Michael
 

Offline GillooTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 124
    • Show only replies by Gilloo
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #24 on: April 09, 2008, 11:21:05 AM »
Quote

RWO wrote:
Thumbs up dude!!

PS: I was wondering if youre HCD(s) support all transfer types? (Control/Bulk/Interrupt/Isochonous)

RWO


Hi Rene (sorry for the loooong response delay... :-))
Control: yes (setup, data in, out) (setup, data out, in)
Bulk: yes (in) (out)
Interrupt: yes (in)
Isochronous yes! (in) This last transfer can't be done via sirion API, but by registering endpoint in the funny polling loop of ANAIIS.
This endpoint has 2 buffers and one interrupt (classic software interrupt).
Each transaction reserves one time slot each millisecond for isochrononous and the interrupt says at caller when the buffer1 is full (of data), and continue to fill buffer2...
This kind of transfer is not very stable on 68000, and maybe I will not release this part, and there is no public API for that... :-(

Other thing concerning usbsys.device: the SeeClaimed tag is used to see all interfaces or function even these in use. But how to see if an interface is used... :pissed:
 
 

Offline GillooTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 124
    • Show only replies by Gilloo
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #25 on: September 18, 2008, 02:33:47 PM »
Hi Folks!

anaiis 0.97 is finally there
http://aminet.net/package/driver/other/anaiis

before installing it, keep 0.96 version... maybe it contains strange bugs (too fast, too slow, too I don't know...)

What's new:
pandora: usbsys.device (or anaiis.device) sirion like interface.
localization: to see texts in french.

Now you're able to code your own usb-coffe-machine driver on a genuine 68000.
 

Offline GillooTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 124
    • Show only replies by Gilloo
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #26 on: December 01, 2008, 10:07:51 AM »
ANAIIS 0.97 30-nov-2008
http://aminet.net/package/driver/other/anaiis

Keyboard leds are now working: Capslock, Numlock and ScrollLock (Numlock and ScrollLock leds are just there to be nice) Scrolllock is used to simulate amiga "help" key.

 

Offline Thomas

Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #27 on: December 01, 2008, 10:42:43 AM »

Quote
Scrolllock is used to simulate amiga "help" key.


Please don't do this, or make it configurable.

Most KVM switches use Scroll-Lock to switch between computers. And it's really annoying if a help window opens everytime you switch to another computer.

This was already a problem with the AmigaOne and OS4.

Also some keyboards (mostly Logitech) don't have a Scroll-Lock key any more.

Bye,
Thomas

Offline GillooTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 124
    • Show only replies by Gilloo
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #28 on: December 01, 2008, 01:52:22 PM »
Quote

Thomas wrote:

Quote
Scrolllock is used to simulate amiga "help" key.


Please don't do this, or make it configurable.

Most KVM switches use Scroll-Lock to switch between computers. And it's really annoying if a help window opens everytime you switch to another computer.

This was already a problem with the AmigaOne and OS4.

Also some keyboards (mostly Logitech) don't have a Scroll-Lock key any more.

Bye,
Thomas

Hu, sorry but this is the common key mapping used for the Amiga. Sure, PC keys don't match Amiga keys, but you can use setmap with a modified keymap.
For "help" key, should I use "F12" instead? :idea:
So CapsLock and led are working.
NumLock do nothing but set/unset led.
ScrollLock simulates "Help" and set/unset led.

If someone dislike this, he can disable internal drivers with the adequate option and create a HID driver to do the job as he wants.  :lol:
 

Offline GillooTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 124
    • Show only replies by Gilloo
Re: Anaiis - Highway USB Stack for old classic Amigas
« Reply #29 from previous page: February 23, 2009, 09:45:27 AM »
0.98 version is here.
http://aminet.net/package/driver/other/anaiis

Now hot plug and unplug are working, and notification of these events too.