Tony Duell wrote:
Where are your problems? The SIO supports IMHO the Reset of the IEI-IEO
Chain trough a bit in a register, that's easier as on the other chips.
IEI/IEO are not the proble,
The problem is to get IORQ/, M1/, Rd/ etc right -- and the right clock
pulses on ne phi. IRIC, it does a write if it sees IORQ/ and doesn't see
Rd/ or M!/ within a given number of clocks, it then samples the data bus
after said number of clocks. Tryign to get that right on a non-Z80 is
mnot totally trivial.
Maybe not trivial but it is doable. Sometimes you have to build an
Sequencer to get the timings to fit.
I have other examples of using Z80 Peripherals on other Processors,
CTC on a Z8 is one.. In this case the CTC is memory mapped.
Want a schematic?
IORQ just distinguishes between memory and IO Access, it is possible
to do memory mapping with those chips.
I've from the former GDR, Germany from behind the iron curtain.
The Semiconductor plants there build Z8000, Z80 and Z8 so the z80
Peripherals was what we could get and we had to use.
There where until the end of the 80's no Z8000 peripherals available
besides the MMU. Later the SCC and the CIO where introduced.
There where 8086 Computers build with the Z80 SIO in them and they used
the SIO even as console in a mostly PDP11 compatible Computer, the
K1620/1630 Systems. (which was a big flaw, since no Software could run w/o
modification). There are other things that where good meant but bad at the
end in this machine, eg. there where some bus controllers on the cards,
each programmable to its IO adresses and Vectors and that programming has
to be done before the machine is compatible at all. After that, the
conterollers for floppy and disk used the same register adresses as the
original HW. Again, you have to boot only OS's which where patched to do
this. (BTW, the CPU was an 8 Bit Slice in NMOS, a asynchron processor w/o a
clock).
Here are pictures
http://www.robotrontechnik.de/index.htm?/html/computer/k1600.htm
We still searching for a bootable media for this machine.
It is the slowest PDP11 ever build.
Here is a picture of the CPU:
http://de.wikipedia.org/wiki/Datei:K_1630_CPU.jpg
You can see the very slow control store build from 2708's.
Thinking about it, I've sene 6800-bus ICs in Intel/Zilog systems (The
6845 being the obvious thing that turns up everywhere, but I've seen
6522s is such machiens too). I don't think I've ever seen a Z80
peripheral chip in a non-Z80 system. Which may mean it's not jsut me who
thinks it's non-trivial to use them.
-tony
Mostly I saw some 8255s used in Z80 computers, bit at least last year I've
repaired a controller with an 6809 and a Zilog SCC in there. Don't ask why
they used this chip, it seems to me that speciall the UARTs from other
families wheren't "that good" at all.
Regards,
Holm
--
Technik Service u. Handel Tiffe,
www.tsht.de, Holm Tiffe,
Freiberger Stra?e 42, 09600 Obersch?na, USt-Id: DE253710583
www.tsht.de, info at tsht.de, Fax +49 3731 74200, Mobil: 0172 8790 741