From: Tristan Mumford on
Hello!
I've been trying to ascertain how Nicholas Coplin is going with the C64
port of microUSB.
I tried writing him an e-mail, But that evil mailer Daemon stole my email,
did unspeakble things to it for an entire week, and spat its charred
remains back at me.

I'm asking about its status because I have 4 of the Cypress USB ICs itching
to go into something.

One is already pre-allocated to my accelerator project, but I want to
build a normal one for my C64.

For those who have no idea what I'm talking about: http://www.microusb.org/
From: Wolfgang Moser on
Hi Tristan,

Tristan Mumford schrieb:
> Hello!
> I've been trying to ascertain how Nicholas Coplin is going with the C64
> port of microUSB.
> I tried writing him an e-mail, But that evil mailer Daemon stole my email,
> did unspeakble things to it for an entire week, and spat its charred
> remains back at me.
>
> I'm asking about its status because I have 4 of the Cypress USB ICs itching
> to go into something.
>
> One is already pre-allocated to my accelerator project, but I want to
> build a normal one for my C64.
>
> For those who have no idea what I'm talking about: http://www.microusb.org/

I had a short look into this project (again) and can
only say one thing. Do it yourself, there is nothing
more simple than that, if you concentrate on the
hardware only.

Take the schematics for the Atari version from:
http://www.strotmann.de/twiki/bin/view/Microusb/ProjUSBCartTwoPic

You only have to adopt one single thing in my very
personal opinion. Replace the Atari expansion
connector (drawn as P1) with on for the Commodore
64, but ensure to connected the lines in a logically
correct way. D0...D7 to D0..7, A0 to A0, Phi2 and
R/W to Phi2 and R/W.
The line drawn as /ID5 is the one that needs to get
adopted. That's the chip selector line. If it
doesn't matter that the USB cart collides with other
expansions shared with some expander cart (a REU,
Action Carts or similar stuff), then you could
connect line /ID5 to either /IO1 or to /IO2.

With /IO1 you USB chip gets addresses via $DE00 and
$DE01, with /IO2 you can program it via $DF00/1.

You may want to add some more fine grained address
decoding by adding a 74LS138 chip or maybe you
want to use a GAL chip for combining more complex
logic with the existing /WE generator.


So, from the hardware view it is no big task to
convert that USB-Host hardware to the C64. The
bigger factor is the software as so often. Do
you feel able to port the software from the
Atari assembler syntax to some C64 based ASM
syntax (ca65 preferred, if you ask me)?
Most probably there's nothing more to do than
changing the base addresses from:
> 01200 USBSEL = $D500
> 01210 USBDTA = $D501

to (if not further address decoding is done):
USBSEL = $DE00
USBDTA = $DE01

and then doing some testing with connecting
different HID devices to this new host
implementation.


Womo
From: Wolfgang Moser on
Hi again Tristan,

did some prototyping to check for some mechanical
issues. Maybe this feeds soem ideas to your side:

http://d81.de/shared/MicroUSB64.png

Don't know, if this thing will run since I omitted
testing completely, I did want to collect some
ideas only.


Womo
From: Simon on
On Sat, 11 Nov 2006 00:15:08 +0100, Wolfgang Moser wrote:

> Hi again Tristan,
>
> did some prototyping to check for some mechanical issues. Maybe this feeds
> soem ideas to your side:
>
> http://d81.de/shared/MicroUSB64.png
>
> Don't know, if this thing will run since I omitted testing completely, I
> did want to collect some ideas only.
>
>
> Womo

Hi Womo

What layout utility do you use? Ive recently become interested in amateur
pcb stuff and have been looking at 'pcb' running on linux, but I find the
instructions too thin.

Thanks


From: Leif Bloomquist on

"Wolfgang Moser" <wnhp(a)d81.de.invalid> wrote in message
news:ej315r$fbk$1(a)vs5413.trikaliotis.net...

> did some prototyping to check for some mechanical
> issues. Maybe this feeds soem ideas to your side:
> http://d81.de/shared/MicroUSB64.png

Hey Wolfgang, that looks very cool. But I think it would be awkward to use
on a C64 without a cartridge expander, because the entire cartridge would be
"inside" the computer case. This would be especially so on a SX64.

What about having the cartridge slightly longer, with the connector pointing
to the "right" - i.e. the USB cable would be parallel with the power plug?