6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Mon Sep 23, 2024 12:21 pm

All times are UTC




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Wed Dec 18, 2019 5:47 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8390
Location: Midwestern USA
Nogard wrote:
I am experimenting a bit with direct crystal connection, but it does not work, could you please check my connection?

You need to post a schematic. BTW, when you say "crystal" are you referring to an actual crystal or a can oscillator?

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


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 18, 2019 5:49 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1429
Nogard wrote:
could you please check my connection?

Rockwell R6502 datasheet.

Pin 36 is NC, but it's tied to +5V. //it's NC for the R65C02, too.
Pin 1 is GND, but it's left open.

Pin 40 is /RES, the switch ties it to GND, that yes, but you better add a 4k7 pullup resistor from /RES to +5V.
Without that pullup resistor, I think that /RES won't be able to reach logic HIGH level, so the CPU won't come out of a RESET.

Would suggest to connect the two LEDs to A14 and A15 instead.
Then to use resistors (maybe 1k ?) for pulling the data bus Bits either to GND or +5V, for faking $EA on the data bus.
Resistors are to limit the current at the CPU data bus pins, just in case the CPU might try to write something on the data bus by accident.

$EA is the NOP instruction (which does nothing but incrementing PC to be placed on the address bus).

If the CPU comes out of a RESET, it first reads the RESET vector (which would be $EAEA),
then starts executing code at $EAEA, the code always will be $EA.

A NOP takes two machine cycles, at 2MHz PHI2 the 6502 is supposed to loop through the 64kB address range ca. 15 times per second,
might probably be slow enough to see the LED on A15 flickering.

Also, when building the computer later, please don't forget to add 100nF ceramic capacitors between GND and +5V at every chip
(including the metal can oscillator which actually is sort of a chip too).


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 18, 2019 6:48 pm 
Offline
User avatar

Joined: Thu May 14, 2015 9:20 pm
Posts: 155
Location: UK
ttlworks wrote:
(including the metal can oscillator which actually is sort of a chip too).

These definitely need a decoupling capacitor, as they do contain active semiconductor circuitry.

Mark


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 18, 2019 11:17 pm 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1005
Location: Canada
1024MAK wrote:
These definitely need a decoupling capacitor, as they do contain active semiconductor circuitry.
Mark
Some contain decoupling but it certainly can't hurt to add more if you are not sure.

_________________
Bill


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

All times are UTC


Who is online

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