Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about M68K_EMULATE_ADDRESS_ERROR #28

Open
dirkwhoffmann opened this issue Mar 29, 2019 · 5 comments
Open

Question about M68K_EMULATE_ADDRESS_ERROR #28

dirkwhoffmann opened this issue Mar 29, 2019 · 5 comments

Comments

@dirkwhoffmann
Copy link

I've did some performance profiling with vAmiga and found out that 80% of total computation time is consumed by Musashi 😳.

Screenshot 2019-03-29 at 15 22 13

65% is consumed by setJmp() which is called if M68K_EMULATE_ADDRESS_ERROR is enabled. I've seen that Omega also has this option enabled. Did you experience a similar issue? If not, there must be something terribly wrong with me system settings.

@dirkwhoffmann
Copy link
Author

If I disable M68K_EMULATE_ADDRESS_ERROR, vAmiga runs at 75 MHz in warp mode 😎.

@mithrendal
Copy link

dirk, you better fasten your seat belt now....

@h5n1xp
Copy link
Owner

h5n1xp commented Mar 29, 2019

Just tested, my CPU is lock step with the screen refresh so it never goes too fast (you can increase the cpu time slice in my cpu_execute function if you need more CPU to DMA time, I have it at 16 instructions to one DMA at the moment).

But I have to say Address_error option off has reduced the CPU load massively... and testing some code in Blitz has shown that your testing is correct, there is almost no limit to the performance! No program I have tested slows the emulator down 😮

Omega can now claim to be the lowest resource using Amiga emulator, if nothing else 😆

I have two reason to celebrate today, this speed boost and “No Brexit Day”... we celebrated with lunch at a Bavarian Beer House
0584DFE9-EA1C-4CD0-83DA-B63A54C3265A

@dirkwhoffmann
Copy link
Author

Amazing, I had the same beer yesterday 😅.

It's really delicious, but I wonder what the brewery's putting in there. If I drink more than one, I get a hangover.

@h5n1xp
Copy link
Owner

h5n1xp commented Mar 31, 2019

My friend calls the Dunkle Weissbiers “Hangover Juice”! I love them 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants