VOGONS


Fury of the Furries stack underflow

Topic actions

First post, by milicognj

User metadata
Rank Newbie
Rank
Newbie

Whien I start the game following error message is displayed in DOSBox console window:

Error to exit: stac underflow/wrap at EXEC.

Reply 1 of 29, by milicognj

User metadata
Rank Newbie
Rank
Newbie

I'm replying on my message.
There is obviosly problem with low SP values in EXE headers. There is 0000 on 10h offset in fury.exe.

I think there is same problem in grand prix (gp.exe)

I changed SP initial value to 0040h and the game works.

But still there is a problem.

Reply 5 of 29, by milicognj

User metadata
Rank Newbie
Rank
Newbie

I thought that daily builds from http://builds.tharos-online.de/ are reliable.
I tried latest build and had the same problem.
As I know version on dosbox.com is basic 0.73 version without further changes mentioned in logs.

Reply 7 of 29, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

they are reliable, but not supported.
You are running into an intentional error

Water flows down the stream
How to ask questions the smart way!

Reply 9 of 29, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

what are you talking about ?
execute using retf is the correct way and that is what we do

Water flows down the stream
How to ask questions the smart way!

Reply 10 of 29, by milicognj

User metadata
Rank Newbie
Rank
Newbie

Maybe I misunderstood something. I realized that this caused the problem, but obviously it doesn't. Then, what causes the problem with low SP values?

Reply 12 of 29, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

the game sets very low stack values and we weren't 100% sure on how to handle the stack wrapping in that case.
So we made an exit condition there so we will get feedback on games that have that unusual low stack values in order to see which way of handling them makes them all work.
Hence an intentional error

Water flows down the stream
How to ask questions the smart way!

Reply 13 of 29, by milicognj

User metadata
Rank Newbie
Rank
Newbie

OK. Thanks.
I'll report about it if it happend again.

P.S. I don't need to download anything from www.dosbox.com because i have changed initial SP value in exe header and the game works. I was just interested in the issue.