Attempt at '816
- akohlbecker
- Posts: 282
- Joined: 24 Jul 2021
- Contact:
Re: Attempt at '816
and3rson wrote:
In the datasheet, on the page with address demux curcuit, what does the square rotated by 45° mean? Is it some sort of buffer?
- GARTHWILSON
- Forum Moderator
- Posts: 8774
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Attempt at '816
Someone here theorized years ago that it's two arrows, back to back, meaning data flows in both directions.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Attempt at '816
akohlbecker wrote:
and3rson wrote:
In the datasheet, on the page with address demux curcuit, what does the square rotated by 45° mean? Is it some sort of buffer?
Way back in the day when I was first studying “modern” digital electronics (c. 1969—before that, it was mostly tubes I worked with), that symbol was used to signify a bi-directional bus. Along with the “diamond,” there would be a symbol indicating how many distinct circuits were in the bus. You can see both of those elements in the 65C816 data sheet on the page illustrating the A16-A23 capture logic.
Symbols such as that evolved because schematics in those days were manually drawn, and there were sometimes a LOT of ICs in a large system, many interconnected via buses. The ZIP Mail Translator (ZMT) I worked on in 1970 had over 300 ICs, most of them basic gates. As I recall, the ZMT had three main buses for passing data, addresses and control signals. The schematic for the thing went page after page after page after...more pages. So a lot of symbols were used to reduce the required amount of drafting labor. The diamond-shaped bus symbol was one such symbol, along with a somewhat-triangular zoogie that represented a uni-directional bus.
Speaking of bank capture circuits, here’s an interesting version.
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Attempt at '816
and3rson wrote:
Are there any benefits of using a GAL instead of a 74xx latch?
It depends. The GAL would be more consistent, timing-wise, but potentially slower than, say, a 74AHC573. Given the timing window associated with latching A16-A23, I’d say the GAL would be more advantageous in a system that is expected to run at the high end of the 65C816’s capabilities, mostly because its worst-case performance is very predictable (assuming you don’t use pin nodes in your logic).
The main negative with using any PLD is its outputs are TTL, not CMOS. A TTL device’s maximum VOH is theoretically 3.4 volts, which is slightly shy of an “official” CMOS logic 1. That means you would be working with lower noise margins than you would with all-CMOS glue logic. You can mitigate this to some extent by using a four-layer PCB with inner ground and power planes, and lots of bypassing. While that obviously won’t affect voltage levels, it will reduce the overall noise level, as well as reduce the risk of ground bounce, the latter which is potentially more “deadly” than noise.
Something else to consider is GALs tend to be power hogs.
————————————————————
Edit: Fixed typo.
Last edited by BigDumbDinosaur on Sat Sep 02, 2023 9:15 am, edited 1 time in total.
x86? We ain't got no x86. We don't NEED no stinking x86!
- GARTHWILSON
- Forum Moderator
- Posts: 8774
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Attempt at '816
BigDumbDinosaur wrote:
The schematic for the thing went page after page after page after...more pages.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: Attempt at '816
and3rson wrote:
drogon wrote:
Just to add another data-point:
In my ruby 816 system, I use a GAL to latch the upper N address bits and no separate data bus buffer. Works for me, but I only have one peripheral - a 65C22 and simple address decoding done in another GAL to allow for 512KB of RAM and the VIA.
-Gordon
In my ruby 816 system, I use a GAL to latch the upper N address bits and no separate data bus buffer. Works for me, but I only have one peripheral - a 65C22 and simple address decoding done in another GAL to allow for 512KB of RAM and the VIA.
-Gordon
-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
- akohlbecker
- Posts: 282
- Joined: 24 Jul 2021
- Contact:
Re: Attempt at '816
Can you implement a transparent latch with a GAL? I thought they only had D flip flops and you had to upgrade to a CPLDs to do that
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Attempt at '816
GARTHWILSON wrote:
BigDumbDinosaur wrote:
The schematic for the thing went page after page after page after...more pages.
If memory serves me, I think the drawings were D-sized. There were a lot of them, all neatly bound into a “book.” This was the U.S. Post Office, after all. Government entities are all about organization...or so they’d like us to think.
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Attempt at '816
drogon wrote:
and3rson wrote:
drogon wrote:
Just to add another data-point:
In my ruby 816 system, I use a GAL to latch the upper N address bits and no separate data bus buffer. Works for me, but I only have one peripheral - a 65C22 and simple address decoding done in another GAL to allow for 512KB of RAM and the VIA.
-Gordon
In my ruby 816 system, I use a GAL to latch the upper N address bits and no separate data bus buffer. Works for me, but I only have one peripheral - a 65C22 and simple address decoding done in another GAL to allow for 512KB of RAM and the VIA.
-Gordon
-Gordon
Have you ever published the code in your GALs?
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: Attempt at '816
akohlbecker wrote:
Can you implement a transparent latch with a GAL? I thought they only had D flip flops and you had to upgrade to a CPLDs to do that
Re: Attempt at '816
BigDumbDinosaur wrote:
Have you ever published the code in your GALs?
I also use a tool that no-one else uses - GALasm, although it's a fairly trivial text file.
I sometimes publish things under a "source available" thing, but it's rare these days. Also the reality is that no-one else is going to build one of my boards so it's a bit moot.
Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Re: Attempt at '816
eh, i'm not a fan of that mentality.
i made my 65816 SBC's schematics, CPLD logic, and BIOS ROM public. because having more resources and working examples online is always a good thing.
I don't expect anyone to ever actually build my SBC, and i'm perfectly ok with that.
but if someone is looking for some examples of how to make a 65816 SBC, they can use my design as a base or use it to look at how i did specific things like the latching circuit to then design their own.
that's why i would always recommend publishing details (schematics, code, etc) about larger projects (even if it has it's own thread where you can follow along the development), so that others might use it as learning resource in the future.
if you don't, then once you leave the community all your knowledge will be pretty much lost except for the few snippets thrown around in forum posts (which might be difficult to find).
that also applies for anything being sold, once you stop selling something there is no reason to not publish it, so others can make their own.
i still hate that about the kipper2k Amiga RAM expansion, which was a very simple design with some DRAM and a CPLD that plugs into the CPU socket to give an A500/600 4-8MB of RAM. but he stopped selling it without ever making the design public. the design was popular enough that it was remade from scratch and open sourced, but that extra work could've been easily avoided.
i made my 65816 SBC's schematics, CPLD logic, and BIOS ROM public. because having more resources and working examples online is always a good thing.
I don't expect anyone to ever actually build my SBC, and i'm perfectly ok with that.
but if someone is looking for some examples of how to make a 65816 SBC, they can use my design as a base or use it to look at how i did specific things like the latching circuit to then design their own.
that's why i would always recommend publishing details (schematics, code, etc) about larger projects (even if it has it's own thread where you can follow along the development), so that others might use it as learning resource in the future.
if you don't, then once you leave the community all your knowledge will be pretty much lost except for the few snippets thrown around in forum posts (which might be difficult to find).
that also applies for anything being sold, once you stop selling something there is no reason to not publish it, so others can make their own.
i still hate that about the kipper2k Amiga RAM expansion, which was a very simple design with some DRAM and a CPLD that plugs into the CPU socket to give an A500/600 4-8MB of RAM. but he stopped selling it without ever making the design public. the design was popular enough that it was remade from scratch and open sourced, but that extra work could've been easily avoided.
Re: Attempt at '816
drogon wrote:
I also use a tool that no-one else uses - GALasm, although it's a fairly trivial text file.
Proxy wrote:
I don't expect anyone to ever actually build my SBC, and i'm perfectly ok with that.
but if someone is looking for some examples of how to make a 65816 SBC, they can use my design as a base or use it to look at how i did specific things like the latching circuit to then design their own.
but if someone is looking for some examples of how to make a 65816 SBC, they can use my design as a base or use it to look at how i did specific things like the latching circuit to then design their own.
I think that's the true spirit of the Open Source, and I've always been trying to make all my works open - not for fame or commendations, but just in case it helps someone as much as similar projects used to help me.
EDIT: Sometimes, the most obscure projects with only few Github stars are the most valuable ones due to their rarity: I recently played with Intel 8008, and I found someone's SBC on Github. That was the only project with a great documentation, schematics and all the sources included, even PLD sources for GAL. Needless to say, it helped me tremendously to understand 8008's internals and usecases.
/Andrew
deck65 - 6502 slab with screen and keyboard | ПК-88 - SBC based on KM1810VM88 (Ukrainian i8088 clone) | leo80 - simple Z80 SBC
nice65 - 6502 assembly linter | My parts, footprints & 3D models for KiCad/FreeCAD
deck65 - 6502 slab with screen and keyboard | ПК-88 - SBC based on KM1810VM88 (Ukrainian i8088 clone) | leo80 - simple Z80 SBC
nice65 - 6502 assembly linter | My parts, footprints & 3D models for KiCad/FreeCAD
Re: Attempt at '816
(Just to say, I like to open source my own works, and I much prefer when published works have open source licenses, failing which I prefer published code to private code, but finally I also respect the decision of anyone who feels they need to do otherwise. Ideally we can still share our project stories and share ideas.)
Re: Attempt at '816
All my 70+ designs except two are sufficiently documented to be replicated by others. They are stored in retrobrewcomputers under plasmo. Ultimately the documentations are for myself because it is where I can find the most current designs snap shots. If you are interested in any of my designs but couldn’t find certain document, let me know and I’ll upload the missing document. The two exception are Ultrawarp and IOU for Apple IIe implemented in CPLD; I am working in a team on these projects and agreed not to release the design files.
Bill
Bill