mist-devel / c64

C64 core
12 stars 13 forks source link

Backport Dolphin DOS parallel cable support from MiSTer #7

Closed egrath closed 1 year ago

egrath commented 1 year ago

Would it be possible to backport the parallel cable and ram extension from MiSTer's 1541 implementation to the MiST? This would speed up disk loading for people who don't own JiffyDOS as their kernal/drive rom replacement significantly.

Julitium commented 1 year ago

Hi. Perhaps you can achieve this by making a rom file and substituting the appropriate images. All the best.

egrath commented 1 year ago

My intent is to use DolphinDOS as the Kernal for the C64 and the 1541. For performance reasons, DolphinDOS used a parallel cable between the userport and the 1541. JiffyDOS is slightly slower and in addition is not freely available - but it does not need a cable and currently works as expected in FPGA64. Fastloaders like the FC3 cartridge only accelerated the load of the first PRG from disk, not subsequent loads, so they are more like a workaround and were previously used mostly by C64 owners who didn't wanted to solder in new ROMS.

gyurco commented 1 year ago

I checked the schematics of Dolphin DOS 3.0 expansion, if the 8K RAM extension fits, then it's doable.

Julitium commented 1 year ago

Hi. There was also an 8K upgrade called RAMBOard. Although there is very little software that takes advantage of it, it may be easy to add it. all the best

egrath commented 1 year ago

To document the potential performance gains which would occur if implemented i attached some screenshots comparing the various methods currently available.

Stock configuration speed_stock

JiffyDOS 6.01 (kernal/drive roms), currently possible on FPGA64 speed_jiffy601

Action Replay 6 (stock kernal/1541; cartridge attached), currently possible on FPGA64 speed_actionreplay6

DolphinDOS 2.0 (kernal/drive roms and parallel cable), currently NOT possible speed_dolphin2

Clearly, DolphinDOS excels in every category and makes disk access a breeze. The program used was the 64er Magazine Speed-Test: speed-test.zip

gyurco commented 1 year ago

I took a closer look at this, and unfortunately the 1541 ROM also expanded to 32K (Dolphin DOS uses 24K only). That means this addition would require +14K more BRAM, which is very close to what's available.

egrath commented 1 year ago

Even if it might fit, it's probably better to not implement it, as this would leave to little free LUs for potentially needed future bugfixes and more urgently needed additions.