Z80 Microprocessor w/ Floppy drive
Z80 Microprocessor w/ Floppy drive
(OP)
I'm working on building a low-cost computer control system, and I need help on finding a floppy disk controller circuit that could be interfaced to the 8-bit data bus. I havent't been able to find any data on the drives themselves, either. If someone could point me in the right direction, that would be a gret help.





RE: Z80 Microprocessor w/ Floppy drive
RE: Z80 Microprocessor w/ Floppy drive
Your only hope might be to find an old 8 inch floppy drive and cannibalize it.
But melone asks the "real" question, why a Z80?
RE: Z80 Microprocessor w/ Floppy drive
I'm new to microprocessors, so I decided to start with a cheap one I could work with (8-bit data bus and 16-bit address). And because it's cheap, I'm not afraid to possibly screw it up.
RE: Z80 Microprocessor w/ Floppy drive
RE: Z80 Microprocessor w/ Floppy drive
So i think this project is quite realistic. You must seek data on PC/AT floppy disk controll circuits and probably you can almost copy thoose for z80. But software of course will be completely different.
RE: Z80 Microprocessor w/ Floppy drive
http://www.amazon.com/exec/obidos/tg/detail/-/0070109621/qid=1048675601/sr=1-25/ref=sr_1_25/002-2746453-7270458?v=glance&s=books
http://www.z80.info/z80books.htm
http://www.technology.niagarac.on.ca/courses/comp630/homebrew.htm
http://www.allbookstores.com/browse/COM041000:9
http://computer.freepage.de/cgi-bin/feets/freepage_ext/41030x030A/rewrite/lskade/ue/Z80/z80_n.htm
http://computer.freepage.de/cgi-bin/feets/freepage_ext/41030x030A/rewrite/lskade/ue/Z80/z80lit.htm
Build Your Own Z80 Computer by Steve Ciarcia is an excellent reference for someone getting started with the Z80.
RE: Z80 Microprocessor w/ Floppy drive
Good luck!
RE: Z80 Microprocessor w/ Floppy drive
RE: Z80 Microprocessor w/ Floppy drive
I suggest you reference very old IBM PCXT's technical manual.
Inside the manual, you can find the detail circuit of the floppy disk interface. You can reference it to build it for your own system.
Also, the bios source list also can help you to program your own interface.
RE: Z80 Microprocessor w/ Floppy drive
http://www.masterware.net/computers/trs80.htm
http://www.futurebots.com/cpu.htm
http://www.old-computers.com/museum/computer.asp?st=1&c=50
http://www.geocities.com/SiliconValley/9723/other.html
http://www.fortunecity.com/marina/reach/435/c64.htm
http://www.aster-ingenierie.com/pub/en-lasar-catalog.pdf
for: floppy disk controllers
etc. for more info
RE: Z80 Microprocessor w/ Floppy drive
I'm looking to do the same thing. It seems there are more resources to connect an IDE hard disk to a Z80 than a floppy drive. If you find something truly useful, let me know!
RE: Z80 Microprocessor w/ Floppy drive
RE: Z80 Microprocessor w/ Floppy drive
I have the impression that you are young and learning computers. Do you have a PC?
I wouldn't concentrate on 8 bit computer -- at the time you are ready, most computers will be 32 bit or even larger.
The prices are dropping fast, etc.
Get books about the PC, understand it very well, learn
assembly and C++ .
<nbucska@pcperipherals.com>
RE: Z80 Microprocessor w/ Floppy drive
RE: Z80 Microprocessor w/ Floppy drive
The modern microprocessors are way too complicated for a single person to start learning anything about the electronics involved in these chips.
RE: Z80 Microprocessor w/ Floppy drive
I absolutely agree with FelixC that the modern processors are way to complex for someone starting out. I studied both the 68000 and the now rather elderly 6809. The 6809 was the first uP I had encountered at circuit board level, and it also provided my first experience with assembler code. I found it reasonably simple with the aid of a good book.
Good luck.
-----------------------------------
Start each new day with a smile.
Get it over with.
RE: Z80 Microprocessor w/ Floppy drive
Pardon me while I climb on the soapbox in defense of young
Skywalker's arguement of a Z80 microprocessor design.
I too am redoing a Z80 class system. There are some
compelling reasons to do so.
1. There are a certain range of problems that lend
themselves to the 8 bit microprocessor when memory intensive
applications do not lend themselves to a PIC, AVR
class of microcontrollers. In this range, including an
IBM class motherboard would be entirely silly. There are
single board computers available at about $500 bucks a
pop where you can load up a full blown linux system and
have at it. With a little bit of additional hardware you
can get "really tiny" linux systems starting at $110.00
that you can network a file system into and rock and roll.
BUT, again there are cases where even that is overkill.
I have a ball with the PICs, but when you have to have
a couple of K of ram, the designs get a little
ineffective.
2. The cost of the Z80 and assoicated memory is, as
mentioned, dirt cheap. You can whomp one up for about
$10.00 sans the cost of the sockets for your integrated
ICs. For that $10.00 you can get a processor, EPROM,
32K of RAM and a crystal oscillator.
3. These are through hole DIP devices. I do my own
circuit boards at home. Many of these older micros were
designed using two sided boards. Something that the
advanced hobby guy can do at home. Alternatively, one
can use one of the available PC houses that cater to
the hobby crowd and even have plated through holes. I
don't think that there are too many of use that want to
tackle a high density surface mount design without the
aid of a professional circuit board house, which can cost
hundreds of dollars. I am working on a 2 sided design for
a Z80 (wanted a 6502 but can't find them for sale any more
in any of the surplus houses, darn it).
4. These devices are SLOW. So we can have a little
leeway on the I/O designs (relatively speaking). We don't
have to have nanosecond tolerances on a 66MHz frontplane
logic. So, we can poke around with the older slower logic
and still get something working without haveing a 1GHz
scope on our bench.
5. Initialization of any "funny peripherals" is not
required, and you don't have to go through and figure out
what the silly BIOS is doing dinking around with Northbridge
and Southbridge chips, etc, etc. Got a couple of latches
and buffers? No problem. No initialization required.......
Now, I certainly would not go and try to do a floppy disk
interface. Please refer to my answer on the computer
engineering article on why that's not the best of ideas,
or reference the reply from automatic2 above.
I might suggest looking at a compact flash implementation
which seems to be a much eaiser interface. And you can
certainly find designs for them for the Z80 via google.
I did, but don't have the links handy.
As far a operating systems go, there's a whole other kettle
of fish. You know there are a whole bunch of applications
that don't need an operating system at all. And there
are several cross assemblers for the PC --> Z80 out there.
If you insist on an operating system, the two ideas that I
had but haven't followed through on.
1. Hack the CP/M driver to have buffered memory to implement
the 512 byte sectors remapped for the floppy format size.
This might include a double buffer write rather than disk
cashing (which CP/M doesn't do). These days you would
find that the IDE interface more than makes up for a
single write for the floppy. Alternatively, you could
just waste half the storage of the new device and not
look at the rest of it's sector. That too is feasable
as there is orders of magnitude more storage available
versus the 1.4 Meg or so of the floppy.
2. Research porting another operating system, like ConTiki
which seems to be very doable. Although designed primarily
for the 6502, most of the source is written in C, which
can be ported much more easily. I personnaly would look
real long and hard at that one. Fortunately, this line
of research is being sidetracked by a job right now.
My little Z80 system will have the chip, a crystal
oscillator on it, a little 74LS glue logic, an EPROM
(or EEPROM), and 32k worth of ram. No o/s, just the
appication. Again, I'm sorry to say that this line of
research has been sidetracked by me, but I'll get back
to it sometime soon.
Hope these words of encouragement helps!
Back off the soapbox.
Cheers,
Rich S.
RE: Z80 Microprocessor w/ Floppy drive