Search found 234 matches
- Tue Aug 12, 2014 6:54 pm
- Forum: UMDK
- Topic: UMDK Manufacture: who wants one?
- Replies: 170
- Views: 164529
There is no facility currently to debug Z80 with breakpoints, etc. Such a thing may be possible but I personally concentrated on the 68000. There are some games where the music stops when the 68000 hits a breakpoint (I guess where the 68K is feeding the Z80 with notes to play), and there are others ...
- Tue Aug 12, 2014 6:49 pm
- Forum: UMDK
- Topic: win32/64 software ?
- Replies: 2
- Views: 7667
- Sun Jun 29, 2014 6:29 pm
- Forum: Megadrive/Genesis
- Topic: Sonic 1 Bus-Cycle Tracing Example
- Replies: 19
- Views: 12415
SDRAM may not work at 53MHz? really? lol As I've mentioned before, SDRAM is optimised for throughput, not latency. Achieving tight latency requirements, even those of the lowly MegaDrive, is non-trivial. It always comes down to a delicate balance between clock-speed and the timings in the SDRAM dat...
- Sun Jun 29, 2014 3:44 pm
- Forum: Megadrive/Genesis
- Topic: Sonic 1 Bus-Cycle Tracing Example
- Replies: 19
- Views: 12415
Yep, another complexity to take into account. Let's step back a bit. The ultimate objective is to switch the timestamp for each bus transaction in the trace-log from a 48MHz counter to the 7.6MHz VCLK. There are two proposed solutions, both of which are functionally identical (i.e from a user's pers...
- Sun Jun 29, 2014 5:17 am
- Forum: Megadrive/Genesis
- Topic: Sonic 1 Bus-Cycle Tracing Example
- Replies: 19
- Views: 12415
- Sat Jun 28, 2014 11:45 pm
- Forum: Megadrive/Genesis
- Topic: Sonic 1 Bus-Cycle Tracing Example
- Replies: 19
- Views: 12415
Right, but you can't know where in the VCLK period the VCLK-synchronous signals from the MD actually transition: there's no guarantee you won't get metastability problems. So you have to treat the multiplied clock like an asynchronous clock anyway. So why not avoid the complexity and just use the 48...
- Sat Jun 28, 2014 10:39 pm
- Forum: Megadrive/Genesis
- Topic: Sonic 1 Bus-Cycle Tracing Example
- Replies: 19
- Views: 12415
So I just checked the Spartan-6 coregen thing and I was wrong - the DCM can sync down to 5MHz, provided you have an integer multiplier. But since the result is effectively an asynchronous clock anyway, it still makes more sense to just keep the one 48MHz core clock and synchronise VCLK to that, I th...
- Sat Jun 28, 2014 10:23 pm
- Forum: Megadrive/Genesis
- Topic: Sonic 1 Bus-Cycle Tracing Example
- Replies: 19
- Views: 12415
Yeah but the only MD clock available is the 7MHz clock, no? And if you can't multiply it, there's no way to clock the SDRAM fast enough. And if you can multiply it, then it's a multiplied clock to which nothing is synchronous anyway (therefore everything would need to be explicitly sync'd to it with...
- Sat Jun 28, 2014 9:35 pm
- Forum: Megadrive/Genesis
- Topic: Sonic 1 Bus-Cycle Tracing Example
- Replies: 19
- Views: 12415
- Fri Jun 27, 2014 2:53 pm
- Forum: UMDK
- Topic: USB MegaDrive DevKit
- Replies: 28
- Views: 31301
Actually, that question could do with further elaboration. I can see how extra RAM would be useful in a traditional development environment, where the only way of tracing what's going on is to write log information and metrics to some extra RAM and then read it back later for analysis. But if you ha...
- Fri Jun 27, 2014 2:33 pm
- Forum: Megadrive/Genesis
- Topic: Sonic 1 Bus-Cycle Tracing Example
- Replies: 19
- Views: 12415
There is only one "free" FPGA I/O, and that is the one currently connected to the (unpopulated) DTACK transistor. You could re-route VCLK (via an unused level-shifter channel) to the FPGA like that. You should probably look at the 48MHz timestamps to test the assumption that all reads & writes (incl...
- Fri Jun 27, 2014 2:23 pm
- Forum: UMDK
- Topic: Feasibility of making a Master System bridge board?
- Replies: 1
- Views: 7109
- Thu Jun 26, 2014 8:57 pm
- Forum: Megadrive/Genesis
- Topic: Sonic 1 Bus-Cycle Tracing Example
- Replies: 19
- Views: 12415
Sonic 1 Bus-Cycle Tracing Example
As some of you are aware, thanks to KanedaFr, the USB MegaDrive DevKit now has its own forum here on SpritesMind ! I thought I'd post here an example of the UMDK bus-cycle trace, gathered from running Sonic 1 for a little over 18 seconds, from reset. I could sample all day without filling up my hard...
- Thu Jun 26, 2014 7:39 pm
- Forum: UMDK
- Topic: Questions...
- Replies: 9
- Views: 12166
- Thu Jun 26, 2014 7:21 pm
- Forum: UMDK
- Topic: Questions...
- Replies: 9
- Views: 12166
It's a two-board setup because the FPGA board is general-purpose; I designed it so it can be used in several other projects (I'm only tangentially interested in the MD). I have not seen evidence of /OE held low for multiple addresses. If you give me some code that does it I'd be happy to run it and ...