POC VERSION TWO

For discussing the 65xx hardware itself or electronics projects.
User avatar
GaBuZoMeu
Posts: 660
Joined: 01 Mar 2017
Location: North-Germany

Re: POC VERSION TWO

Post by GaBuZoMeu »

This looks very well! :D
It would be a tricky new(?) way to stretch the clock, one that should work even with a NMOS 6502 where RDY don't work for writes. I need to try to simulate that to be sure it works.
Thinking about that it just came to my mind if it would work to use GCLK to clock fast IO (like 65C22) having timers inside counting the clock. Then these counters and related timings would not disturbed by accessing slow IO. :!:


Regards, Arne
User avatar
Dr Jefyll
Posts: 3525
Joined: 11 Dec 2009
Location: Ontario, Canada
Contact:

Re: POC VERSION TWO POINT TWO: Wait-States

Post by Dr Jefyll »

clock_generator_2phase_modified.gif
BigDumbDinosaur wrote:
Opinions?
Green on a black background kinda sucks. (Oh! -- about the circuit, you mean! :wink: :P )

Don't forget the humble JK flipflop (below). I've drawn this using 'AC112, but with trivial changes the 'AC109 will also work. (With J and /K tied together the '109 can masquerade as a '74, which increases the potential utility of the other flipflop section in the package.) With this circuit it's better if your /STP signal becomes valid before the rise of Phi2 (but I assume that's already the case).
clock_generator_using_JK.png
74_112 truth table.png
On another topic, I noticed the following portion of your schematic (below). Maybe eight of those nine jumpers can be omitted. Assuming the 'ACT541 is in a socket, it could, for testing purposes, be removed and replaced with a male header wired to simply bridge the inputs straight to the outputs (which is what the jumpers did). Of course the test would apply to all 8 of the signals -- IOW you can't pick & choose on an individual basis. That doesn't seem to me like a dealbreaker, though. If necessary you could use pullup resistors to alter the VOH of individual signals.
jumper block.png
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC VERSION TWO POINT TWO: Wait-States

Post by BigDumbDinosaur »

Dr Jefyll wrote:
The attachment clock_generator_2phase_modified.gif is no longer available
BigDumbDinosaur wrote:
Opinions?
Green on a black background kinda sucks. (Oh! -- about the circuit, you mean! :wink: :P )
Picky, picky! :D
Two-Phase Clock Generator w/Stop
Two-Phase Clock Generator w/Stop
Quote:
Don't forget the humble JK flipflop (below). I've drawn this using 'AC112, but with trivial changes the 'AC109 will also work. (With J and /K tied together the '109 can masquerade as a '74, which increases the potential utility of the other flipflop section in the package.) With this circuit it's better if your /STP signal becomes valid before the rise of Phi2 (but I assume that's already the case).
Yes, that would work as well. Once advantage the 'AC74 has over the 'AC112 is the former is in a smaller package.

The CPLD logic is such that it would make a decision on wait-stating when GCLK goes high. At that point, the effective address has settled and I have the whole of the GCLK high phase in which to assert /STP and stop everything. Similarly, when the wait-state expires, /STP would be de-asserted during GCLK high, keeping Ø2 in phase with GCLK. In both case, so my thinking goes, the change of state of /STP will always slightly lag the rise of GCLK due to the CPLD's pin-to-pin delay (7-10ns), which should eliminate any glitches.

In any case, my main question is if my idea is even feasible.
Quote:
On another topic, I noticed the following portion of your schematic (below). Maybe eight of those nine jumpers can be omitted. Assuming the 'ACT541 is in a socket...
The 'ACT541 is in an SOIC20 package, hence the jumper block.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC VERSION TWO

Post by BigDumbDinosaur »

GaBuZoMeu wrote:
Thinking about that it just came to my mind if it would work to use GCLK to clock fast IO (like 65C22) having timers inside counting the clock. Then these counters and related timings would not disturbed by accessing slow IO. :!:
Good observation.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

POC VERSION TWO: V2.2 Update

Post by BigDumbDinosaur »

I added some circuitry to implement "clock stretching" to be used in lieu of RDY for generating wait-states. The clock control circuitry is arranged so I can isolate it with jumpers from the rest of the system for experimentation purposes. I also did some rearranging of the PCB in order to get a more favorable routing of the /IRQ line and some other traces. The updated schematic and PCB layout are attached. I will go over these once more in a day or two to double-check for errors, after which the Gerbers will be submitted to get boards made.
poc_v2.2_schematic.pdf
Schematic
(364.34 KiB) Downloaded 188 times
Printed Circuit Board
Printed Circuit Board
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
GaBuZoMeu
Posts: 660
Joined: 01 Mar 2017
Location: North-Germany

Re: POC VERSION TWO

Post by GaBuZoMeu »

Well, no response of anyone else so far.
I downloaded your schematic and take a glimpse on it - didn't find anything annoying :)
You have made no provisions for a (G)CLK signal on the expansion header - probably you intend no sort of extension that could benefit from that.

Regards.
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC VERSION TWO

Post by BigDumbDinosaur »

GaBuZoMeu wrote:
You have made no provisions for a (G)CLK signal on the expansion header - probably you intend no sort of extension that could benefit from that.
Anything that would be connected to the expansion socket would be using the Intel-style read/write circuitry and would not require reference to GCLK. The only peripheral I have built to date to plug into expansion is a SCSI host adapter, which has its own clock source.
SCSI Host Adapter PCB
SCSI Host Adapter PCB
scsi_hba_schematic.pdf
SCSI Host Adapter Schematic
(99.45 KiB) Downloaded 180 times
SCSI-SE Host Adapter
SCSI-SE Host Adapter
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC VERSION TWO

Post by BigDumbDinosaur »

Like everything else, this project ended up on the back burner as I grappled with medical maladies. I was able to assemble the unit and do some preliminary testing before I ended up in the hospital. However, too much time has elapsed from then to now. So I need to start from scratch with testing—I have no recollection of how far I had gotten—and see if it will go or blow. Meanwhile, I'm in a race to catch up with client work I was doing when the hospital beckoned. :D So I am not sure when I will be able to get back on this.

Meanwhile, here are some photos of POC V2.2 I had taken during and after assembly.
POC V2.2 Bare PCB
POC V2.2 Bare PCB
POC V2.2 PCB w/SMT Devices
POC V2.2 PCB w/SMT Devices
POC V2.2 Assembled
POC V2.2 Assembled
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
drogon
Posts: 1671
Joined: 14 Feb 2018
Location: Scotland
Contact:

Re: POC VERSION TWO

Post by drogon »

Looks very nice. Good to see another '816 system going!

Cheers,

-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC VERSION TWO

Post by BigDumbDinosaur »

drogon wrote:
Looks very nice. Good to see another '816 system going!

Cheers,

-Gordon
Thanks! Of course, I have no idea at this point if it will work. :shock:
x86?  We ain't got no x86.  We don't NEED no stinking x86!
Guus Assmann
Posts: 26
Joined: 19 Apr 2018

POC VERSION TWO

Post by Guus Assmann »

Hello,
Nice to know You're back.
And I'm still interested in putting the parts I already have to work.

BR/
Guus
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC VERSION TWO

Post by BigDumbDinosaur »

Guus Assmann wrote:
Hello,
Nice to know You're back.
And I'm still interested in putting the parts I already have to work.

BR/
Guus
I hope to get back on this in a month or two. As I lost a fair amount of time while undergoing treatment and rehab, I have quite a bit of client work waiting for me. I best get to it, since I need to pay all those hospital and doctor bills. :D
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC VERSION TWO

Post by BigDumbDinosaur »

I've given up for now on my homebrew computing escapades.

I cannot see well enough to do any close electronic work and writing code has gotten to be quite difficult thanks to damage to central vision in my left eye. I've tried, but I seem to routinely mix up instructions that are easily mixed up, e.g., TXA vs. TAX. I've been undergoing treatment for nearly two years in an attempt to mitigate the vision problems but am seeing little progress. I'd like to think that things will improve and I'll soon be back in the saddle writing code, etc. However, reality is what matters and that reality is I'm a curmudgeon with failing vision. So it seems my POC V2 project has become an orphan. It's been fun...
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
cbmeeks
Posts: 1254
Joined: 17 Aug 2005
Location: Soddy-Daisy, TN USA
Contact:

Re: POC VERSION TWO

Post by cbmeeks »

BDD,

I'm so sorry to hear that! If you ever need help soldering stuff, let me know. I love doing it and I'm not too bad at it.

Anything I can do to help....
Cat; the other white meat.
User avatar
floobydust
Posts: 1394
Joined: 05 Mar 2013

Re: POC VERSION TWO

Post by floobydust »

Also very sorry to hear that your vision has prevented you from finishing up the hardware and from doing any programming. I'd also be willing to help out with anything on assembly, etc. if you like.
Post Reply