First post, by chyang
hi, all:
After some efforts, I have made it run successfully with my private SDL. Now the SDL works great. But there are some problems inside dosbox 0.63.
After dosbox shows, the screen will fast blink as if someone is typing space quickly, screen will scroll and cannot get anything input.
I used gdb to track the problem, to now, the internal execution seems to be wrong with my compiled dosbox, the program stuck on the command input part, but every time it gets from input, the character will be char 255. Further trace found that the call in dev_con.h/device_CON::Read's call to CALLBACK_RunRealInt(0x16) won't execute correctly, it will be interpreted as ret=1 while in fact it should be ret=17 in Normal_Loop() line 124.
I added a quick hack, inserted when the ret returns 1 reassign it to 17, it solves the problem but it won't get any input after the dosbox initialization finishes. I suspect the keyboard's interrupt handler is not set correctly.
I do suspect it would be a compiler problem, since my arm compiler is a little outdated, while rebuild 3.4.4/4.0.0 for native arm neither work for me. 🙁
Any similar reports?
Thanks.
--
Chen