VOGONS

Common searches


First post, by Kreshna Aryaguna Nurzaman

User metadata
Rank l33t
Rank
l33t

Well, this is my first attempt to play "demanding" DOS games (SVGA, 3D) in DOSBOX. The game is Star Rangers from Interactive Magic, and since it is a space shooter game (no ground textures, for instance), I think it is not a too demanding DOS game.

Nonetheless, I set the cycles to max, and whenever I try calibrating the joystick from inside the game, they joystick never calibrates properly. Nonetheless, when I set cycle to a fixed number (say, cycles=35000), the joystick calibrates well.

And yes, I have tried both timesynched=true and timesynched=false, and it doesn't make any difference.

Is it because DOSBOX is trying to emulate gameport joystick, and gameport joystick is sensitive to changes in CPU cycles? See, I remember reading somewhere in a 1997 issue of CGW, that gameport joystick does not IRQ. Instead, its uses I/O poll, and consequentially, it is very sensitive to changes in CPU cycles. For example, if you calibrate your joystick, put your PC in hibernate, and then awaken your PC, the joystick will be out of whack and need to get re-calibrated.

Am I being correct so far? So is there any way to use cpu=max and get a joystick calibrated properly?

Oh, by the way, there is another minor problem:

# cycles -- Amount of instructions DOSBox tries to emulate each millisecond.
# Setting this value too high results in sound dropouts and lags. (unless timesynched is set)

When I set cycles=30000, I start getting sound dropouts and lags. When I set cycles=50000, the dropouts and lags are getting more severe. And yes, I set timesynched to true. So it seems setting timesynched to true doesn't solver the sound dropouts problem. What should I do, then? 😖

Oh, by the way, here's my complete CPU parameters:

core=dynamic
cycles=35000
cycleup=500
cycledown=20
timesynched=true

Never thought this thread would be that long, but now, for something different.....
Kreshna Aryaguna Nurzaman.

Reply 1 of 5, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

And yes, I set timesynched to true.

This is not an entry in the dosbox config file of the latest official release.
When reporting things please ONLY use an official dosbox installation,
preferably with an almost-unmodified config file.

Reply 2 of 5, by Kreshna Aryaguna Nurzaman

User metadata
Rank l33t
Rank
l33t

Well the .exe I downloaded doesn't come with dosbox.conf, so I'm using the one from the YKHVONG built I'd been previously using.

Never thought this thread would be that long, but now, for something different.....
Kreshna Aryaguna Nurzaman.

Reply 3 of 5, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Well the .exe I downloaded doesn't come with dosbox.conf, so I'm using the one from the YKHVONG built I'd been previously using.

Well, then you are not using the latest offcial release AND generating a default config file is easy.

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 4 of 5, by Kreshna Aryaguna Nurzaman

User metadata
Rank l33t
Rank
l33t
Dominus wrote:

Well the .exe I downloaded doesn't come with dosbox.conf, so I'm using the one from the YKHVONG built I'd been previously using.

Well, then you are not using the latest offcial release

The config file, yes, I'm not using the latest official release. But I think the .exe is the latest official release.

Dominus wrote:

AND generating a default config file is easy.

Ah, the User Profile Folder. No wonder I cannot find the dosbox.conf. Never mind, I'll try to edit the proper .conf file and be back with the result.

Never thought this thread would be that long, but now, for something different.....
Kreshna Aryaguna Nurzaman.