Amiga.org

Amiga News and Community Announcements => Amiga News and Community Announcements => Amiga Software News => Topic started by: platon42 on August 16, 2003, 08:55:25 PM

Title: Catweasel MK3 keyboard driver for OpenPCI
Post by: platon42 on August 16, 2003, 08:55:25 PM
If you've got a Catweasel and want to connect an Amiga keyboard to it, e.g. to use it with your Pegasos,  you can download a driver here (http://www.platon42.de/download.html).

This is the first public release and the work is based on a framework by Krille. Need some feedback on it, so please report, if it works.

Title: Re:
Post by: platon42 on August 16, 2003, 09:35:58 PM
[Edit: No longer relevant]
Title: Re: CONTENTS MANIPULATED!!!
Post by: KennyR on August 16, 2003, 09:46:24 PM
Ah, Chris, please don't get angry like that. I'm sure the AO moderators were only trying to find balance after being accused of "Pegasos bias" by certain people. What they probably thought is, that since openpci is (more or less) system independent, the 68k driver might well just work on an A1 on OS4 if openpci supports it in the future.

Unless you decide otherwise, of course...and that is your right, since it's your software.
Title: Re:
Post by: platon42 on August 16, 2003, 09:59:36 PM
Dear Kenny,

[Edit: No longer relevant]

I believe amiga.org is one of the most balanced news sites, no matter what some other people say.
Title: Re: CONTENTS MANIPULATED!!!
Post by: Jupp3 on August 16, 2003, 10:02:20 PM
So... Does it work also on PC's?

How about Classic Amigas? :-)
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: platon42 on August 16, 2003, 10:07:33 PM
Maybe it works under *mithlon, yes. And if somebody on a classic amiga wants to connect a second keyboard and has a catweazle and a PCI board, that's supported by OpenPCI (GRex, Prometheus, unfortunately NOT Mediator), it should work there aswell. That's why the 68k binary is also included.
Title: Re: CONTENTS MANIPULATED!!!
Post by: Jupp3 on August 16, 2003, 10:12:29 PM
So then... Why didn't the moderator add those systems to the news item?
Title: Re: CONTENTS MANIPULATED!!!
Post by: Kees on August 16, 2003, 10:35:37 PM
I'm sorry, i have changed the post. :-)
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: KennyR on August 16, 2003, 10:46:49 PM
Uh...damn. What a time to realise my a4k keyboard isn't what it seems to be but is an a4kT or a3k one and won't fit the catweasel. I've only owned the thing six years. :-P
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: redrumloa on August 17, 2003, 12:42:15 AM
@KennyR

AT-> PS2 adatpter
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: Damion on August 17, 2003, 12:53:49 AM
This is cool! I've got a new 4000 keyboard
stashed away somewhere...perhaps I'll use it
with my Peg2. Thanks platon42!
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: KennyR on August 17, 2003, 12:55:09 AM
Thanks Red.
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: KennyR on August 17, 2003, 01:03:15 AM
Oh, and cheers to platon42! :pint: Now openpci lacks only one more driver for the catweasel - the SID chip.

And actually I was working on that a while ago...but as soon as I got into 6510 emulation in c++ I had to admit defeat. :-(
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: Jose on August 17, 2003, 01:53:59 AM
I think UBoot supports the Catweasel, IIRC, so no need for drivers to AOS4.
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: KennyR on August 17, 2003, 02:25:07 AM
Doubtful.
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: CodeSmith on August 17, 2003, 08:45:36 AM
There's at least partial support.  According to Ole-Egil's AmigaOne FAQ (http://www.samfundet.no/~olegil/amiga/),

Quote
What are the options for stdin and stdout in the firmware?
The variables are:

stdin=serial
stdin=amikbd
stdin=ps2
stdout=serial
stdout=vga
 
Lack of VGA card will set stdout=serial and Ctrl-F12 on PS/2 keyboards will set stdin=ps2 and stdout=vga (lack of VGA obviously overrides the latter). The option amikbd is for the PCI Catweasel, you cannot connect an Amiga keyboard to the PS/2 input.
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: KennyR on August 17, 2003, 03:29:17 PM
Um, I'll reply to my own comment here...

Quote
Now openpci lacks only one more driver for the catweasel - the SID chip.


Actually, I'm wrong. Coyote Flux did a sidplayer.library which supports catweasel through openpci and works on the Amiga, and maybe Amithlon. Doesn't work on a Pegasos though. :-(
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: olegil on August 17, 2003, 04:31:16 PM
@KennyR:

What's doubtful?

UBoot supports the keyboard input of the CatWeasel.

However, I think OS4 and Linux still need separate drivers, but can't say for certain, as I never tried one.

Since Hyperion themselves put the support in UBoot, I'm thinking OS4 will come with CatWeasel keyboard support as default.
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: KennyR on August 17, 2003, 05:01:08 PM
Quote
olegil wrote:

What's doubtful?

UBoot supports the keyboard input of the CatWeasel.


I don't doubt that.

Quote
However, I think OS4 and Linux still need separate drivers, but can't say for certain, as I never tried one.


I'm pretty sure they will need seperate drivers. I'm not clued up on the interface between OS4 and uboot, but it seems to me a bios only supplies the most basic of support and an OS must integrate it.

So if it doesn't, Hyperion will soon meet the dilemma daily faced by the MorphOS developers - whether to spend time supporting old or novel hardware, or to spend it on supporting new hardware that most people actually have. Only time will tell whether they can supply a catweasel driver (and that doesn't cover all the other stuff catweasel can do, either). If they don't, then OS4/A1 really needs an openpci implementation to use this nice software written for other systems. I use an lowlevel.library written for Amithlon by Guido Mersmann, and it works like a treat on Pegasos, supporting my catweasel.
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: olegil on August 17, 2003, 07:43:52 PM
Well, again: UBoot already has support for some of it, and that was written by Hyperion. This makes me believe the CatWeasel is high on the priority list for those guys ;-)

Pers'nally, I don't give a flying rats ass about SID, but Amiga keyboards and Amiga floppies would be nice.

Just going over my stack of floppies and there isn't many left that works. Anyone have a few hundred DD floppies lying around? I guess I'll just have to use HD floppies as DD for now. In gaming mode, got Access and A500 up and running, and have BTTR constantly up.

Do I get anything done? Nope. But loving every minute of it :-)
Title: Re: Catweasel MK3 keyboard driver for OpenPCI
Post by: DanDude on August 18, 2003, 06:24:41 PM
only 1 SID chip?  Why not 2?  or 4?  Make it sound very harmonic...some ppl would appreciate that.

 :-)