C02 Pocket SBC completed!

For discussing the 65xx hardware itself or electronics projects.
User avatar
floobydust
Posts: 1394
Joined: 05 Mar 2013

C02 Pocket SBC completed!

Post 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.
Pocket-SBC.zip
(1.36 MiB) Downloaded 337 times
Hope some of the members find this useful ;-)
User avatar
floobydust
Posts: 1394
Joined: 05 Mar 2013

Re: C02 Pocket SBC completed!

Post 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.
Pocket-SBC 2.zip
(1.37 MiB) Downloaded 331 times
Sorry 'bout that :roll:

On the good side, I've built up 3 boards and they all work.
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: C02 Pocket SBC completed!

Post by BigDumbDinosaur »

floobydust wrote:
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 :roll:

On the good side, I've built up 3 boards and they all work.
It appears there's nothing readable in the ZIP file.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
Cray Ze
Posts: 134
Joined: 02 May 2015

Re: C02 Pocket SBC completed!

Post 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.
User avatar
floobydust
Posts: 1394
Joined: 05 Mar 2013

Re: C02 Pocket SBC completed!

Post 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.
Cray Ze
Posts: 134
Joined: 02 May 2015

Re: C02 Pocket SBC completed!

Post 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.
User avatar
floobydust
Posts: 1394
Joined: 05 Mar 2013

Re: C02 Pocket SBC completed!

Post by floobydust »

Cray Ze wrote:
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.
Cray Ze
Posts: 134
Joined: 02 May 2015

Re: C02 Pocket SBC completed!

Post 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.
User avatar
Dr Jefyll
Posts: 3525
Joined: 11 Dec 2009
Location: Ontario, Canada
Contact:

Re: C02 Pocket SBC completed!

Post by Dr Jefyll »

Congrats on the project!

Have any photos? I bet I'm not the only one who'd enjoy having a look :)
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
User avatar
floobydust
Posts: 1394
Joined: 05 Mar 2013

Re: C02 Pocket SBC completed!

Post by floobydust »

Cray Ze wrote:
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.
User avatar
floobydust
Posts: 1394
Joined: 05 Mar 2013

Re: C02 Pocket SBC completed!

Post by floobydust »

Dr Jefyll wrote:
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:
Pocket-SBC-PCB-top.jpg
Pocket-SBC-PBC-bottom.jpg
Pocket-SBC-built.jpg
Pocket-SBC-loaded.jpg
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.
User avatar
barrym95838
Posts: 2056
Joined: 30 Jun 2013
Location: Sacramento, CA, USA

Re: C02 Pocket SBC completed!

Post by barrym95838 »

Ooh, I'm among the honorably mentioned! Thank you!

Mike B.
User avatar
floobydust
Posts: 1394
Joined: 05 Mar 2013

Re: C02 Pocket SBC completed!

Post by floobydust »

barrym95838 wrote:
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!
User avatar
Drass
Posts: 428
Joined: 18 Oct 2015
Location: Toronto, ON

Re: C02 Pocket SBC completed!

Post by Drass »

Really nice project, and thanks for the summary write-up. Cheers!
C74-6502 Website: https://c74project.com
telbee71
Posts: 2
Joined: 02 May 2018

Re: C02 Pocket SBC completed!

Post by telbee71 »

That PCB is a work of art! Excellent project.
Post Reply