Project: HDMI/DVI out for STFM

Progress on our FPGA cores.
User avatar
exxos
Site Admin
Site Admin
Posts: 24712
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Project: HDMI/DVI out for STFM

Post by exxos »

ijor wrote: Mon Dec 03, 2018 7:11 pm Thanks. I just noted something interesting on the traces. It might be relevant or not ... People, those that tested the HDMI board, can you please tell us which TOS version you used on those system. Troed, Smonson, Exxos?
TOS104.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
Smonson
Posts: 714
Joined: Sat Oct 28, 2017 10:21 am
Location: Canberra, Australia
Contact:

Re: Project: HDMI/DVI out for STFM

Post by Smonson »

Also 1.04.
ijor wrote: Mon Dec 03, 2018 4:13 pm It is not possible to make any conclusions about the timing.
Well we can see from the earlier scope investigation what it normally looks like, I don't think it's very likely that the timing changed somehow. Even if it did, D9 is a problem that will have caused the exact symptoms that have been observed, so the chances are very good that F_BUS_DIR is fine.
User avatar
Smonson
Posts: 714
Joined: Sat Oct 28, 2017 10:21 am
Location: Canberra, Australia
Contact:

Re: Project: HDMI/DVI out for STFM

Post by Smonson »

ijor wrote: Mon Dec 03, 2018 1:10 pm
Does the capture shows that reading works at all? I mean, do you see any reading where D9 was high before CS was asserted, and then it lowers? Or in all other cases D9 was just low before?
You probably saw the answer to this yourself by now, but yes. There are cases where D9 is high at the start of the read, and goes low concurrently (within the sampling frequency error size) with F_BUS_DIR.
ijor
Posts: 547
Joined: Fri Nov 30, 2018 8:45 pm

Re: Project: HDMI/DVI out for STFM

Post by ijor »

This if for Troed, can you count the cycles it took here to access Shifter? :)
Attachments
ShifterBusCycle.jpg
ShifterBusCycle.jpg (108.18 KiB) Viewed 4189 times
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
ijor
Posts: 547
Joined: Fri Nov 30, 2018 8:45 pm

Re: Project: HDMI/DVI out for STFM

Post by ijor »

exxos wrote: Mon Dec 03, 2018 8:03 pmTOS104.
Oh, thanks, then probably the TOS version is not relevant as I thought it might be.
Smonson wrote: Mon Dec 03, 2018 8:18 pm Well we can see from the earlier scope investigation what it normally looks like, I don't think it's very likely that the timing changed somehow. Even if it did, D9 is a problem that will have caused the exact symptoms that have been observed, so the chances are very good that F_BUS_DIR is fine.
But the scope captures didn't include the F_BUS_DIR signal. And more important, we don't know if any of those captures was performed on a "bad" cycle. I am not saying it is a timing issue, probably it is not, but it would have been good to confirm with more accurate captures. The problem is that all other alternatives don't seem to be very likely either.
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
User avatar
Smonson
Posts: 714
Joined: Sat Oct 28, 2017 10:21 am
Location: Canberra, Australia
Contact:

Re: Project: HDMI/DVI out for STFM

Post by Smonson »

ijor wrote: Mon Dec 03, 2018 8:54 pm But the scope captures didn't include the F_BUS_DIR signal.
Ah, sorry, I didn't post that screenshot (we had so many already) but I did measure it myself, on good reads only. It's pretty much the exact inverse of CS but with a negligible delay. I will post it tonight when I get home.

I agree we're now looking for one of several unlikely scenarios.
User avatar
Smonson
Posts: 714
Joined: Sat Oct 28, 2017 10:21 am
Location: Canberra, Australia
Contact:

Re: Project: HDMI/DVI out for STFM

Post by Smonson »

Analogue characteristics of F_BUS_DIR during normal reads:
cs-vs-dir.png
cs-vs-dir.png (4.66 KiB) Viewed 4152 times
And D9:
cs-vs-d9.png
cs-vs-d9.png (4.49 KiB) Viewed 4152 times
ijor
Posts: 547
Joined: Fri Nov 30, 2018 8:45 pm

Re: Project: HDMI/DVI out for STFM

Post by ijor »

Smonson wrote: Tue Dec 04, 2018 10:01 am Analogue characteristics of F_BUS_DIR during normal reads:
Thanks Smonson, but this is on your system, not on one of the systems that fails, right? And again, more important, all the scope captures might be on a good read, not on a "bad" one. You cannot take for granted they would be the same. Yeah, they are not likely to be different. But as you agree, all the options are unlikely, so you have no choice but to consider the unlikely.
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
User avatar
sandord
Posts: 678
Joined: Mon Aug 13, 2018 10:08 pm
Location: The Netherlands
Contact:

Re: Project: HDMI/DVI out for STFM

Post by sandord »

I was wondering if, once this all works flawlessly, it would be possible to have the FPGA optionally output the video using a "scanline look" filter. You know, like the OSSC and the Framemeister do.
User avatar
Smonson
Posts: 714
Joined: Sat Oct 28, 2017 10:21 am
Location: Canberra, Australia
Contact:

Re: Project: HDMI/DVI out for STFM

Post by Smonson »

ijor wrote: Tue Dec 04, 2018 10:24 am Thanks Smonson, but this is on your system, not on one of the systems that fails, right? And again, more important, all the scope captures might be on a good read, not on a "bad" one. You cannot take for granted they would be the same. Yeah, they are not likely to be different. But as you agree, all the options are unlikely, so you have no choice but to consider the unlikely.
Yes, but the chances of it being different on Icky's machine are now billions to one, because Icky's board worked fine on my machine, and we've already confirmed that it resembles this scope observation on Icky's machine on his LA, and the verilog for generating this signal is straightforward, and we've already observed a different phenomena that can explain all of the symptoms (D9 being high).

I'm open to the possibility that there's something wrong with F_BUS_DIR, but the chances seem to be about as low as if aliens were doing it.
Post Reply

Return to “FPGA DEVELOPMENT”