VOGONS


Silent Service 2

Topic actions

First post, by swellFella

User metadata
Rank Newbie
Rank
Newbie

As a total red faced nooby, I have suprisingly been able to follow along enough to get dosbox installed and SS2 to run...almost.

At the opening screen I am asked if I have a joystick. I say, yep, and follow directions until I come to hitting enter to run the game. Then I get this:

run-time error R6003
- integer divide by 0

run-time errror R6001
- null pointer assignment

And I am totally lost. A little help please.

No hope ever comes to those who don't believe

Reply 1 of 11, by Zup

User metadata
Rank Oldbie
Rank
Oldbie

The first one sounds like you're overspeeding. Try using cycles=...

I have traveled across the universe and through the years to find Her.
Sometimes going all the way is just a start...

I'm selling some stuff!

Reply 2 of 11, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

[Moved]

Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
8 GB GeForce GTX 1070 G1 Gaming (Gigabyte)

Reply 3 of 11, by swellFella

User metadata
Rank Newbie
Rank
Newbie

Grats for the replay Zup. I navigated to the conf file and adjusted the cycles up and down. No change. I then dwnld the helpful FAQ file. Uh uh. Then, I searched the forum. I take it my total ignorance of the medium and the jargon, coupled with my impatience gets in the way of understanding. But I was unable to identify anything related to the issue at hand. I know you guys grow weary of catering to us complete noobys who haven't a clue, but I'd appreciate it if one of you could sort of nudge me in the direction of a possible remedy. It seems like a neat game, and I'd like to give it shot if I could get the sucka loaded. Thanks.

No hope ever comes to those who don't believe

Reply 4 of 11, by TeaRex

User metadata
Rank Member
Rank
Member

This error comes from a program compiled with the Microsoft Quick C compiler. As already mentioned, it is usually caused by the following construct which tests a computer's speed:

read hardware timer

idle loop a couple of thousand times

read hardware timer again

divide "a couple of thousand" by the difference of the two timer values to find out how many loops fit into e.g. one millisecond; later in the game the idle loop is run that many times per millisecond of the intended waiting time.

Now if the timer doesn't advance even one full tick during the loop (because the loop is over too quickly), the division will be by zero and thus fail.

Have you made sure

1.) that the conf file you're editing is the one that's actually being used? Change something with obvious effects (such as fullscreen=) to find out. Editing the wrong file once cost me an hour of head-scratching when I was new to DOSBox.

2.) whether the problem happens only with a joystick attached? Maybe the joystick timing loop is the culprit?

3.) that you went low enough with cycles= ? Try 300 or so for that genuine 1981 experience...

For programs compiled with Turbo Pascal there exists a fix for this problem, but unfortunately I'm not aware of a fix (except for slowing down your system) that works for Quick C programs. Yes, I know this post is not as helpful as you'd probably like it to be.

tearex

Reply 5 of 11, by swellFella

User metadata
Rank Newbie
Rank
Newbie

The fact that you took the time and interest to reply is appreciated. Much of what you say is a mystery. But you've given me the moxie to not give up. I will get this game running. If one person can do it, so can I. It's all a matter of taking the time and patience to search, study, experiment, and persist. ...And persist. Thank you.

No hope ever comes to those who don't believe

Reply 6 of 11, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I just tried the game and it worked (no changes to dosbox.conf)

could you asnwer the question do you have a joystick with no
and if it still doesn't work
post the contents of Silent.bat

Mine are:

SS2 VGA IBM 720

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

Reply 7 of 11, by swellFella

User metadata
Rank Newbie
Rank
Newbie

Pardon my ignorance. My delay in repling was due to my being unable to locate and display the contents of slient.bat. Could you give me hand?

No hope ever comes to those who don't believe

Reply 8 of 11, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

inside dosbox when in the ss2 directory type

type silent.bat

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

Reply 9 of 11, by swellFella

User metadata
Rank Newbie
Rank
Newbie

Mission Accomplished!

...I'm up and roooling! What a cool feeling of connection! Althoug I'm sure many of the things I attempted had no effect in the eventual success (such as compatibilty: win95, 256 colors), the money move was loading silent instead of ss2:

mount C C:\dosgames
C:
cd ss2
silent (before, I put ss2)

When you realize I'm a 60 yer old guy who's attempting to capture a mispent childhood by getting into comp games, particularly dos stuff, you can imagine my elation--or maybe you can't. But it's real! Now if I can just get down the sound, gameplay features (joystk config, control keys, etc.), I'll go and slug back a shot of V8 juice, maybe even add a slice of lemon--that's what I call livin' large! Thanks so much Tea, Q-

No hope ever comes to those who don't believe

Reply 10 of 11, by TeaRex

User metadata
Rank Member
Rank
Member

No problem man, but the honor must really go to the DOSBox developers. When you know how to read source code a bit this thing becomes all the more amazing. That dynamic core is about as hardcore as coding gets (from my admittedly limited experience).

tearex

Reply 11 of 11, by swellFella

User metadata
Rank Newbie
Rank
Newbie

It's a journey I look forward to with great relish...😊

No hope ever comes to those who don't believe