Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

6502 IDE interface...

2 views
Skip to first unread message

Niall Tracey

unread,
Nov 23, 1999, 3:00:00 AM11/23/99
to
Has anyone ever written a generic IDE interface for the 6502? The
IDE64 is pretty specialised, being as it is purely for the C64. I
can't seem to see anything on 6502.org, so I assume such a thing
doesn't exist.

Anyone know any different?

--
NT As long as but a hundred of us remain alive, never will we on any
\ \/ /conditions be brought under English rule. It is in truth not for
\ / glory, nor riches, nor honours that we are fighting, but for
/ \ freedom -- for that alone, which no honest man gives up but with
/ /\ \life itself. -- Arbroath, 1320


Andre Fachat

unread,
Nov 24, 1999, 3:00:00 AM11/24/99
to
Niall Tracey <nia...@dai.ed.ac.uk> wrote:
> Has anyone ever written a generic IDE interface for the 6502? The
> IDE64 is pretty specialised, being as it is purely for the C64. I
> can't seem to see anything on 6502.org, so I assume such a thing
> doesn't exist.

There only is a generic SCSI interface for the 6502/C64 on
www.6502.org/users/andre

Andre

--
Email address may be invalid. Use "fachat AT physik DOT tu-chemnitz DOT de"
------Fight SPAM - join CAUCE http://www.cauce.org------Thanks, spammers...
Andre Fachat, Institute of physics, Technische Universität Chemnitz, FRG
http://www.tu-chemnitz.de/~fachat

YTM

unread,
Nov 24, 1999, 3:00:00 AM11/24/99
to
nia...@dai.ed.ac.uk (Niall Tracey) wrote:
>Has anyone ever written a generic IDE interface for the 6502? The
>IDE64 is pretty specialised, being as it is purely for the C64. I
>can't seem to see anything on 6502.org, so I assume such a thing
>doesn't exist.
>
>Anyone know any different?
>
There was a discussion here about IDE in August (I think). Someone posted some
documentation, someone gave one link and that was all. Recently I've put all
that stuff together at:
ftp://ftp.elysium.pl/groups/Alliance/ide/

There's a document with good description of raw IDE stuff - reading/writting
sectors and other IDE commands. It's really easy.

There are also docs about interfacing IDE via Expansion port - directly to 6502
bus. I've built that, but it has error in project - writting to IDE device works
flawlessly but reading is tricky - it works only on C128 in 2MHz mode with
strict timing. I assume that 6502 is reading data too fast from the bus. In
effect writting is faster than reading. It seems for me that it won't work
without errors on C64 - I tried two days without effect.
The easiest way is to connect IDE to C64 (or any 6502) via additional port like
8522, CIA or VIA. One port is used to drive control lines and second for lower
8 bits of data bus. Only 8522 has 3 ports so only with it 16 bit transfer is
possible.
I already have IDE interface in my C128 and in next week I'll try to build C64
version using onboard CIAs - $DD01 for data and $DC00 or $DC01 for control. One
of these ports is always set as input when reading keyboard so it shouldn't
mess with IDE controller.

By next year I'll write a GEOS disk driver supporting my 40MB IDE disk, but
don't expect it to be compatible with any PC junk like FAT or EXT2... It will
consist of large disk images - partitions - about 3-4MB. Any RAM expansion
required.

Maciej Witkowiak
YTM/Alliance

Erlend Pettersen

unread,
Nov 24, 1999, 3:00:00 AM11/24/99
to
On 23 Nov 1999 17:14:27 GMT, nia...@dai.ed.ac.uk (Niall Tracey) wrote:

>Has anyone ever written a generic IDE interface for the 6502? The
>IDE64 is pretty specialised, being as it is purely for the C64. I
>can't seem to see anything on 6502.org, so I assume such a thing
>doesn't exist.

While we're talking about IDE-controllers and the C64..

I see that there's an IDE-controller for sale on the GO64-website.
How does such a controller work? How is it accessed? And how do you
configure devices on one?

Can it handle CD-ROM-players?

-Erlend Pettersen- puz...@fix.no

Mr. Fixx

unread,
Nov 26, 1999, 3:00:00 AM11/26/99
to
Can you post the URL to this site??? Would like to check out this
controller....
Thanks Chris

supercom...@lycosemail.com

unread,
Nov 28, 1999, 3:00:00 AM11/28/99
to


On 24 Nov 1999 10:11:20 GMT, Andre Fachat
<fac...@vandyke.physik.tu-chemnitz.de> wrote:

>Niall Tracey <nia...@dai.ed.ac.uk> wrote:
>> Has anyone ever written a generic IDE interface for the 6502? The
>> IDE64 is pretty specialised, being as it is purely for the C64. I
>> can't seem to see anything on 6502.org, so I assume such a thing
>> doesn't exist.
>

>There only is a generic SCSI interface for the 6502/C64 on
>www.6502.org/users/andre
>

If you are looing for a C= Ide hd controller, try this site:

http://sgi.felk.cvut.cz/~vorlicek/ide/c64ide.html

Remove !! from my email address to send me email.


Erlend Pettersen

unread,
Nov 28, 1999, 3:00:00 AM11/28/99
to
On Fri, 26 Nov 1999 19:09:46 -0600, "Mr. Fixx" <mrf...@nospamexecpc.com>
wrote:

>Can you post the URL to this site??? Would like to check out this
>controller....
>Thanks Chris

See at http://go64.c64.org

It's in the "Online Shop"-section.

-Erlend Pettersen- puz...@fix.no

Chris Ward

unread,
Nov 30, 1999, 3:00:00 AM11/30/99
to
Hi,

Sorry for the late reply - I've fallen behind with my usenet reading
recently...

On 23 Nov 1999 17:14:27 GMT, nia...@dai.ed.ac.uk (Niall Tracey) wrote:

>Has anyone ever written a generic IDE interface for the 6502? The
>IDE64 is pretty specialised, being as it is purely for the C64. I
>can't seem to see anything on 6502.org, so I assume such a thing
>doesn't exist.
>

>Anyone know any different?

Yes, I've just built an IDE interface for my home-made 6502 system.
It basically consists of a couple of latches to allow reading/writing
the upper 8 bits of the IDE data bus, plus some logic to produce the
necessary control signals from the 6502 bus. The schematic isn't
ready yet, but keep an eye on my site and I'll hopefully have it
done by the end of the week: http://home.freeuk.net/c.ward/6502/

I'm now writing the filesystem code. It's somewhat based on the 1541
filesystem, but scaled up a bit :-) (max partition size 128GB, max
file size 2GB). Unfortunately it uses a lot of 32-bit numbers, so it
may be a bit slow...

OK, I'll stop before I get too off-topic.


Cheers

Chris

----------------------------------------------------------------------
Chris Ward <chris...@freenet.co.uk>
Homebuilt 6502 system: http://home.freeuk.net/c.ward/6502/


Niall Tracey

unread,
Dec 2, 1999, 3:00:00 AM12/2/99
to
supercommodore!!@lycosemail.com wrote:

: <fac...@vandyke.physik.tu-chemnitz.de> wrote:

: >Niall Tracey <nia...@dai.ed.ac.uk> wrote:
: >> Has anyone ever written a generic IDE interface for the 6502? The
: >> IDE64 is pretty specialised, being as it is purely for the C64. I
: >> can't seem to see anything on 6502.org, so I assume such a thing
: >> doesn't exist.

: >
: >There only is a generic SCSI interface for the 6502/C64 on
: >www.6502.org/users/andre
: >

: If you are looing for a C= Ide hd controller, try this site:

: http://sgi.felk.cvut.cz/~vorlicek/ide/c64ide.html

: Remove !! from my email address to send me email.

Pay attention man! I said that the IDE64 is too specialised for my
liking. I'm after a far more portable 6502-based system.

Niall Tracey

unread,
Dec 2, 1999, 3:00:00 AM12/2/99
to
Chris Ward (chris...@freenet.co.uk) wrote:

: Yes, I've just built an IDE interface for my home-made 6502 system.


: It basically consists of a couple of latches to allow reading/writing
: the upper 8 bits of the IDE data bus, plus some logic to produce the
: necessary control signals from the 6502 bus. The schematic isn't
: ready yet, but keep an eye on my site and I'll hopefully have it
: done by the end of the week: http://home.freeuk.net/c.ward/6502/

: I'm now writing the filesystem code. It's somewhat based on the 1541
: filesystem, but scaled up a bit :-) (max partition size 128GB, max
: file size 2GB). Unfortunately it uses a lot of 32-bit numbers, so it
: may be a bit slow...

Oooh... That looks useful. I asked because I am convinced that people
who interface things with the 64 directly are restricted by having to
develop complex interface circuitry if any degree of compatibility is
required.

I reckon the 1541 is the best thing to interface to. It can then
translate all native Commodore DOS (or JiffyDOS) commands and requests
to the IDE bus, possibly to D64 images. This should provide a fairly
high compatibilty with 1541 programs.

Ta muchly,
Niall

0 new messages