VIA shift bit counter logic is extremely minimalist in terms of transistor count:
https://raw.githubusercontent.com/ijor/VIA6522/main/ViaShiftBitCounter.pdf
Obviously a simple binary counter is not efficient because the carry chain is very expensive. I expected a traditional 4 bits LFSR design ...
Search found 16 matches
- Thu May 13, 2021 1:05 pm
- Forum: Hardware
- Topic: VIA 6522 SHIFT External Clock reverse engineered schematics
- Replies: 21
- Views: 2783
- Thu May 06, 2021 1:47 pm
- Forum: Hardware
- Topic: VIA 6522 SHIFT External Clock reverse engineered schematics
- Replies: 21
- Views: 2783
Re: VIA 6522 SHIFT External Clock reverse engineered schemat
Right now it's all speculation, and speculation won't bring us far.
I'm not speculating. I'm commenting what I see at the chip layout. I'm not ready to post full schematics yet, but I can post seudo code of the relevant logic if you want.
I think I figured out the issue about this supposed bug ...
I'm not speculating. I'm commenting what I see at the chip layout. I'm not ready to post full schematics yet, but I can post seudo code of the relevant logic if you want.
I think I figured out the issue about this supposed bug ...
- Tue May 04, 2021 6:35 pm
- Forum: Hardware
- Topic: VIA 6522 SHIFT External Clock reverse engineered schematics
- Replies: 21
- Views: 2783
Re: VIA 6522 SHIFT External Clock reverse engineered schemat
Hi Ed,
Discussed in 2010... see around here:
http://forum.6502.org/viewtopic.php?p=9829#p9829
Yes, I've seen that discussion, but it doesn't add any details. It actually just references wikipedia, again, as the main source without much confirmation or elaboration.
Seems possible that ...
Discussed in 2010... see around here:
http://forum.6502.org/viewtopic.php?p=9829#p9829
Yes, I've seen that discussion, but it doesn't add any details. It actually just references wikipedia, again, as the main source without much confirmation or elaboration.
Seems possible that ...
- Tue May 04, 2021 5:51 pm
- Forum: Hardware
- Topic: VIA 6522 SHIFT External Clock reverse engineered schematics
- Replies: 21
- Views: 2783
VIA 6522 chip select bug
Quote from wikipedia:
Aside from the aforementioned shift register bug, there was a potential register corruption problem that usually only occurred in systems using the 6522 with a microprocessor having a non-6502 bus architecture, such as a Motorola 68000. If the address lines changed while chip ...
Aside from the aforementioned shift register bug, there was a potential register corruption problem that usually only occurred in systems using the 6522 with a microprocessor having a non-6502 bus architecture, such as a Motorola 68000. If the address lines changed while chip ...
- Thu Apr 29, 2021 1:43 pm
- Forum: Hardware
- Topic: VIA 6522 SHIFT External Clock reverse engineered schematics
- Replies: 21
- Views: 2783
Re: VIA 6522 SHIFT External Clock reverse engineered schemat
I think that I'm aware of the importance of the capacitive features. Thanks for pointing that out, not all of the readers might be aware of it.
I understand. Sorry that I might have implied you are not familiar with this kind of logic.
... and some years ago I did an experimental TTL ...
I understand. Sorry that I might have implied you are not familiar with this kind of logic.
... and some years ago I did an experimental TTL ...
- Thu Apr 29, 2021 12:26 am
- Forum: Hardware
- Topic: VIA 6522 SHIFT External Clock reverse engineered schematics
- Replies: 21
- Views: 2783
Re: VIA 6522 SHIFT External Clock reverse engineered schemat
I think that the schematic is more easy to understand when drawing transparent latches instead of dynamic latches.
Also, I think it simplifies things for those who might want to try simulating the circuitry.
Well, might be a matter of personal preferences. But be aware that a dynamic cell can't ...
Also, I think it simplifies things for those who might want to try simulating the circuitry.
Well, might be a matter of personal preferences. But be aware that a dynamic cell can't ...
- Mon Apr 26, 2021 6:25 pm
- Forum: Hardware
- Topic: VIA 6522 SHIFT External Clock reverse engineered schematics
- Replies: 21
- Views: 2783
Re: VIA 6522 SHIFT External Clock reverse engineered schemat
Felt a need to re_draw your schematics
Sure. I actually appreciate it because, as it might be obvious, I'm not very good at drawing schematics.
A small comment though. The gates you draw as transparent latches are actually dynamic delays, or dynamic latches if you want. They retain the state ...
Sure. I actually appreciate it because, as it might be obvious, I'm not very good at drawing schematics.
A small comment though. The gates you draw as transparent latches are actually dynamic delays, or dynamic latches if you want. They retain the state ...
- Sat Apr 24, 2021 2:18 am
- Forum: Hardware
- Topic: VIA 6522 SHIFT External Clock reverse engineered schematics
- Replies: 21
- Views: 2783
Re: VIA 6522 SHIFT External Clock reverse engineered schemat
Fortunately it's only in the one SR mode (out of seven) and won't affect most users.
Why one mode only? It should affect both modes that use an external clock, shift in (mode 011) and shift out (mode 111).
Anyway, it wasn't my intention at all to complain or to criticize the VIA :) I just ...
Why one mode only? It should affect both modes that use an external clock, shift in (mode 011) and shift out (mode 111).
Anyway, it wasn't my intention at all to complain or to criticize the VIA :) I just ...
- Sat Apr 24, 2021 12:48 am
- Forum: Hardware
- Topic: VIA 6522 SHIFT External Clock reverse engineered schematics
- Replies: 21
- Views: 2783
VIA 6522 SHIFT External Clock reverse engineered schematics
I don't know much about the 6522. No of the systems that I specialize uses a VIA. But I recently found out about the SHIFT external clock bug, that happens to be almost exactly the same as a chip that I do am familiar. So I was very curious and reverse engineered the VIA 6522 external clock logic ...
- Sat Nov 20, 2010 11:11 pm
- Forum: Programmable Logic
- Topic: 6502-Core Comparisons: Fitting a Xilinx Spartan 2 XC2S200
- Replies: 124
- Views: 117818
- Sat Nov 20, 2010 7:19 pm
- Forum: Programmable Logic
- Topic: 6502-Core Comparisons: Fitting a Xilinx Spartan 2 XC2S200
- Replies: 124
- Views: 117818
- Sat Nov 20, 2010 5:37 pm
- Forum: Programmable Logic
- Topic: 6502-Core Comparisons: Fitting a Xilinx Spartan 2 XC2S200
- Replies: 124
- Views: 117818
- Thu Nov 18, 2010 8:37 pm
- Forum: Emulation and Simulation
- Topic: Visualizing the 6502
- Replies: 62
- Views: 44145
- Thu Nov 18, 2010 2:38 pm
- Forum: Emulation and Simulation
- Topic: Visualizing the 6502
- Replies: 62
- Views: 44145
- Tue Nov 16, 2010 2:28 am
- Forum: Emulation and Simulation
- Topic: Visualizing the 6502
- Replies: 62
- Views: 44145