randyrossi / bmc64

A bare metal Commodore 64 emulator for the Raspberry Pi with true 50hz/60hz smooth scrolling, low input latency and better audio/video sync.
GNU General Public License v3.0
479 stars 56 forks source link

[FR] C64DTV support #129

Open SvOlli opened 4 years ago

SvOlli commented 4 years ago

It would be nice to also have the C64DTV port included into this bundle as well. There are quite a couple of nice demos available, than only run on a DTV.

And as of now, the modded C64DTVs don't seem to last forever. This would be an adequate way to get a replacement, especially when put into the C64 case.

I'd contribute to this effort, but it's hard to get a foot in the door when neither accustom to bmc64 nor vice. There is some stuff I figured out already, like

But that's most probably not all, since at least the question "how to adapt the Makefile-C64DTV?" is open.

lroby74 commented 4 years ago

I've asked same things some weeks agò..

SvOlli commented 4 years ago

Today, I spent some time on trying to accomplish this. I managed to climb over some hurdles, like getting the basic libraries and stubs built.

But at some point I realized I need to make heavy changes to the code: the DTV differs from the original Commodore machines in ways that it's not only an expanded clone of the C64, but also missing quite a couple of features, like tape, userport and cartridge connectors, and with them, their functionality. But BMC64 has hardcoded tape und cartridge configuration support in the menu code share with all emulators.

So adding before adding DTV support, I'd need to do some heavy refactoring of the BMC64-specific code. And I'm not sure if that's really worth the effort, since the DTV emulation is not perfect, and I can still run x64dtv on a PC.

If anyone wants to join in the effort, I'm happy to help and do a share of the work, but I'm most probably not doing it alone.