Page 1 of 3
C02 Pocket SBC completed!
Posted: Tue Dec 05, 2017 11:51 am
by floobydust
Thanks to several of the Forum members for feedback, insight, ideas, etc. which helped lead to the completion of this little project.
I have completed the initial release of the BIOS which supports the SCC2691 UART and a Monitor program that uses the BIOS to provide an initial environment to work in. WinCUPL is used for the PLD Glue chip, WDC Tools is used for all source code assembly and linking, ExpressPCB is used for the schematic and PCB layout. Mouser is the source for all parts.
I've attached a zip file that contains the project files; Schematic, PCB layout, Parts list, BIOS and Monitor source code, WinCUPL PLD source code and an overview PDF.
Hope some of the members find this useful

Re: C02 Pocket SBC completed!
Posted: Fri Dec 15, 2017 4:49 am
by floobydust
Oops! My Bad! I put the wrong code for the Glue chip in the ZIP file. I got it mixed up with some testing that I was doing... attached is a new zip file with the correct Glue code.
Sorry 'bout that
On the good side, I've built up 3 boards and they all work.
Re: C02 Pocket SBC completed!
Posted: Fri Dec 15, 2017 5:58 am
by BigDumbDinosaur
Oops! My Bad! I put the wrong code for the Glue chip in the ZIP file. I got it mixed up with some testing that I was doing... attached is a new zip file with the correct Glue code.
Pocket-SBC 2.zip
Sorry 'bout that
On the good side, I've built up 3 boards and they all work.
It appears there's nothing readable in the ZIP file.
Re: C02 Pocket SBC completed!
Posted: Fri Dec 15, 2017 6:12 am
by Cray Ze
No problem reading the .zip here, though I did note that it was created with MACOSX (contains extra 'junk' from the OS), though it shouldn't break the zip structure at all.
Re: C02 Pocket SBC completed!
Posted: Fri Dec 15, 2017 6:21 am
by floobydust
Yes, I use OSX on all machines as the main OS. When unzipped from OSX, nothing extra. When unzipped from Win7 (which I use as a virtual machine for WDC Tools, ExpressPCB, etc.) there is some extra "junk" as noted, but the files are there. I also brought up a Linux VM (OpenSuSE Leap) and it unzipped there as well, including the MACOSX bits.
Re: C02 Pocket SBC completed!
Posted: Fri Dec 15, 2017 6:25 am
by Cray Ze
Using Linux here, not tested in a windows VM.
I did find one problem so far though.
GLUE3.pdf in the software folder is not a .pdf, it's a WINCUPL file.
EDIT:
Oooops, I'm guessing it's a "PDIF database interchange format file" and the name is fine.
I was confused my the extension clash.
Re: C02 Pocket SBC completed!
Posted: Fri Dec 15, 2017 6:39 am
by floobydust
Using Linux here, not tested in a windows VM.
I did find one problem so far though.
GLUE3.pdf in the software folder is not a .pdf, it's a WINCUPL file.
Yes, WINCUPL creates a PDF extension, but it's not an Adobe PDF file. It's text, as I can open it using the OSX TextEdit app. I just grabbed all of the files for the Glue chip and put them in the zip file. Did the same for the dev files for BIOS/Monitor (all done with WDC Tools) and the ExpressPCB files as well. Hopefully it's not causing anyone who downloaded it grief.
Re: C02 Pocket SBC completed!
Posted: Fri Dec 15, 2017 6:58 am
by Cray Ze
I wonder if it's in the way OSX adds file to an already existing archive.
Extracting it, then re-zipping it all at once could get around that if it's the issue.
I've reconstructed the archive on Linux, without the MACOSX directory caching files (I have no need for them).
As you've got access to non-OSX installations, doing the same is probably a good option.
I've extracted OSX zip files on windows in the past with no problem so I'm not sure what's really going on in this instance,
though there is always the possibility of something nasty creeping into the system and interfering with normal operations.
Re: C02 Pocket SBC completed!
Posted: Fri Dec 15, 2017 8:08 am
by Dr Jefyll
Congrats on the project!
Have any photos? I bet I'm not the only one who'd enjoy having a look

Re: C02 Pocket SBC completed!
Posted: Fri Dec 15, 2017 2:35 pm
by floobydust
I wonder if it's in the way OSX adds file to an already existing archive.
Extracting it, then re-zipping it all at once could get around that if it's the issue.
I've reconstructed the archive on Linux, without the MACOSX directory caching files (I have no need for them).
As you've got access to non-OSX installations, doing the same is probably a good option.
I've extracted OSX zip files on windows in the past with no problem so I'm not sure what's really going on in this instance,
though there is always the possibility of something nasty creeping into the system and interfering with normal operations.
Well, the machine I created the zip file on is running Yosemite, an older OSX release. OSX has it's own built-in utility to create a compressed archive. I created a main directory (Pocket-SBC) and put all of the files in their own directories under this one. Clicked on the main directory, did a right mouse-click, then compress from the pop-up and voila' instant zip file. Nothing was added, I just recreated a new zip file with the updated Glue directory.
Not sure what the issue is, as I don't really do much work outside of OSX, sans the Win7 VM, which is where I do all of the 65C02 hobby stuff (WDC Tools, ExtraPutty, Ultraedit, Dataman Programmer, WinCUPL, ExpressPCB, etc.). I'll look at creating the archive (zip) on a Linux distro as I keep a handful of those around as VMs.
Re: C02 Pocket SBC completed!
Posted: Fri Dec 15, 2017 2:55 pm
by floobydust
Congrats on the project!
Have any photos? I bet I'm not the only one who'd enjoy having a look

Thank you sir! You have honorable mention in the PDF file in the main directory (including some others) that describes the project in some detail. Also attaching some pics here:
I socketed everything that could be, and hid bypass caps under all of them to keep the layout more compact. However, you can easily remove every chip with a basic chip puller should the need arise.
Re: C02 Pocket SBC completed!
Posted: Fri Dec 15, 2017 10:55 pm
by barrym95838
Ooh, I'm among the honorably mentioned! Thank you!
Mike B.
Re: C02 Pocket SBC completed!
Posted: Sat Dec 16, 2017 2:36 am
by floobydust
Ooh, I'm among the honorably mentioned! Thank you!
Mike B.
Mike, your routine for converting a 16-bit binary value to an ASCII decimal string is slick (and shorter than any other I've seen)... so you're also mentioned in the monitor source code for authoring for the core routine, thanks for that!
Re: C02 Pocket SBC completed!
Posted: Sat Dec 16, 2017 4:24 am
by Drass
Really nice project, and thanks for the summary write-up. Cheers!
Re: C02 Pocket SBC completed!
Posted: Mon Jul 02, 2018 4:09 pm
by telbee71
That PCB is a work of art! Excellent project.