VOGONS


Popcorn (Breakout-like)

Topic actions

First post, by Ooops

User metadata
Rank Newbie
Rank
Newbie

Hello.

I've been trying to make Popcorn, a Breakout-like that was released as a freeware back in the 80's, run satisfyingly.
I read it was made for IBM AT/8MHz machines and therefore used Mips to get the right number of cycles (about 1000).
The problem is that it gives a perfect speed when playing, but is incredibly slow whenever the ball is not on the screen (death animation, menus...)
If I change the cycles to, say, 7000, menus and animation look about right, but the actual game becomes too fast and is unplayable.

Popcorn is marked as perfectly playable in the Dosbox database so I suppose I must be doing something wrong (I'm pretty new to Dosbox, except for prevonfigured games found on Gog.com)

Any help would be appreciated.

Thanks.

Reply 1 of 4, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The POPCORN.DOC file that should be included with the game explains what you need to do, although it's in French if you don't have a translated copy.

Run the POPSPEED.EXE program with a parameter to set the game speed (e.g. "POPSPEED 1000"). The speed value is only set in memory, not recorded on disk, so you have to run POPSPEED once in each session before running the game. The speed value has always been something you have to experiment with to find your prefered speed, but of course the speed you get is also relative to DOSBox's cycles setting.

Note that POPSPEED passes the speed value to the game in an unusual way: in the offset of the INT 68h vector. Because of the initial vector DOSBox has for INT 68h, the default speed value used in the game is 4192 if you don't run POPSPEED.

Reply 2 of 4, by Ooops

User metadata
Rank Newbie
Rank
Newbie

Thanks for your advices

Unfortunately, using pop speed has exactly the same effect than playing with DOSbox's cycles to me: the non-game animation speed seems to be completely disconnected to the game speed.
Either I can play at the right speed, but have to wait several minutes for the main menu animation to play out, or I get normal menu animation, but the game in unplayable fast. 🙁

By the way, when the cycles are adjusted for the game, I can make the non-game animations behave correctly by using alt-F12 (unlock speed). It's like the game detects my actual PC speed at that time and adjusts to it (then getting slowed down by DOSbox's cycles settings), but the game section doesn't. Weird.

Reply 3 of 4, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

It's quite playable for me with cycles=300, popspeed 100. I'm not sure what to expect from the title/menu animation speed, but the pixel shower off the paddle and the horizontal scrolling message seem to be at proper speed. The game does check for vertical retrace, so there may be a slight speed difference depending on machine type (60 Hz for CGA, 70 Hz for VGA).

Reply 4 of 4, by Ooops

User metadata
Rank Newbie
Rank
Newbie

Thanks again.
I do get soemthing much better using your settings.

I find it strange though: popspeed has no effect whatsoever on the ball speed, only on the rest of the animations. the ball speed in only dependant on the cycles.