6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 22, 2024 11:18 pm

All times are UTC




Post new topic Reply to topic  [ 73 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
PostPosted: Sun Mar 11, 2018 12:19 am 
Offline

Joined: Wed Jan 24, 2018 4:05 am
Posts: 14
[]


Last edited by nerdy1 on Tue Aug 07, 2018 11:29 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 18, 2018 7:03 am 
Offline

Joined: Wed Jan 24, 2018 4:05 am
Posts: 14
[]


Last edited by nerdy1 on Tue Aug 07, 2018 11:29 am, edited 3 times in total.

Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 18, 2018 8:57 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8544
Location: Southern California
Quote:
My CPU is NMOS so my logic ICs are currently TTL [ ... ] I am assuming they intend the designer to use a 74LS04 or perhaps 74ALS04 as the logic IC, because the schematic was created in 1982. That would mean the outputs of the NOT gates would be TTL.

74HC and 74HCT came out in 1982. I would use 74HCT. Its input levels are compatible with TTL levels (hence the "T"), but it takes a lot less current than TTL, and its wider-ranging output voltage is not a problem; in fact, 74HC(T)'s fanout is 10 LSTTL loads.

_________________
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?


Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 18, 2018 9:09 am 
Offline
User avatar

Joined: Sun Dec 29, 2002 8:56 pm
Posts: 460
Location: Canada
The gates with pull-up resistors might be open-collector devices like the 74LS06. Could it be possible that the oscillator also drives the crystal pins in an input/output fashion ? In which case open collector logic might be needed. 470 ohms is a fairly strong pull-up. The spec sheet does say the oscillator uses the crystal in parallel resonant mode.

_________________
http://www.finitron.ca


Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 18, 2018 9:54 am 
Offline

Joined: Wed Jan 24, 2018 4:05 am
Posts: 14
[]


Last edited by nerdy1 on Tue Aug 07, 2018 11:29 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 18, 2018 11:49 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Hang on, if you're using a clock generator, you don't need to worry about resonance - and I thought you said that was your preference?

I would expect the pullups are needed, and are strong, because the expectation was that the inverters are TTL and don't pull to the rail. So if you choose a logic family which does pull to the rail, you can probably do without the pullups.

It might be important that the two inputs are driven as shown, which is to say with one gate delay of lag, so I'd suggest you do the same. Driving with an actual two phase clock might be worse, in this case.


Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 18, 2018 6:51 pm 
Offline

Joined: Sat Jan 02, 2016 10:22 am
Posts: 197
You could try just connecting a timing crystal across the 2 XTAL pins without any extra components.

See the schematic from the MTX500/512.

Attachment:
File comment: Slightly blurry shot of the TMS9929A section of the MTX500 schematic
TMS9929A.jpg
TMS9929A.jpg [ 74.94 KiB | Viewed 7286 times ]


NB The MTX is a Z80 system, but I don't think that makes any difference.


Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 18, 2018 8:18 pm 
Offline

Joined: Wed Nov 18, 2015 8:36 am
Posts: 102
Location: UK
Hi folks. I have previously posted on this same thread quite some time ago, but have a stable working 65c02 and TMS9918a set up.

I have a 21.47727 Mhz crystal, struggled to get hold of a 10.738635 one - they seem to be difficult to find in the UK at least.

So I used that crystal as the master clock for my breadboard, fed in to a 74HCT161 counter and used Q1 and Q3 outputs to drive the TMS9918a (Q1) and 65c02 (Q3). In fact I use Q3 (approximately 2.68 MHz) as the clock for everything else as well as the 65c02 (6522, 6551).

The TMS9918 can be driven with an external signal, but needs clock signal and its inverse to be fed in to XTAL1 and XTAL2 - a NAND gate from a 74HCT00 achieves that for me so I get a clean non-overlapping Q1 and /Q1 signal.

I have never really understood what is going on with clock circuits - they seem to be the most analogue of all the sub-systems on my homebrew. So I followed various schematics on the internet (and this forum too).

Anyway, I attach a photo of the clock circuit, with a couple of annotations, hope it helps a little..


Attachments:
File comment: Main clock circuit DOLO-1
master clock.jpg
master clock.jpg [ 2.36 MiB | Viewed 7276 times ]
Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 18, 2018 11:17 pm 
Offline

Joined: Wed Jan 24, 2018 4:05 am
Posts: 14
[]


Last edited by nerdy1 on Tue Aug 07, 2018 11:30 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 26, 2018 9:17 pm 
Offline

Joined: Wed Jan 24, 2018 4:05 am
Posts: 14
[]


Last edited by nerdy1 on Tue Aug 07, 2018 11:31 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Tue Mar 27, 2018 5:26 pm 
Offline

Joined: Sat Jan 02, 2016 10:22 am
Posts: 197
Maybe connect A12 to G2B, so that you're only decoding a 4k area of memory Axxx for the VDP, instead of 8k (A000-BFFF) ?


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 28, 2018 2:03 pm 
Offline
User avatar

Joined: Sun Dec 29, 2002 8:56 pm
Posts: 460
Location: Canada
IIRC the 9918 series only requires a couple of I/O ports. If you are using only a single active low output you could consider something like the 74HCT688 which has a ton more inputs than the '138. Useful for resolving address ranges down to a finer resolution.

_________________
http://www.finitron.ca


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 20, 2018 2:49 am 
Offline

Joined: Fri Apr 06, 2018 4:20 pm
Posts: 94
This fellow looks to have successfully interfaced the 9918 with the 6502 on his SBC:

https://www.youtube.com/watch?v=9bIwD_OyiA4

Apologies if this is someone already here :-)

If so, great work and love the white PCB.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 73 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 43 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: