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 2 of 29, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Guess you are not using 0.73

1+1=10

Reply 3 of 29, by milicognj

User metadata
Rank Newbie
Rank
Newbie

I'm using 0.73.

More precisely one built on 20.02.2010.

Reply 4 of 29, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Download it from www.dosbox.com

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 6 of 29, by robertmo

User metadata
Rank l33t++
Rank
l33t++

they are not

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 8 of 29, by milicognj

User metadata
Rank Newbie
Rank
Newbie

OK. Is that issue with IRET replaced with RETF planed to be solved?

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 11 of 29, by robertmo

User metadata
Rank l33t++
Rank
l33t++

can you finally get 0.73 from www.dosbox.com ??

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.

Reply 14 of 29, by Teppic

User metadata
Rank Newbie
Rank
Newbie

Same issue with Lotus: The Ultimate Challenge

My AdLib recordings

Reply 15 of 29, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Same "fix" for that "bug".

Reply 16 of 29, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

"just" the e_exit to a log_msg ?

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

Reply 17 of 29, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

If it is assumed that it was added to annoy people who use a development
build but can't post a useful bug report, then yes.

Reply 18 of 29, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

well bug reports come in a lot of flavours. 😉

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

Reply 19 of 29, by danielc

User metadata
Rank Member
Rank
Member
Qbix wrote:

{...} Hence an intentional error

Some call them cowboys; these be words of a King.

Regards,
CosmicDan