dirkwhoffmann / virtualc64

VirtualC64 is a cycle-accurate C64 emulator for macOS
https://dirkwhoffmann.github.io/virtualc64
Other
356 stars 33 forks source link

WeComeInPeace.d64 not working #320

Closed AdamBazaroff closed 6 years ago

AdamBazaroff commented 6 years ago

Great emulator! But it can’t run some new demos :( For example WeComeInPeace.d64. After RUN it’s load and load and load... from floppy VICE users says me it’s because no «true drive emulation». Howto do it?

Ottavius commented 6 years ago

Hi AdamBazaroff,

I just tried today all what you said ! Yes, using Vice if you load WeComeInPeace.d64 with "True Drive Emulation ON"- it works. If one load and run WeComeInPeace.d64 without the "True Drive Emulation" [OFF] it does not load data from .d64 and it hangs like VirtualC64.

I do not know the meaning of this option but WeComeInPeace.d64 is the first disk that do not work with my VirtualC64...

AdamBazaroff commented 6 years ago

Many big demos for C64 won't run in VirtualC64 :( This is big problem, because VICE for Mac is very ugly.

dirkwhoffmann commented 6 years ago

Drive emulation is still somewhat limited in VirtualC64. In 1.10, emulation of both VIA chips has been improved considerably (nearly all VICE tests are passed), but the rest is still far less accurate than the emulation in VICE or Hoxs64.

dirkwhoffmann commented 6 years ago

I changed the title, so we can keep an eye on this specific demo.

Alessandro1970 commented 6 years ago

Hello to all, if someone else is interested in trying this demo, it can be downloaded at this address:

WeComeInPeace.d64 http://csdb.dk/release/download.php?id=201985

Alessandro1970 commented 6 years ago

Good morning, I also tried the following demo but it does not work. I noticed that on VICE 3.1 of a friend of mine with the "TRUE DRIVE EMULATION" option on it works correctly; but if we remove the "TRUE DRIVE EMULATION" option the VICE does not load the demo.

Is it possible for you to import the routines related to the "TRUE DRIVE EMULATION" from the VICE and insert them in the VIrtualC64 code ?

Demo [Incoherent Nightmare]: https://csdb.dk/release/?id=151257

puleyo commented 6 years ago

Hello, I tried the Redefinition demo but it does not work; using VICE 3 on my Mac only works if True Drive Emulation is enabled. Also I would be very happy if you can implement this option in the VirtualC64 that for mac is the maximum. Thank you

https://csdb.dk/release/?id=130309

dirkwhoffmann commented 6 years ago

Enabling TRUE DRIVE EMULATION in VICE simply means to disable all speed optimizations (hence, to emulate as accurate as possible). Porting this option would be equivalent to porting the whole VICE code which is not possible because the two emulators are very different internally.

Ottavius commented 6 years ago

... could be the problem that in the emulator there is no option to read floppy disks images using 40 track ? I noticed, I believe, that VirtualC64 can not access the disk image when the demo starts. It seems that this demo accesses the disk to load data frequently. Bye

Alessandro1970 commented 6 years ago

It could be that the demo is structured on the floppy with files hidden in a "linear" way for the loading order. It could be a way to work that will be the same as the next file but maintaining an exact position from which to read the new file, and the emulator could not know where to read or where to start reading.

Ottavius commented 6 years ago

Is it possible that the problem to emulate this demo is only a multiload system error ?

dirkwhoffmann commented 6 years ago

In version 2.1, the following demos will load smoothly:

We come in peace Redefinition Incoherent Nightmare

nightmare

The new source code is already checked in. However, the drive emulation is still far from being perfect. E.g., all copy protection mechanisms that manipulate the density of the disk bit stream (physical length of a single bit on disk) won't work.

Alessandro1970 commented 6 years ago

Great, I do not look forward to try this new version! Thank you.

dirkwhoffmann commented 6 years ago

V2.1 is online