|
Post by willymanilly on Apr 11, 2023 16:33:36 GMT
With April 12th update Z64K seems to give a stable result (1 MHz, VIC enabled) 11.019043; real hw fluctuates a bit, but the average seems pretty close. I had to sacrifice a little bit of accuracy so other things didn't break. I have a hack in my development environment that fixes the minor timing issues and behaves more like real hardware without breaking anything else, but it is very messy at the moment and probably will not be accurate in other edge cases. More investigations will need to be done before I release a more accurate version.
|
|
|
Post by willymanilly on Apr 12, 2023 22:18:45 GMT
I've been able to improve Z64K's timing when 40 column mode is enabled without breaking anything. Z64K behaves like real hardware with fluctuating results now.
|
|
|
Post by jusalak on Apr 13, 2023 14:45:00 GMT
Now there seems to be a consistent 1 cycle difference with the original test and also 2 MHz modified test (result = 10.5058594). Earlier these were in precise agreement with real hw.
|
|
|
Post by willymanilly on Apr 13, 2023 16:20:02 GMT
Now there seems to be a consistent 1 cycle difference with the original test and also 2 MHz modified test (result = 10.5058594). Earlier these were in precise agreement with real hw. Fixed in latest release. The 1 cycle off was related to when the CIA etc. responds to the Z80 port instructions.
|
|
|
Post by jusalak on Mar 29, 2024 15:23:52 GMT
VICE just got an update (r45045) which dramatically improves accuracy.
|
|
|
Post by nikoniko on Mar 30, 2024 15:54:04 GMT
Nice. Out of curiosity, have you ever tested kernal64's C128 emulation? I don't know much about the emulator, but it sounds interesting from the Github page. github.com/abbruzze/kernal64
|
|
|
Post by jusalak on Apr 25, 2024 20:23:01 GMT
VICE z80 accuracy has been improved a lot, cycletimer test result is now (with r45138) 10.5058594, very close to real hw value.
CP/M MBASIC loop
10 for f=0 to 50000 20 next f
took 2:49 on Z64K and VICE r45138, with the "official" VICE 3.8 the loop took 2:59.
I tried also Kernal64, that gave 3:14. Kernal64 z80 emulation is not cycle accurate, but seems to be a good emulator overall. Better open a new topic on it.
|
|