VOGONS


First post, by Fr0stY

User metadata
Rank Newbie
Rank
Newbie

I just finished a school project where i had to develop a game. The game runs on windows perfectly however i get a SIGSEGV error when i run it on DosBox. What could possibly cause it to crash on DosBox and not on Windows? I want it to run on dosbox because i don't really feel like installing win98 everytime i want to play the game :p

Thanks in advance.

Reply 1 of 11, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

does it run in DOS?

Reply 2 of 11, by jal

User metadata
Rank Oldbie
Rank
Oldbie
Fr0stY wrote:

i get a SIGSEGV error when i run it on DosBox.

See wd's question. Also, does DOSBox crash with a SIGSEGV, or your app? The latter seems unlikely, as it is a POSIX signal.

JAL

Reply 3 of 11, by Fr0stY

User metadata
Rank Newbie
Rank
Newbie

My app crashes on dosbox. Never tried it on dos though, only Win98. I think it might have something to do with graphic memory.

Reply 4 of 11, by jal

User metadata
Rank Oldbie
Rank
Oldbie
Fr0stY wrote:

My app crashes on dosbox. Never tried it on dos though, only Win98. I think it might have something to do with graphic memory.

Well, since it is your game, you should be able to debug it? Very probably, there's a bug in your game, not DOSBox.

JAL

Reply 5 of 11, by butterfly

User metadata
Rank Member
Rank
Member

If the game has a free license, would you care to share it?

Reply 6 of 11, by Fr0stY

User metadata
Rank Newbie
Rank
Newbie

Well it might be a bug but it runs on win98. I could share the source code but it might boring for you guys to check it since the vars and stuff are written in portuguese :p and i'm still a student so my programming skills are that great 😁 don't want to share my headaches with anyone :p

Reply 7 of 11, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

well the exe might be enough. We rarely have the source code of those hundreds of games we debugged.

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

Reply 8 of 11, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

There's some extender that is known to only work under win9x systems
as it is buggy on non-dpmi systems (ie. real dos and dosbox).

Reply 9 of 11, by Fr0stY

User metadata
Rank Newbie
Rank
Newbie

here goes the game then. it is a stepmania/guitar hero kind of game :p with songs played on the pc speaker xD

btw, the game is also in portuguese, so if you get to test it: "jogar" is play, "velocidade" is speed and "recomendado" is recommended.

Reply 10 of 11, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

create an empty file po.dat
the game appears to want that.
not sure if we give a wrong errorcode or so

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

Reply 11 of 11, by Fr0stY

User metadata
Rank Newbie
Rank
Newbie

ok! one problem seems to be ruled out! really stupid of me :x i forgot to add that file. it has character definitions for writing text in graphic mode. its something the teacher gave us.
I can already see the menus, however i'm getting errors when I read the files. I'm attaching the zip with po.dat. One of the songs i get a SigSegv error, the other one is a file error when i read the file. Thanks a lot for the help so far 😀