Re: Disk ][ on the IBM PC's parallel port - second try
- From: ferdimh@xxxxxx
- Date: Fri, 7 Dec 2007 15:16:16 -0800 (PST)
On 7 Dez., 23:04, Linards Ticmanis <ticma...@xxxxxx> wrote:
I don't think so. There is no mechanism to detect that, and this is
How will the PC be able to detect the length of a byte (8, 9 or 10
bits)? IMHO this is a must.
not needed. The Disk ][ doesn't detect it either.
It only has to be ensured that the data is shifted until the high bit
is set.
This is what the circuit does.
For copying protected disks, it might be required. But I don't have
any so I didn't care.
But one could simply hook a 4-bit-counter to the clock and reset lines
of the shift register (the '299) to count the number of bits shifted
in.
another latch would be needed then, too.
Though admittedly I'm not so sure I understand your circuit in the firstWell, I don't think it's that complicated (except for the clock
place.
regeneration, which is a little tricky):
A Shift register, and data latch(which could be left out) and some
logic to trigger the data latch and send a flag to the PC.
The clock regeneration circuit actually abuses a bug in the 555 which
is not really documented in the data sheet. It can be seen in some
waveforms though.
When RESETing the timing cap is discharged to 0 volts instead of 1/3
Vcc. So the time to recover from a RESET will be longer than the usual
cycle time (by 37%, if I figured it out correctly).
As long as the read data input is zero, the 555 will oscillate at
250kHz shifting in zeroes.
If a one is read there will be a pulse in the middle of the bit cell
resetting the 555. At that time the 555's output will go low clocking
the shift register shifting in a one. If I did everything right,
oscillation should restart 6 µs after reading the one, i.e. at the end
of the next bit cell.
If the one reached the 8th bit, the latch is clocked (with a little
delay by C1/R1 to meet the setup time). After a longer delay provided
by C2/R2 the shift register is cleared and is ready for the next byte.
The PC can then read the byte until the next is ready.
--
Ferdinand
.
- Follow-Ups:
- Re: Disk ][ on the IBM PC's parallel port - second try
- From: Michael J. Mahon
- Re: Disk ][ on the IBM PC's parallel port - second try
- References:
- Disk ][ on the IBM PC's parallel port - second try
- From: ferdimh
- Re: Disk ][ on the IBM PC's parallel port - second try
- From: Linards Ticmanis
- Disk ][ on the IBM PC's parallel port - second try
- Prev by Date: Re: Question on ProDOS SmartPort drive remapping
- Next by Date: Re: Transwarp IIe revisited
- Previous by thread: Re: Disk ][ on the IBM PC's parallel port - second try
- Next by thread: Re: Disk ][ on the IBM PC's parallel port - second try
- Index(es):
Relevant Pages
|