💾 Archived View for cugi.ie › aminet › 1684203223.gmi captured on 2023-06-14 at 14:32:29. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-05-24)

-=-=-=-=-=-=-

ANAIIS USB Stack Release 1.23

   Author:       Gilles Pelletier
   Uploader:     gilles pelletier live fr (Gilles Pelletier)
   Type:         driver/other
   Version:      1.23 (14-May-2023)
   Requires:     USB uhc124 chip compatible card or another supported usb hardware
   Architecture: m68k-amigaos
   Date:         2023-05-15
   Readme:       http://aminet.net/driver/other/anaiis.readme
   Downloads:    18037

http://aminet.net/driver/other/anaiis.lha

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 Amiga.

Supported harware:

ZorroII E3B Highway

clockport E3B Subway

clockport Alinea Subway 2021

ZorroII Freeway,

clockport Freeway

At minimum, you need:

- an Amiga 68000 at 7.09MHz (PAL or 7.16MHz in NTSC ;) )

- a supported hardware

- 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.

The Settlers, Indy4 (and the fate of Atlantis) work fine...

It is possible to plug and unplug devices without reseting the stack.

But be careful with disks.

Requirement & Installation

~~~~~~~~~~~~~~~~~~~~~~~~~~

See Install.readme file.

Future

~~~~~~

- Improve gui.

- Improve speed and reactivity.

Known Bugs

~~~~~~~~~~

- gui crashes on 68000 + ucode and utf_8 catalogs

Steps

~~~~~

V1.23 14-May-2023 Fix load/update/save prefs

23-Apr-2023 NTSC mode

13-Apr-2023 Another mouse with epsize at 8

13-Mar-2023 Fix a guru#3 on 68000 at start

27-Feb-2023 callfunction

26-Feb-2023 rMouse.usbfd driver

30-Jan-2023 First call of a Sirion 1.3 function: bootmouse.usbfd

16-Jan-2023 Water rabbit version

V1.22 27-Nov-2022 Install script updates

20-Nov-2022 HID PlayHID fixes

07-Nov-2022 Install script (WB 1.3 and up)

01-Nov-2022 Freeway clockport detection (Subway, Subway 2021, and

FreewayCP)

29-Oct-2022 Readme fixes

28-Oct-2022 Mouse with epsize at 8

23-Oct-2022 Freeway detection

19-Sep-2022 CrossDosFileSystem SuperFloppy mode

05-May-2022 Adapt massive to work with sirion 1.3

15-Feb-2022 Bump rev, cleanup

30-Jan-2022 Water tiger version

16-Jan-2022 Add clockport addresses ($d88001,$d8c001,$d84001)

V1.21 31-Jul-2021 Reactivate traces

23-May-2021 SAS/C 6.58 makefile (suppress optimizations)

21-May-2021 Subway 2021 (you read it "Subway 2021")

20-May-2021 Bump rev + experimental things

12-Feb-2021 Metal ox version

V1.20 11-Nov-2020 Pangolin version (never released)

V1.19 31-May-2020 DumpX

V1.18 18-Dec-2018 Bump rev

10-Sep-2018 NSD commands

24-Apr-2018 68080 detection

27-Dec-2017 PeekQualifier for WB 1.x

V1.12 14-May-2017 Fix FFS unmount

11-Apr-2017 remove unused strings

resident 80368 -> 61496 bytes

usbstart 79844 -> 61708 bytes

26-Mar-2017 try to mount an already mounted partition (by changing the

first letter)

20-Mar-2017 Bump rev

V1.11 09-Mar-2016 ObtainSemaphoreShared and AttemptSemaphoreShared

05-Mar-2016 Save prefs guru fixed

03-Mar-2016 Load usbhcd in a more compatible way...

03-Feb-2016 cli window still open on WB 1.x

20-Mar-2015 Tests

01-Jan-2015 Issues...

30-Dec-2014 Unmount issues...

29-Dec-2014 Bump rev

V1.10 10-Feb-2014 Add XSurf (0x1212:0x0017) clockport(s) detection

08-Jan-2014 Fix internal function pointers

21-Dec-2013 Expansion.library

09-Dec-2013 Fix issue with input and lowlevel.library (right and left

click)

08-Dec-2013 Bump rev

V1.09 10-Oct-2013 Reset proof !

29-Sep-2013 Tests

26-Sep-2013 Fix info_13 (unit name and volume name)

25-Sep-2013 Fix colors for 2.04 and menus

21-Sep-2013 Fix massive for 1.2 (mount DOS)

19-Sep-2013 Bump rev

V1.08 06-Apr-2013 Fix reset for Highway (sometimes don't start)

Add usbctrl command (usbctrl start will launch

anaiisresident.library)

24-Mar-2013 Lights numlock led at start (keyboard)

18-Feb-2013 Fix USBEPGetDescriptor

11-Feb-2013 Wheel up and wheel down are inverted

04-Feb-2013 Bump rev

V1.07 02-Feb-2013 Function Driver names

Advanced mode...

27-Jan-2013 Cosmetic changes

Add libusbx support for WinUAE/Windows

12-Jan-2013 Fix iConfig and iInterface unicode strings

05-Jan-2013 Add usbctrl command (usbstop and usbreset in a single command)

02-Jan-2013 Remove the spanish catalog (after a complaint to the Aminet

administrator)

Lo siento por las pequeñas y los pequeños usuarios de

ANAIIS.

Para consolarla, le añadí otros idiomas.

Be careful 'Advanced mode' freeze all stuff... you have been

warned

27-Dec-2012 Fix guru 4 (deluxe paint IV, about...)

16-Dec-2012 Ajust enumeration timing (too fast now)

15-Dec-2012 Rewrite all core for Subway in 680x0 assembly

08-Dec-2012 Rewrite all core for Highway in 680x0 assembly

Remove some unused functions

Bump rev

V1.06 11-Nov-2012 Fix issues with PFS3 all in one.

16-Oct-2012 Add utf_8 and compose for ucode.

08-Oct-2012 Swap alt and amiga keys

Add anaiis.cd for the brave translators :)

22-Sep-2012 Add catalogs (with translation bugs... :) )

15-Sep-2012 Avail flush can remove anaiis libraries (it's bad!)

18-Aug-2012 Add install menu

05-Aug-2012 Bump rev

18-Jul-2012 Add libusb support for WinUAE

V1.05 28-May-2012 Fix Massive detection delay. Now massive can be launched

before the stack

27-May-2012 Fix Highway and subway detection

20-May-2012 Open icon.library only when it's necessary

15-Apr-2012 Fix delay recovery into massive

13-Apr-2012 Fix lowlevel into input stuff

04-Mar-2012 Test program for lowlevel_ext (rumble)

21-Feb-2012 info_13 for c:info replacement

V1.04 18-Feb-2012 Fix SetAddress (gimme more chance)

16-Feb-2012 Fix hub display on gui (spaghetti form...)

14-Feb-2012 Fix Massive

29-Jan-2012 Cosmetic changes on interfaces (info & detach)

25-Jan-2012 Fix potential bug on windows

24-Jan-2012 Fix notifications (bad message)

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 live dot fr

Enjoy USB on old classic Amiga.

And remember: Only Amiga makes it possible!

Contents of driver/other/anaiis.lha

PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                   20      20 100.0% -lh0- 46a8 Apr  3  2016 Anaiis/.info
[unknown]                 2098    4590  45.7% -lh5- df8f Sep 25  2013 Anaiis/anaiis.cd
[unknown]                 5596   13449  41.6% -lh5- 14ca Dec 20 23:04 Anaiis/Anaiis.readme
[unknown]                 3073    7547  40.7% -lh5- 0242 May 31  2017 Anaiis/anaiis_scsi.readme
[unknown]                  337     900  37.4% -lh5- b0f1 Dec 20 23:19 Anaiis/bin.info
[unknown]                   75      75 100.0% -lh0- ef3e Apr  3  2016 Anaiis/bin/.info
[unknown]                44298   89040  49.8% -lh5- fc4a Dec 11 23:23 Anaiis/bin/Anaiis
[unknown]                  385     573  67.2% -lh5- 0faa Dec 20 23:19 Anaiis/bin/Anaiis.info
[unknown]                31353   60236  52.1% -lh5- d0e0 Dec 11 23:25 Anaiis/bin/anaiisresident.library
[unknown]                 1429    2670  53.5% -lh5- e291 Sep 29  2013 Anaiis/bin/catalogs/czech/anaiis.catalog
[unknown]                 1486    2798  53.1% -lh5- 683f Sep 29  2013 Anaiis/bin/catalogs/czech/anaiis_utf8.catalog
[unknown]                 1361    2596  52.4% -lh5- ba30 Sep 29  2013 Anaiis/bin/catalogs/deutsch/anaiis.catalog
[unknown]                 1598    3156  50.6% -lh5- 2f3b Sep 29  2013 Anaiis/bin/catalogs/espaÐl/anaiis.catalog
[unknown]                 1427    2822  50.6% -lh5- 4abc Sep 29  2013 Anaiis/bin/catalogs/esperanto/anaiis.catalog
[unknown]                 1364    2706  50.4% -lh5- 6a44 Sep 29  2013 Anaiis/bin/catalogs/franíÂis/anaiis.catalog
[unknown]                 1389    2770  50.1% -lh5- 734d Sep 29  2013 Anaiis/bin/catalogs/franíÂis/anaiis_utf8.catalog
[unknown]                 1918    4266  45.0% -lh5- 461d Apr  5  2013 Anaiis/bin/catalogs/greek/anaiis_utf8.catalog
[unknown]                 1411    2866  49.2% -lh5- 8e2d Sep 29  2013 Anaiis/bin/catalogs/italiano/anaiis.catalog
[unknown]                 1341    2592  51.7% -lh5- f9c8 Sep 29  2013 Anaiis/bin/catalogs/nederlands/anaiis.catalog
[unknown]                 1364    2716  50.2% -lh5- a784 Sep 29  2013 Anaiis/bin/catalogs/tagalog/anaiis.catalog
[unknown]                21181   38312  55.3% -lh5- 8bfa Sep 10 19:05 Anaiis/bin/DumpX
[unknown]                  451     890  50.7% -lh5- 8434 Aug 24  2013 Anaiis/bin/DumpX.info
[unknown]                15356   28636  53.6% -lh5- 7117 Dec 20 23:19 Anaiis/bin/hostusb.usbhcd
[unknown]                 3920    6496  60.3% -lh5- 704d Mar 11  2013 Anaiis/bin/ieee1284.device
[unknown]                 7609   11620  65.5% -lh5- 6204 Dec 20 23:18 Anaiis/bin/info_13
[unknown]                 4540    7544  60.2% -lh5- 3751 Apr 16  2012 Anaiis/bin/lowlevel
[unknown]                  390     835  46.7% -lh5- fad7 Apr 16  2012 Anaiis/bin/lowlevel.info
[unknown]                24602   43780  56.2% -lh5- 5af2 Dec 20 23:19 Anaiis/bin/massive
[unknown]                  306     905  33.8% -lh5- 2cc2 May 14  2017 Anaiis/bin/massive.info
[unknown]                  353     680  51.9% -lh5- 8a97 Apr 28  2011 Anaiis/bin/massstorage
[unknown]                  288     879  32.8% -lh5- 4b50 Jan 20  2013 Anaiis/bin/massstorage.info
[unknown]                20842   40960  50.9% -lh5- 0575 Mar 27  2016 Anaiis/bin/playhid
[unknown]                  470     936  50.2% -lh5- 0e32 Dec 26  2011 Anaiis/bin/playhid.info
[unknown]                 6049    9448  64.0% -lh5- 0171 Dec 20 23:19 Anaiis/bin/unmount
[unknown]                 5210    8000  65.1% -lh5- be3e Dec 11 23:25 Anaiis/bin/usbctrl
[unknown]                 9396   15516  60.6% -lh5- 062d Mar 11  2013 Anaiis/bin/usbprint
[unknown]                 4115    6328  65.0% -lh5- f083 Dec 11 23:25 Anaiis/bin/usbreset
[unknown]                 3560    5884  60.5% -lh5- 37a4 Nov  7 21:39 Anaiis/bin/usbscsi.device
[unknown]                30817   58372  52.8% -lh5- b3cc Dec 11 23:25 Anaiis/bin/usbstart
[unknown]                 4116    6324  65.1% -lh5- 1ed9 Dec 11 23:25 Anaiis/bin/usbstop
[unknown]                 6821   10820  63.0% -lh5- 96b4 Feb 21  2013 Anaiis/bin/usbtrace
[unknown]                  225     604  37.3% -lh5- 3324 Feb 21  2013 Anaiis/bin/usbtrace.info
[unknown]                  337     900  37.4% -lh5- b0f1 Feb 11  2010 Anaiis/icons/WB1.3.info
[unknown]                  385     573  67.2% -lh5- 0faa Oct  8  2012 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]                  389     573  67.9% -lh5- 268e Oct  8  2012 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]                 3314    8232  40.3% -lh5- cfc3 Oct 24  2013 Anaiis/Install.readme
[unknown]                  922    1739  53.0% -lh5- 18e0 Mar 24  2013 Anaiis/playhid.readme
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        54 files  281040  529238  53.1%            Dec 20 20:27

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