I'm still working on 65816 and Ethernet and USB for my selfbuilt computer - but "working on" in this context unfortunately means waiting for some spare time....
I have finished assembling my SBC3.1 board and the video output is working and the keyboard LEDs are flashing as per Daryl's instructions. Unfortunately, it's back to work now so I shall have to stop.
I ordered my components from Digikey (I had problems sourcing the RAM chip from any of the usual UK suppliers) using the parts list. Two small points:-
1) The reset switch on the list is not that shown in Daryl's photo - it's huge!
2) The +5V regulator's heatsink fouls the two capacitors either side of it if you use the one on the parts list. I'm going to change it for a smaller one.
Small, easily remedied problems.
Thanks Daryl for producing this board - at last a use for all of the 65816s that I have been collecting over the years!
1) The reset switch on the list is not that shown in Daryl's photo - it's huge!
The switch I used on my board was one I had laying in my parts box. I chose the larger one for the design as it would be easy to access. The Alternate part # on the parts list is a small, tactile switch similar to the one I used, if a smaller switch is desired.
Quote:
2) The +5V regulator's heatsink fouls the two capacitors either side of it if you use the one on the parts list. I'm going to change it for a smaller one.
On my board, I left the regulator leads long and soldered it at the ends so it would stand up above the caps. The heatsink I selected was supposed to fit in that configuration. The heatsink I used on my board was again a spare I had sitting around. Let me know if you think the heatsink will work if the leads are long. If not, let me know the part # you used and I'll update the parts list.
Quote:
Thanks Daryl for producing this board - at last a use for all of the 65816s that I have been collecting over the years!
Glad to do it. Sorry for the few bumps you've encountered. Send me a picture of the finished board and I'll post it on my website.
Glad to do it. Sorry for the few bumps you've encountered. Send me a picture of the finished board and I'll post it on my website.
No need to apologise - you've done something that I've been meaning to do for years and never get around to it. Also, you've done a better job than I would have done The 'fixes' are trivial and my comment was intended to help others.
I wrote Ullrich von Bassewitz, the author of CC65, to ask about using it with my SBC-3. Here is his reply:
Quote:
> I would like to use CC65 for my new 65816 SBC. I understand that a new start-up code is needed for my new target. I am having trouble understanding what I need to do to create a new target.
Please note that cc65 is a 6502 compiler, not a 65816 one. To create a new target, you need at least a linker config and a startup file. Please have a look at the existing linker configs and startup files for examples.
> I have downloaded CYGWIN with the GCC compiler. I do not know UNIX/LINIX so I'm trying to figure out how to re-compile the unmodified CC65 sources first before I try to add my target.
There's no need to modify cc65 to add a new target. Just use "-t none" resp. "-C config" for the linker.
> I could not find an FAQ for newbees. Does one exist?
I'm sorry, there's no FAQ that covers creating new targets. My suggestion is to have a look at the existing library sources and study one of the startup files (crt0.s).
Regards
Uz
This is hopeful!! I've been playing with CYGWIN and was able to recompile cc65. I still need to work on the startup and purhaps the compiler config file.
If you want WDC chips, contact WDC's UK representative by email (The email address is on the WDC web page) It's much cheaper to order from him than direct from WDC. Delivery is usually next day too. Ordering single chips is fine.
Shift to the left,
Shift to the right,
Mask in, Mask Out,
BYTE! BYTE! BYTE!
I finally started to order my SBC-3 parts. I am confused on C30. The parts list shows it as a 10-30 pF variable but then gives a Digi-Key number equivalent to the 0.1uF cap.
C30 and XTAL-1 are only for PAL versions. The NTSC version only needs OSC-1, 14.318MHz TTL oscillator.
For those using PAL, you need a 16MHZ OSC-1, 4.43MHz XTAL-1, and C30, a 10-30pf cap. The datasheet for the AD724 states a 10-30pF cap, depending upon crystal used and capacitive loading. At one point, I put the part # for a 20pF cap on the parts list which should work for most.
I just checked the parts list and C30 is part # 490-3703-ND, which is a 20pF cap.