Open ykmv opened 3 years ago
In addition to wrong ROP behavior, I'm noticing that the game is not horizontally scrolling sprites either. Horizontal motion is choppy (as if constrained to a 16x1 grid). I'm aware EGC hardware supports a sort of hardware planar bit delay for scrolling. It's not often used but I've seen it used by at least Touhou Project 3 for the title screen and sprite rendering in-game. Perhaps the game is doing a check to determine if that is supported, that DOSBox-X is failing to fullfill?
I have compiled dosbox-x from the master branch(latest commit at the moment of compilation c8c61f0
) and now Atomic Punker works fine, except sometimes the game freezes(video with freeze,second video with freeze). When the game freezes emulator outputs this in the log:
LOG: 2644251197 ERROR CPU:Illegal Unhandled Interrupt Called 5
LOG: 2644251200 ERROR CPU:Illegal Unhandled Interrupt Called 5
LOG: 2644251218 ERROR CPU:Illegal Unhandled Interrupt Called 5
LOG: 2644251221 ERROR CPU:Illegal Unhandled Interrupt Called 5
LOG: 2644251224 ERROR CPU:Illegal Unhandled Interrupt Called 5
LOG: 2644251227 ERROR CPU:Illegal Unhandled Interrupt Called 5
Is the game using the BOUND instruction?
I saw it too if I shot and destroyed a particular ship shooting only at the right side of it.
https://www.felixcloutier.com/x86/bound
https://web.archive.org/web/20211101191333/https://wiki.osdev.org/Exceptions
Code of Conduct & Contributing Guidelines
Have you checked that no other similar bug report(s) already exists?
What operating system(s) this bug have occurred on?
Arch Linux
What version(s) of DOSBox-X have this bug?
0.83.18 SDL1
Describe the bug
I wanted to play game called Atomic Punker but it didn't work well. It appears there's an opcode that needs to be implemented. Video showcasing wrong emulation of Atomic Punker
Expected behavior
Video showcasing proper emulation of Atomic Punker
Steps to reproduce the behaviour
Used configuration
Emulator log
Additional context
No response