6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 9:05 am

All times are UTC




Post new topic Reply to topic  [ 68 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
PostPosted: Thu Jul 04, 2019 6:00 pm 
Offline

Joined: Thu Sep 15, 2016 1:52 pm
Posts: 60
Location: UK
Chromatix wrote:
Clearly the correct operation of zero-page and the stack page is the most critical. Without them, a significant proportion of 6502 opcodes become useless. But I think we can now assume that the VIA and ROM are working correctly.

Your code is on my list to try out.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 05, 2019 9:38 am 
Offline

Joined: Wed Feb 12, 2014 1:39 am
Posts: 173
Location: Sweden
If the RAM is known to be good in another system then that just leaves something like a bad/incorrect connection. if the circuit is configured as per the diagram it should be working


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 05, 2019 5:35 pm 
Offline

Joined: Mon May 21, 2018 8:09 pm
Posts: 1462
Yes, I had that in mind when writing the test code. You'll notice that there's a write to the VIA between filling the RAM with test values and verifying those values, which should catch cases where the decode is incorrect.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 06, 2019 1:44 pm 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1385
Despite having a fair number of bypass caps on your prototyping breadboard, I would suggest placing a 0.1uF directly at the SRAM chip to pins 14 and 28. I would also note that there's other differences between your implementation and Garth's original schematic. On U3b, move pin 5 directly to +5V and also use the PHI2 out on the CPU to drive U3a pin 1 and the 65C22 clk line. All are simple changes.

Lastly, I would also look to meter all of the lines for the SRAM to ensure your don't have any intermittent or bad lines between the SRAM and the CPU.

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


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 31, 2019 5:12 pm 
Offline

Joined: Thu Sep 15, 2016 1:52 pm
Posts: 60
Location: UK
So I finally found out what's wrong with the circuit. The quality of that breadboard was so bad that the VIA didn't get high enough voltage to register a one although I did measure it and it looked OK. When I changed the breadboards to Global Specialities ones everything just started to work. :P So moved on replacing the 74XX00 with an ATF22V10 GAL and that works just fine as well. So my next SBC will have a GAL as an address decoder instead of a Lattice MACH4A.
All's well that ends well.
BTW the old breadboards have been binned, any prototyping will hereinafter be done with GS breadboards.


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 31, 2019 5:52 pm 
Offline

Joined: Mon May 21, 2018 8:09 pm
Posts: 1462
Ah, the joys of dynamic versus static behaviour. You have no idea how much I have to explain to people who *should* know better that transient behaviour sometimes matters more than the steady state.


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 01, 2019 3:42 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
jgroth wrote:
So moved on replacing the 74XX00 with an ATF22V10 GAL...

What did you use to program the ATF22V10?

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


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 01, 2019 9:31 pm 
Offline

Joined: Thu Sep 15, 2016 1:52 pm
Posts: 60
Location: UK
BigDumbDinosaur wrote:
jgroth wrote:
So moved on replacing the 74XX00 with an ATF22V10 GAL...

What did you use to program the ATF22V10?

I used an XGecu PRO TL866II plus, that is the original programmer and not a clone.

Attachment:
xgecuprotl866iiplus.jpg
xgecuprotl866iiplus.jpg [ 3.25 MiB | Viewed 358 times ]

Attachment:
xgecuprotl866iipluslabel.jpg
xgecuprotl866iipluslabel.jpg [ 976.79 KiB | Viewed 358 times ]


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 62 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: