BigDumbDinosaur wrote:
Garth has some discussion about programming the VIA on his website. However, and as I'm sure you know, you have to have defined a problem before you can formulate a solution.
Yep, I've read Garth's stuff many times (and will be implementing some of it).
BigDumbDinosaur wrote:
What do you want the VIA to do for you?
Well, a few different things that I didn't want to flood the board with tons of "how do I do this??" questions.
One such example is that I'm looking for a way to do a simple tone generator like how the Apple II does it.
This is a good example of what I'm looking for:
viewtopic.php?t=342#p2307I assume the "to hi-Z load" would be a speaker?
Also, I have a few books on interfacing hardware to the VIC-20, C64, etc. They are really good ideas on small projects to implement. So I can look there too. I was just wondering if there was a "6522 Bible" or something like that.
Again, mostly so that I don't have to keep pestering you guys.
BigDumbDinosaur wrote:
BTW, if you have plans to interface the VIA to external devices other than those with CMOS inputs you might be better served by the W65C22S. Yes, the totem-pole IRQ output can be a bit of a pain, but the I/O pins can drive harder than those of the W65C22N, which may turn out to be a useful characteristic.
Yeah, this is a good point and may mean changing the way I was doing my interrupt hardware. I'm more interested in interfacing with vintage chips. The SD card I'm using is just for convenience. I hope to interface to the 1541 drive, etc.
BigDumbDinosaur wrote:
Quote:
I've not seen much usage of the serial port with the 6522 as it has an annoying feature (aka bug) that's been written up over the years.
Garth described a workaround for it. Although I currently have no application in which the VIA would be useful, I may add one to a future POC V1 revision so I can set up a Mickey Mouse "network" using the serial shift register and connect two POC units together.
I've seen that work around. Basically delayed the clock a little IIRC.
BigDumbDinosaur wrote:
I did something like that with my two Commodore 128Ds back when I was writing code for that machine.
That C128-D is worth some money if you still have it. I bought one a few years ago and could literally sell it for almost twice what I paid.