AminetAminet
Search:
80046 packages online
About
Recent
Browse
Search
Upload
Setup
Services

driver/other/anaiis.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:ANAIIS USB Stack Release 1.04
Author:Gilles Pelletier
Uploader:gilles pelletier voila fr (Gilles Pelletier)
Type:driver/other
Version:1.04 (08-Jan-2012)
Requires:Highway or Subway from E3B
Architecture:m68k-amigaos
Date:2012-01-08
Download:http://aminet.net/driver/other/anaiis.lha - View contents
Readme:http://aminet.net/driver/other/anaiis.readme
Downloads:5305
Introduction
~~~~~~~~~~~~
ANAIIS, acronym for Another Native Amiga IO Interface Stack, is a software
solution that brings the possibilities of the Universal Serial Bus (USB) to
the old vintage Amiga, with 68000 at 7.14MHz, and the ZorroII card Highway or
clockport Subway from E3B.

At minimum, you need:
- an Amiga 68000 at 7.14MHz
- a Highway or a Subway card
- some RAM (70 Ko for a mouse and a keyboard) 
- should operate from WB1.1 to AmigaOS4.0 (680x0 cpu required).

ANAIIS, Another acronym with hidden parts:
Native because it is all written in C language (some parts are in Assembly).
Amiga because this computer worths this kind of program.
Input/Output because it works for mice, keyboards, thumbs and printers.
Interface because it translates usb transactions into Intuition events.
Stack because this kind of program is called like that.

ANAIIS controls internaly :
- (9,0,0) alias hub
- (3,1,1) alias keyboard (boot keyboard)
- (3,1,2) alias mouse (boot mouse)

and externaly:
- (7,1,1), (7,1,2) alias printer (uni and bi-directional)
- (8,6,80) alias massstorage (bulk only with embedded scsi commands)
           SATA disk, sticks, keys, thumbs, card readers...
- (3,0,0) vendor=0x044f 1103 product=0xb320 45856 ThrustMaster (joypad with
rumble)
- all external program by using a Sirion like API.
- like pl2303 vendor=0x067b 1659 product=0x2303 8963...

A little graphic user interface is given to control the stack.
You can also control it via CLI commands: usbstart, usbreset, usbstop.
You can send files to printer with the usbprint <file> command.
A redirection helper translates parallel.device unit 0 into ieee1284.device.
You only need a compatible printer driver to print via standard system.
(i.e. Deskjet560C for HPSC2210, or a PCL compatible driver)

External programs can be used with ANAIIS stack, such HID (extra buttons),
ThrustMaster (joystick with rumble) and massive (keys with (8,6,80) interface).
These programs are not delivered with this package.

For games, demos or some tools, you must keep original mouse and keyboard.
ANAIIS translates usb transactions into system events, so programs that
use hardware directly won't work.
ANAIIS is not yet resident and doesn't survive at boot time.

Tested with success with Brilliance, Deluxe Paint, Aegis Sonix, Ced 
(I wrote this text with it :) ) most of well written Workbench tools.

It is possible to plug and unplug devices without reseting the stack.
But be careful with disks.

Requirement & Installation
~~~~~~~~~~~~~~~~~~~~~~~~~~
See Install.readme file.

Future
~~~~~~
- Internal drivers support.
- Reduce code size, suppress debug data.
- Improve gui.
- Improve speed and reactivity.

Known Bugs
~~~~~~~~~~
- crashes (guru 2 or guru 6) if the usbkey0: is present after key unplug.
  need to remove manually with
  assign usbkey0 dismount
  assign usbkey0: remove
  before inserting another device
- copy and rasterdump works, directdump hangs

Steps
~~~~~
V1.04 08-Jan-2012 Fix Mount/Unmount with WB1.3
      04-Jan-2012 Subway detection at 0x00d80001, 0x00d90001 (A604)
      01-Jan-2012 Fix hasardeous thing with timeout/partial BULK IN request
                  Bump rev

V1.03 25-Dec-2011 PTP don't work at all...
      11-Dec-2011 Fix Taskpri (now, mouse and massstorage can mix transactions)
      28-Nov-2011 Fix DumpX gui (edit/cursor/save/tests)
      26-Nov-2011 Fix (BULK IN/BULK OUT/INT) thumbs.
      19-Nov-2011 Ignore automount set to false partitions
      11-Nov-2011 Command line for massive was disabled...
      09-Nov-2011 Add a semaphore in massive, to prevent damages.
      06-Nov-2011 NAK issue (not an error, but normal busy device)
      19-Oct-2011 MaxTransfer and Mask.
                  Wait delay.

V1.02 28-Sep-2011 Detach notification from GUI 
      22-Sep-2011 USBGetStackAttrs was wrong (A0 instead A1)
      24-Aug-2011 Add SFS... (not working with 68000)
      02-Aug-2011 Add RDB partition decoding and mount/unmount
      26-Jul-2011 Fix usbscsi.device and FFS crashes
      17-Jul-2011 Cosmetics in DumpX

V1.01 15-May-2011 Fix Massive, mount goes nearly fine
      14-May-2011 Changes in uhc124 core
      15-Apr-2011 Fix Function and Interface dependence (claim & declaim)
      08-Apr-2011 Fix Massive 4GB startup (sometimes fails)
                  Add menus in DumpX.
      29-Mar-2011 Add 64 bit routines (Add, Sub, LShift, RShift, Divu, Mulu).

V1.00 18-Mar-2011 Fix Anaiis hangup (notify never removed)
                  Fix ieee1284.device, now it prints!
                  Fix Massive, now all keys should work (up to 4GB)
                  Be patient, a 4GB key takes 5 minutes to mount ;(, but after,
                  you can copy! (fat95 limitation?)
                  Bump rev

V0.99 07-Mar-2011 Fix port 4 detection, fix grap of hubs removal
                  Massive can mount/unmount devices and the speed has passed
                  from 3500B/s to 6500B/s
                  Too lazy to bump the revision ;)
      06-Feb-2011 Massive !
      09-Jan-2011 Fix speed issue (keyboard wont SetAddress).
      17-Nov-2010 Stack issue (CLI only, set stack 8000 before launching).
      02-Nov-2010 Cosmetics in GUI.
      14-May-2010 GUI now works with WB1.1.
      11-Apr-2010 Mighty crash when closing fixed.
      23-Mar-2010 GUI improvement (fusion of usbstat + anaiis)
      07-Mar-2010 Remove all demo code (all is in demo.usbhcd now)
      27-Feb-2010 DoIO for usbhcd interface.
      21-Feb-2010 Reduce code, Anaiis gui goes from usbstat now
      18-Feb-2010 Can load external drivers (#?.hcd or #?.usbhcd)
      04-Feb-2010 Bump rev

V0.98 15-Oct-2009 registers everywhere (Thanks Cosmos)
      15-Jun-2009 GUI improvement (sliders + values)
      22-Apr-2009 playHID improvement (HID decoding!? still in progress...)
      18-Mar-2009 playHID fixes, hope it works better (Thanks Cammy)
      15-Mar-2009 usbstat fixes (Thanks Raziel for testing it on OS4.1)
      13-Mar-2009 Localization in french (the file was missing...)
      22-Feb-2009 Bump rev, plug and unplug working fine with notification.

V0.97 15-Feb-2009 Fix lowlevel.library keyboard, dead keys.
      07-Feb-2009 Fix some desastrous bugs in 1.1 and 1.3
                  Fix USBEPGetDescriptorA
      05-Feb-2009 anaiisprivate.library
      21-Dec-2008 ieee1284.device is now fully compliant with USBSysBase.
      14-Dec-2008 Safer traces
                  (remove references to DOSBase, simple tasks like devices
                  don't call DOSBase API)
      30-Nov-2008 Less size.
      20-Nov-2008 Keyboard led report and printing are now working correctly.
                  capslock, numlock, scrolllock=>help.
      11-Nov-2008 Remove maybe hub crashes, now build complete interfaces.
      31-Oct-2008 Remove possible endless wait (speed up the mouse!).
      20-Oct-2008 Notification now working.
      05-Oct-2008 usbresource.library or anaiisresource.library.
      21-Sep-2008 Add semaphore protection, printing is desactivated.
      18-Sep-2008 Early version...
      26-Jul-2008 Cosmetic changes
      20-Apr-2008 Localization
      15-Mar-2008 PANDORA (usbsys.device or anaiis.device)
      14-Feb-2008 Boost core code (registers use, global optimizer)
                  Device vector is now anaiis.device.

V0.96 10-Feb-2008 Fix Highway ugly bug, due to a wrong and looooong code
                  generation. Silly compiler and lazy coder...
      21-Jan-2008 OS4.0 Mousewheel? what!? Yes for Subway and OS4.O under
                  68000 emulation.
                  Core modification, standard message structure for future use.

V0.95 13-Jan-2008 Add Host+manufacturer+product+offset for clockport
                  base address.

V0.94 23-Dec-2007 Fix Subway detection that sometimes fails.
                  Many thanks for the brave beta testers!
      18-Dec-2007 some little GUI improvement.

V0.93 15-Dec-2007 Subway now works with ANAIIS!
      12-Dec-2007 Merge code for Highway and Subway.
      02-Dec-2007 Printing doesn't work...

V0.92 18-Nov-2007 Most hub will work now. I have implemented 2.0 mode, but
                  old 1.1 style doesn't work. Now it fixed.
      23-May-2007 Additional code to simply manage mousewheel. ANAIIS will
                  send 0x7a for up, 0x7b for down, 0x7c for left and 0x7d for
                  right, as keyboard events. Strange for a mouse!
                  Strange multiselection: Qualifiers key was wrong on repeat
                  state, but good on key up and key down.
                  I use inputdev tool (Robert A. Peck 1985) to check that.
                  Now you can move cursor with keyboard keys:
                  lalt+window key         = lalt+lamiga  = left click.
                  ralt+context menu       = ralt+ramiga  = right click.
                  window key+cursor up    = lamiga+up    = mouse move up.
                  window key+cursor down  = lamiga+down  = mouse move down.
                  window key+cursor left  = lamiga+left  = mouse move left.
                  window key+cursor right = lamiga+right = mouse move right.

V0.91 13-May-2007 WB1.3: suppress ugly console windows.

V0.90 09-May-2007 First working release.

V0.10 10-Jun-2006 Mouse!!


Contact address
~~~~~~~~~~~~~~~
Any mail, comments, suggestions, documentations are welcome!

Please send a mail with the title "ANAIIS" at the following mail address
gilles dot pelletier at voila dot fr

Enjoy USB on old classic Amiga.
And remember: Only Amiga makes it possible!


Contents of driver/other/anaiis.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[unknown]                 4230    9736  43.4% -lh5- 401b Jan  8 18:47 Anaiis/Anaiis.readme
[unknown]                 2584    6164  41.9% -lh5- 865f Jan  8 21:06 Anaiis/anaiis_scsi.readme
[unknown]                27969   52568  53.2% -lh5- cc64 Dec 30 14:58 Anaiis/bin/Anaiis
[unknown]                 8487   15176  55.9% -lh5- 756b Jan  8 17:28 Anaiis/bin/demo.usbhcd
[unknown]                19296   35288  54.7% -lh5- aae6 Dec 11 18:59 Anaiis/bin/DumpX
[unknown]                  467     916  51.0% -lh5- ea55 Dec  3 12:00 Anaiis/bin/DumpX.info
[unknown]                 5046    8728  57.8% -lh5- c7b4 Dec 31 15:29 Anaiis/bin/highway.usbhcd
[unknown]                 5666   10036  56.5% -lh5- c487 Dec 31 15:29 Anaiis/bin/highwayxp.usbhcd
[unknown]                 3197    5452  58.6% -lh5- d700 Aug 14 19:59 Anaiis/bin/ieee1284.device
[unknown]                19730   36404  54.2% -lh5- ffb7 Jan  8 20:55 Anaiis/bin/massive
[unknown]                  298     907  32.9% -lh5- 4c96 Dec 14 22:12 Anaiis/bin/massive.info
[unknown]                11518   21504  53.6% -lh5- 7d95 Dec 26 17:39 Anaiis/bin/playhid
[unknown]                  470     936  50.2% -lh5- 0e32 Dec 26 17:07 Anaiis/bin/playhid.info
[unknown]                  353     680  51.9% -lh5- 8a97 Apr 28  2011 Anaiis/bin/project
[unknown]                  357     983  36.3% -lh5- a268 Dec  3 12:06 Anaiis/bin/project.info
[unknown]                21933   42804  51.2% -lh5- 4360 Jan  7 14:52 Anaiis/bin/ptp
[unknown]                  418     866  48.3% -lh5- 7a25 Dec 31 15:30 Anaiis/bin/ptp.info
[unknown]                 5782    9272  62.4% -lh5- 9b6b Jan  8 18:46 Anaiis/bin/unmount
[unknown]                 8709   14188  61.4% -lh5- a2b4 May 15  2011 Anaiis/bin/usbprint
[unknown]                 3278    5100  64.3% -lh5- 4763 Dec 31 15:15 Anaiis/bin/usbreset
[unknown]                 3076    4976  61.8% -lh5- 0f61 Jan  1 22:39 Anaiis/bin/usbscsi.device
[unknown]                37120   73960  50.2% -lh5- 0cef Jan  7 18:10 Anaiis/bin/usbstart
[unknown]                 3278    5100  64.3% -lh5- 6979 Dec 31 15:15 Anaiis/bin/usbstop
[unknown]                 6787   10760  63.1% -lh5- 2128 Jul 26  2011 Anaiis/bin/usbtrace
[unknown]                  257     634  40.5% -lh5- 3c74 Jul 26  2011 Anaiis/bin/usbtrace.info
[unknown]                 1056    1906  55.4% -lh5- 32c7 Jan 22  2011 Anaiis/catalogs/français/anaiis.catalog
[unknown]                  337     900  37.4% -lh5- b0f1 Feb 11  2010 Anaiis/icons/WB1.3.info
[unknown]                  331     518  63.9% -lh5- 10be May 15  2010 Anaiis/icons/WB1.3/Anaiis.info
[unknown]                  280     546  51.3% -lh5- cba0 May 15  2010 Anaiis/icons/WB1.3/usbreset.info
[unknown]                  204     454  44.9% -lh5- d3d5 May 15  2010 Anaiis/icons/WB1.3/usbstart.info
[unknown]                  246     546  45.1% -lh5- a9aa May 15  2010 Anaiis/icons/WB1.3/usbstop.info
[unknown]                  256     628  40.8% -lh5- 7478 Feb 11  2010 Anaiis/icons/WB2.0.info
[unknown]                  334     518  64.5% -lh5- 92a4 May 15  2010 Anaiis/icons/WB2.0/Anaiis.info
[unknown]                  279     546  51.1% -lh5- 53b7 May 15  2010 Anaiis/icons/WB2.0/usbreset.info
[unknown]                  200     454  44.1% -lh5- b581 May 15  2010 Anaiis/icons/WB2.0/usbstart.info
[unknown]                  288    1890  15.2% -lh5- 4e31 May 15  2010 Anaiis/icons/WB2.0/usbstop.info
[unknown]                 2901    7293  39.8% -lh5- e49b Jan 12  2011 Anaiis/Install.readme
[unknown]                  663    1180  56.2% -lh5- 934c Apr 22  2009 Anaiis/playhid.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        38 files  207681  390517  53.2%            Jan  8 20:21

Aminet © 1992-2012 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>