Page 1 of 3

W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Sat Jan 23, 2016 9:06 pm
by Alamorobotics
Howdy...

I wanted to do a fun project with the W65C816SXB board so I decided to add Keyboard, VGA and Sound.
I got a couple of W65C22 for this project, the first W65C22 will be used to read the keyboard, the second one for VGA and sound using the Propeller project earlier.

Just got started, I'll keep you updated...

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Mon Jan 25, 2016 2:36 am
by Alamorobotics
Made some good progress over the weekend...

Got the C=64 keyboard hooked up to the first VIA and I can read the key matrix...
Code still pretty rough but it seem to be working.

I also added files to GitHub,
https://github.com/alamorobotics/W65C81 ... rd_VGA_SID

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Mon Jan 25, 2016 6:31 pm
by Alamorobotics
Got another VIA added, it will be used to communicate with the Propeller to generate VGA and sound...

Need to take a break from soldering and refresh my Eagle skills so I can make up the schematics...

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Wed Jan 27, 2016 1:30 am
by Alamorobotics
Got the first schematics added to GitHub...

https://github.com/alamorobotics/W65C81 ... rd_VGA_SID

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Wed Jan 27, 2016 7:02 am
by GARTHWILSON
What is that schematic software so many use? Can the default colors be changed? That gray writing is awfully hard to read!!

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Wed Jan 27, 2016 9:19 am
by BitWise
GARTHWILSON wrote:
What is that schematic software so many use? Can the default colors be changed? That gray writing is awfully hard to read!!
Looks like CadSoft Eagle.

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Wed Jan 27, 2016 9:53 am
by GARTHWILSON
Thanks. I just wrote to them about it.

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Wed Jan 27, 2016 10:22 am
by Klaus2m5
I usually export circuit diagrams from eagle with the monochrome option set.
Eagle_export.png
Eagle_export.png (18.79 KiB) Viewed 1790 times

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Wed Jan 27, 2016 10:52 am
by Arlet
You can also use the 'Black' option in the print to PDF/Postscript dialog.

In addition, all colors in the schematic editor can be customized.

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Wed Jan 27, 2016 8:19 pm
by BigDumbDinosaur
Alamorobotics wrote:
Got the first schematics added to GitHub...

https://github.com/alamorobotics/W65C81 ... rd_VGA_SID
Can you post that in monochrome, please, for the benefit of the old, color-blind folks around here? :lol:

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Wed Jan 27, 2016 9:09 pm
by Alamorobotics
Howdy...

Here is the monochrome version of the schematics.
I added the Propeller and 3.3V power supply over lunch.

Is there a way to export to PDF ?
That would probably be even better.
Still learning Eagle cad...

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Wed Jan 27, 2016 9:37 pm
by BigDumbDinosaur
Alamorobotics wrote:
Howdy...

Here is the monochrome version of the schematics.
I added the Propeller and 3.3V power supply over lunch.

Is there a way to export to PDF ?
That would probably be even better.
Still learning Eagle cad...
I have Adobe Acrobat Standard installed on my Windows box, which appears to programs as a printer. Not sure what other methods might work for you.

BTW, diodes D9 and D10 should be Schottkys. The forward drop of the 1N4148 will likely prevent the 65C22s' IRQB output from pulling the MPU's IRQB input low enough to be recognized as an interrupt.

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Wed Jan 27, 2016 10:12 pm
by Arlet
Alamorobotics wrote:
Is there a way to export to PDF ?
That would probably be even better.
Still learning Eagle cad...
Yes, go to the Print menu, and in the printer selection choose "Print to File (PDF)". If you have more than 1 sheet, don't forget to select "All", otherwise it will only print the first sheet.

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Thu Jan 28, 2016 4:32 am
by Alamorobotics
Howdy...

I finished up the Propeller schematics and did a print to PDF, I think this would be the best way to post schematics.
Or do we prefer the monochrome ?

I'm not sure why there are diodes on the IRQ for the W65C22, the schematics I copied had them so I threw them in there... :lol:
http://www.westerndesigncenter.com/wdc/ ... 816SXB.pdf
They should not cause me any problems since I don't plan to use the IRQ for now..

Any thoughts about the diodes ?

Re: W65C816SXB Expansion, Keyboard, VGA and Sound.

Posted: Thu Jan 28, 2016 4:39 am
by GARTHWILSON
Alamorobotics wrote:
I'm not sure why there are diodes on the IRQ for the W65C22. The schematics I copied had them so I threw them in there... :lol:
http://www.westerndesigncenter.com/wdc/ ... 816SXB.pdf
They should not cause me any problems since I don't plan to use the IRQ for now..

Any thoughts about the diodes ?
I address them on the 6502 primer page in IRQ/NMI connections, starting at about the middle of the page, at http://wilsonminesco.com/6502primer/IRQconx.html .