6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 16, 2024 8:44 pm

All times are UTC




Post new topic Reply to topic  [ 55 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
PostPosted: Sun Nov 28, 2021 6:22 pm 
Offline

Joined: Sat Apr 11, 2020 7:28 pm
Posts: 344
akohlbecker wrote:
Shameless plug, but if you need help figuring out the 65C816 bus, I go into a lot of details on how to demultiplex it in my YouTube series, for a few episodes starting with https://www.youtube.com/watch?v=eVvno_Y ... qT&index=2


Thanks. After watching some of this, my conclusion is that there is no easy "one fits all" solution for this decoding bus situtation. Maybe, and I say maybe the use of PLD devices as you already said would be the right way to do it, but even that way I'm not sure that it would be easy to have address decoding covered from voltages from 1.8 to 5.5, and speeds from zero to 8, 14 or even more Mhz.


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 28, 2021 9:39 pm 
Offline
User avatar

Joined: Sat Jul 24, 2021 1:37 pm
Posts: 282
tokafondo wrote:
I'm not sure that it would be easy to have address decoding covered from voltages from 1.8 to 5.5, and speeds from zero to 8, 14 or even more Mhz.


Any implementation will have to make compromises depending on the use case, for starters that voltage range is going to be pretty restrictive on what you can do. But you can probably assume 5V use on a breadboard?

BigDumbDinosaur wrote:
On paper, 20 MHz is readily attained with a discrete logic system, assuming the use of 74AC or 74AHC parts. My POC V1.2 unit achieves that with timing headroom to spare, but doesn't generate the A16-A23 bits.

V1.3 is essentially the V1.2 glue logic, with additional logic to expose RAM beyond bank $00. The 16 MHz maximum speed limit with V1.3 is due to the part of the logic that prevents mirroring of ROM and I/O outside of bank $00. The extra prop time through that section prevents clock-stretching from being effective at 20 MHz, causing ROM and I/O access failures.

V2.0, which is in work, implements glue logic with a single CPLD. It'll be interesting to see how fast it will run.[/color]


Interesting, I need to look at your circuits in more details

_________________
BB816 Computer YouTube series


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 28, 2021 11:42 pm 
Offline

Joined: Sat Apr 11, 2020 7:28 pm
Posts: 344
Enough for today. This is the concept. Replaced LV series with AC series, because LV is the same as HC but with caveats.

Attachment:
Portapapeles01.png
Portapapeles01.png [ 213.73 KiB | Viewed 544 times ]

Attachment:
Portapapeles02.png
Portapapeles02.png [ 230.26 KiB | Viewed 544 times ]

Attachment:
Portapapeles03.png
Portapapeles03.png [ 86.76 KiB | Viewed 544 times ]

Attachment:
Portapapeles04.png
Portapapeles04.png [ 108.04 KiB | Viewed 544 times ]


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 29, 2021 1:48 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8491
Location: Midwestern USA
akohlbecker wrote:
Interesting, I need to look at your circuits in more details

Please see attached.

Attachment:
File comment: POC V1.2 Schematic
poc12.pdf [308.41 KiB]
Downloaded 36 times
Attachment:
File comment: POC V1.3 Schematic
pocv130.pdf [344.54 KiB]
Downloaded 48 times

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 29, 2021 10:59 am 
Offline

Joined: Sat Apr 11, 2020 7:28 pm
Posts: 344
BigDumbDinosaur wrote:
akohlbecker wrote:
Interesting, I need to look at your circuits in more details

Please see attached.

Attachment:
poc12.pdf
Attachment:
pocv130.pdf


Are the serial interfaces independent of the speed the CPU is running at?


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 29, 2021 7:27 pm 
Offline

Joined: Sat Apr 11, 2020 7:28 pm
Posts: 344
tokafondo wrote:
akohlbecker wrote:
Shameless plug, but if you need help figuring out the 65C816 bus, I go into a lot of details on how to demultiplex it in my YouTube series, for a few episodes starting with https://www.youtube.com/watch?v=eVvno_Y ... qT&index=2


Thanks. After watching some of this, my conclusion is that there is no easy "one fits all" solution for this decoding bus situtation. Maybe, and I say maybe the use of PLD devices as you already said would be the right way to do it, but even that way I'm not sure that it would be easy to have address decoding covered from voltages from 1.8 to 5.5, and speeds from zero to 8, 14 or even more Mhz.


Did you found the digital delayer a must to be put in the circuit?


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 29, 2021 7:45 pm 
Offline
User avatar

Joined: Sat Jul 24, 2021 1:37 pm
Posts: 282
tokafondo wrote:
Did you found the digital delayer a must to be put in the circuit?


Not a must, plenty of builds around without this. It all depends on how you use the bus. If your write pulse is properly timed, then you might not need this. If you're trying to design something other people can use like this breadboard expander and want to time things in a robust way, making sure banked address bits don't change before the 10ns mark like the rest of the address bus (ie you delay the latch opening by 10ns) could be useful

_________________
BB816 Computer YouTube series


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 29, 2021 7:47 pm 
Offline
User avatar

Joined: Sat Jul 24, 2021 1:37 pm
Posts: 282
BigDumbDinosaur wrote:
akohlbecker wrote:
Interesting, I need to look at your circuits in more details

Please see attached.

Attachment:
poc12.pdf
Attachment:
pocv130.pdf


Thank you for the links!

_________________
BB816 Computer YouTube series


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 29, 2021 8:29 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8491
Location: Midwestern USA
tokafondo wrote:
Are the serial interfaces independent of the speed the CPU is running at?

Yes. If you look on page seven of either schematic, you will see a 3.6864 MHz oscillator designated Y2 to the lower right of one of the DUARTs. That is the clock source for both DUARTs. The clock generator for the MPU is on the left side of page four in both schematics, the source being an oscillator designated Y1.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 29, 2021 8:31 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8491
Location: Midwestern USA
akohlbecker wrote:
Thank you for the links!

You're welcome.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 55 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: