Search found 32 matches

by Enforcer
Mon Oct 15, 2018 9:04 pm
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Re: Bus Arbiter and IO Chip Access

That makes more sense. Thanks! I’m no where near looking into VDP stuff just yet so I’m sure there will be a ton of rediscoveries.
by Enforcer
Mon Oct 15, 2018 6:54 pm
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Re: Bus Arbiter and IO Chip Access

(that thread was actually one of the first I think where VDP signals behavior was deeply studied, too bad most of the image links are broken now) It's pity, yes. Feel free to ask me to recapture any of it (or any other) with any of this method: oscilloscope with up to 4 channels (up to 100MHz throu...
by Enforcer
Mon Oct 15, 2018 4:55 pm
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Re: Bus Arbiter and IO Chip Access

I know someone who did a pinout of the VA0 EDCLK circuit. I’m asking them for a copy and will run it through a circuit simulator. If anyone knows of a good free simulator with 74LS series parts, let me know. I’ll have to see if our Cadence package has them.
by Enforcer
Mon Oct 15, 2018 1:03 pm
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Re: Bus Arbiter and IO Chip Access

I agree most of the interactions I did with regards to !BGACK should be impossible. I was doing them more to see if it would give more info on how the functionality was implemented at a logic level. I did test with the other signals left asserted when !SRES becomes asserted. With a valid clock it al...
by Enforcer
Mon Oct 15, 2018 4:46 am
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Re: Bus Arbiter and IO Chip Access

After a bunch of trial and error, and going through every single input in a binary fashion, I think I have a description of how the 315-5345 works. 315-5345 Behaviors EDCLK (9), !EOE (10), IA14 (11) and !NOE(12) are outputs. !BGACK (1), !HSYNC (2), !SRES (3), A14 (4), !M3 (5), !OE0 (6) , MCLK (7) , ...
by Enforcer
Sun Oct 14, 2018 2:59 pm
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Re: Bus Arbiter and IO Chip Access

Actually, I've pulled out the chip entirely and put it on a bread board so I can control everything by hand. But to your point, yes, I’ve slowed MCLK way down to make capturing easier.
by Enforcer
Fri Oct 12, 2018 6:41 pm
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Re: Bus Arbiter and IO Chip Access

Just an FYI, I was using a 536.93 kHz clock for MCLK. Running at 5mhz was radiating too much for me to get clean signals and the function generator didn’t go up past 30mhz anyway.
by Enforcer
Fri Oct 12, 2018 4:14 pm
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Re: Bus Arbiter and IO Chip Access

High Time for Slow Pixel
High Time Slow Pixel.png
High Time Slow Pixel.png (36.54 KiB) Viewed 21899 times
15 Slow Pixels
15 Slow Pixels.png
15 Slow Pixels.png (39.02 KiB) Viewed 21899 times
2 Fast Pixels
2 Fast Pixels.png
2 Fast Pixels.png (38.98 KiB) Viewed 21899 times

I have some more if you'd like them. Mostly just measuring the widths to make sure they are the same. That pattern of 15-2 repeats as long as HSYNC is asserted.
by Enforcer
Fri Oct 12, 2018 4:11 pm
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Re: Bus Arbiter and IO Chip Access

HardWareMan wrote:
Fri Oct 12, 2018 8:01 am
Feel free to share some pictures.
I took some before I left for work this morning.

Normal EDCLK No HSYNC
HSYNC Deasserted.png
HSYNC Deasserted.png (26.93 KiB) Viewed 21899 times
Start of HSYNC
HSYNC Asserted.png
HSYNC Asserted.png (34 KiB) Viewed 21899 times
Fast Pixel
Fast Pixel HSYNC Asserted.png
Fast Pixel HSYNC Asserted.png (36.98 KiB) Viewed 21899 times
by Enforcer
Fri Oct 12, 2018 5:51 am
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Re: Bus Arbiter and IO Chip Access

... I actually remembered that it is the HSYNC that was the problem. Thanks for this. After setting that one up I was able to see the pattern. I didn’t have enough resolution for discern the exact pattern on my normal scope, so I pulled out my 500MHz 5GS/s one to take a look. The pattern seems to b...
by Enforcer
Thu Oct 11, 2018 4:45 pm
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Re: Bus Arbiter and IO Chip Access

I did a quick check and what I have listed as SBCR is actually VCLK. Funny that the other pinouts I’ve seen online have it as SBCR as well. Guess the majority isn’t always right. LOL. I have a signal generator hereat work and will test with some clocks on MCLK and VCLK and see what behaviors we get ...
by Enforcer
Thu Oct 11, 2018 5:22 am
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Re: Bus Arbiter and IO Chip Access

So I decided to pull the 5345 chip and wire it up outside the system for testing. Here are the findings thus far although a bit perplexing in places. EDCLK: This signal is 0/floating (wasnt a very clean 0) when /SRES, /M3 or /HSYNC are asserted(0). Otherwise it seems to be MCLK/4. (I tested with a 5...
by Enforcer
Wed Oct 10, 2018 4:04 am
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Re: Bus Arbiter and IO Chip Access

Did some probing on my model 1 va2. It has a 5308 arbiter, a 5309 IO chip and a 5345. I checked the pinouts on MegaDrive.org and found some inaccuracies. Correct pinout is as follows: 1. /BGACK (connected to BGACK on VDP, 68k and arbiter) 2. /HSYNC 3. /SRES 4. A14 5. /M3 6. /OE0 7. MCLK 8. GND 9. ED...
by Enforcer
Tue Oct 09, 2018 5:17 am
Forum: Megadrive/Genesis
Topic: Bus Arbiter and IO Chip Access
Replies: 28
Views: 42406

Bus Arbiter and IO Chip Access

I am working on an emulator and striving for cycle accuracy. (Aren't we all?) I am attempting to emulate the 513-5433 Arbiter/IO chip. I was wondering if anyone knew of any document or documents that described the behaviors in enough detail to write an emulator for all the involved signals from VDP ...
by Enforcer
Mon Oct 01, 2018 11:54 pm
Forum: Megadrive/Genesis
Topic: IO access differences in MD mode vs SMS
Replies: 4
Views: 8020

Re: IO access differences in MD mode vs SMS

Thanks for the info. I don’t suppose there are any die shots of the IO chip and Arbiter? That may make things a little easier on me.