-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Teddybear's Revenge crashes when run from autoexec with specific vmem_delay
and cycles values
#3726
Comments
You and me, too, @PoulpSquad. 🍿 Also - That's some detective work for that cursor issue, @weirddan455! 🥳 This project just keep getting better. |
Repro steps are use this config exactly. Bug doesn't trigger is cycles are too low or
The cause is probably this line that gets run multiple times in dosbox-staging/src/hardware/vga.cpp Line 329 in 2518288
|
So video init stuff... again... 🥶 😆 |
@PoulpSquad Edited the ticket description to clarify the edge case is in fact an emulator hard crash. |
vmem_delay
and cycles values
Thank you johnnovak. |
Are you using the latest Dosbox-Staging Version?
Different version than latest?
No response
What Operating System are you using?
Windows 10
If Other OS, please describe
No response
Relevant hardware info
i7 7700K, 32GB RAM, GTX 1070
Have you checked that no other similar issue already exists?
A clear and concise description of what the bug is.
As discussed in #3723, demo "Teddybear's Revenge" crashes Staging when run from [autoexec] with vmem_delay and a high cycles value.
As a reminder, I'll paste a sample of what weirddan455 found investigating the issue discovered by interloper98:
"As for the crash on start @interloper98 found... that's a hell of an edge case you found 😉 . It's only reproducible for me if I also add the demo to my [autoexec]. One of the first things the demo does is call INT10_VideoState_Save. You've set the real mode cycles so high and also added a vmem delay so it's doing this before VGA_SetupDrawing had a chance to run for the first time. Basically, the demo started running before the welcome screen could even be shown 😉"
Grabbing popcorn, this stuff is geeky as hell and I love it!
Steps to reproduce the behaviour.
Explain how to reproduce
Download URL of affected game or software
No response
Your configuration
Provide a Log
No response
Code of Conduct & Contributing Guidelines
The text was updated successfully, but these errors were encountered: