6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 01, 2024 6:22 am

All times are UTC




Post new topic Reply to topic  [ 80 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: 65c816 "Core"
PostPosted: Wed Sep 08, 2021 5:56 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8468
Location: Midwestern USA
GamerFox wrote:
I took BDD's advice and changed the memory mapping a little. Here's the decoder circuit sheet.

Could you please post the new memory map? It may help with trying to figure out why you have enough gates in there to sink a small ship. :D

Also, I recommend you do not mix TTL logic with CMOS. 74HC devices will not see a valid logic 1 at their inputs if driven from TTL outputs. At best, the circuit will function, but likely be unstable. At worst, it won't work at all.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Wed Sep 08, 2021 9:53 pm 
Offline

Joined: Thu Mar 18, 2021 8:11 am
Posts: 28
Here is the memory map

https://docs.google.com/spreadsheets/d/ ... p=drivesdk


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Thu Sep 09, 2021 7:46 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8468
Location: Midwestern USA
GamerFox wrote:

You do know you can attach things to your posts, right? I (and a few others around here) don't do Google for anything.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Thu Sep 09, 2021 12:08 pm 
Offline

Joined: Thu Mar 18, 2021 8:11 am
Posts: 28
BigDumbDinosaur wrote:
GamerFox wrote:

You do know you can attach things to your posts, right? I (and a few others around here) don't do Google for anything.


Attachments:
Dragon Bank 0.pdf [39.37 KiB]
Downloaded 84 times
Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Thu Sep 09, 2021 7:43 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8468
Location: Midwestern USA
GamerFox wrote:
BigDumbDinosaur wrote:
GamerFox wrote:

You do know you can attach things to your posts, right? I (and a few others around here) don't do Google for anything.

Now, where have I seen that memory map before? :D

That memory map can be implemented with fewer gates than what you previously posted.

Attachment:
File comment: Glue Logic
pocv130_glue.pdf [81.03 KiB]
Downloaded 51 times

The above is an excerpt from my POC V1.3 unit's schematic. The unit has 128KB of RAM, of which 112KB is accessible.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Thu Sep 09, 2021 8:06 pm 
Offline

Joined: Thu Mar 18, 2021 8:11 am
Posts: 28
BigDumbDinosaur wrote:
GamerFox wrote:
BigDumbDinosaur wrote:
GamerFox wrote:

You do know you can attach things to your posts, right? I (and a few others around here) don't do Google for anything.

Now, where have I seen that memory map before? :D

That memory map can be implemented with fewer gates than what you previously posted.

Attachment:
pocv130_glue.pdf

The above is an excerpt from my POC V1.3 unit's schematic. The unit has 128KB of RAM, of which 112KB is accessible.

What's that signal /WSE there?


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Thu Sep 09, 2021 8:21 pm 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1948
Location: Sacramento, CA, USA
GamerFox wrote:
What's that signal /WSE there?

My hardware chops are a bit limited, but it looks to me like it's an output that's low for any bank 0 address in [$C000 .. $FFFF]. What the name means is something BDD should be able to answer.

_________________
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!

Mike B. (about me) (learning how to github)


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Thu Sep 09, 2021 8:35 pm 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1385
I believe that's from his V2.0 design... it's Wait State Enable for anything in the I/O address block. Check out the full schematic under the Hardware Section:

viewtopic.php?f=4&t=6701#p85562

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Thu Sep 09, 2021 10:37 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8468
Location: Midwestern USA
GamerFox wrote:
What's that signal /WSE there?

Wait-State Enable.

When /WSE is asserted Ø2 is stopped (aka "stretched") in the high phase, resulting in a wait-state. Stretching avoids problems that may arise in trying to wait-state the 65C816 by controlling RDY. The clock generator circuit is in the below attachment.

Attachment:
File comment: Clock Generator w/Stretch Control
clock_gen_2phase_stretched.gif
clock_gen_2phase_stretched.gif [ 39.69 KiB | Viewed 1028 times ]

The generator circuit was derived from a prototype unit I built to prove the concept. The logic analyzer results for the prototype are below.

Attachment:
File comment: Clock-Stretching Logic Traces
wait_state_test_annotated.jpg
wait_state_test_annotated.jpg [ 314.91 KiB | Viewed 1028 times ]

Of the three clock outputs picked off at RN1, GCLK ("global clock") is not stretched and can be used to drive 65xx peripherals, such as the WDC 65C22. In particular, if the 65C22 is driven from Ø2, its timers will gradually slow down with each I/O or ROM access. Driving the 65C22 from GCLK avoids this problem. Implied in this case is that wait-stating would not be applied if the selected device is a 65C22. As I don't use the 65C22 I didn't include that "rule" in the glue logic. Such a rule might be awkward to implement in discrete logic, but wouldn't be a problem with a PLD.

Jumper JP1 on the left selects one or two wait-states. I added that feature to POC V2.0's clock generator for experimentation purposes.

floobydust wrote:
I believe that's from his V2.0 design...

...also used in V1.3.

barrym95838 wrote:
My hardware chops are a bit limited, but it looks to me like it's an output that's low for any bank 0 address in [$C000 .. $FFFF].

Correct.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Fri Sep 10, 2021 7:47 am 
Offline

Joined: Thu Mar 18, 2021 8:11 am
Posts: 28
So it's probably not going to be relevant to my design?


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Sat Sep 11, 2021 12:49 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8468
Location: Midwestern USA
GamerFox wrote:
So it's probably not going to be relevant to my design?

That's something you will have to decide. The need for wait-stating will depend on how fast you want to run your system and the performance of the parts you use to build it.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Sat Sep 11, 2021 5:21 am 
Offline

Joined: Thu Mar 18, 2021 8:11 am
Posts: 28
This is kind of a test bed for me right now so I'm thinking no more than 4 MHz.


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Sat Sep 11, 2021 5:43 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8468
Location: Midwestern USA
GamerFox wrote:
This is kind of a test bed for me right now so I'm thinking no more than 4 MHz.

Unless you use some really slow stuff you won't need wait-states at 4 MHz. Just remember what I earlier said about mixing TTL and CMOS logic. There is no valid reason at this time to use TTL logic in a new design.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Sun Sep 12, 2021 5:36 am 
Offline

Joined: Thu Mar 18, 2021 8:11 am
Posts: 28
I am a little bit angry right now. It seems like there are no DIP EPROM or EEPROMs that work on 3.3V, meaning I might have to jack up the main rail to 5V or add a PLCC32 socket for one of Atmel's 3.3V offerings (the OTP EPROM and the EEPROM are not pin compatible in PLCC32).


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Sun Sep 12, 2021 6:07 am 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1948
Location: Sacramento, CA, USA
I just did a brief search and found the 28LV010 which appears to have a DIP version ... is this not available or not applicable for some reason?
[Edit: might be for aerospace use, so rare and expensive?]

_________________
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!

Mike B. (about me) (learning how to github)


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 16 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: