VOGONS


First post, by Turrican

User metadata
Rank Newbie
Rank
Newbie

Hi!

I'm one of the developers of turrican 2, which does not work with DOSbox, so here are some hints to get it running:

1. SMSW ax should return that the 386 is not in V86 mode (bit 1)
2. XMS handler must be installed
3. It must be possible to load the Descriptorcaches with
cli
mov al, 80h
out 70h, al
lgdt descriptor...
mov eax, cr0
or eax, 1
mov cr0, eax
4. Turrican uses a Realflat model, so it might be enough to ignore this commands (3) and enable the 0x66 opcode prefix to address the whole 4 GB of memory.

It would be very nice if you support this 😀

Greets,
Sebastian.

Reply 1 of 12, by Turrican

User metadata
Rank Newbie
Rank
Newbie

Hi!
Just realized that Turrican is working with the current CVS version, just some sound problems with the soundblaster support!!!
Gameplay works PERFECTLY!!! I'm REALLY impressed.

Maybe I'll contribute some work to the SoundBlaster emulation or write another MSD (Music System Driver) for Turrican to work in DOSBox with finest Quality 😀

Greets,
Sebastian.

Reply 2 of 12, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

We would appricate that.
We got mysterious crashes with soundblaster sometimes
(irq related)

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

Reply 3 of 12, by icemann

User metadata
Rank Member
Rank
Member

Woah. One of the actual developers of a game helping out with an emulator. Now theres somethin you don't see everyday 😀 (first case I`ve ever heard of it).

Reply 4 of 12, by Snover

User metadata
Rank l33t++
Rank
l33t++

You haven't been keeping up with ScummVM and Beneath a Steel Sky by Revolution, have you? 😉

Yes, it’s my fault.

Reply 5 of 12, by murlock

User metadata
Rank Newbie
Rank
Newbie

I've somes curious colors with Turrican II only in windowed mode (and not with others games) and current CVS. In full screen, colors are ok

screenshot

turrican.jpg

my 2 cents,

Murlock

Reply 6 of 12, by Harekiet

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Looks kinda funky 😜

Reply 7 of 12, by Snover

User metadata
Rank l33t++
Rank
l33t++

Whoo, psychadelic man...

Yes, it’s my fault.

Reply 8 of 12, by Nicht Sehr Gut

User metadata
Rank l33t
Rank
l33t

Apparently it doesn't like the technique it's using to produce a "copper-list" display.

Reply 9 of 12, by RoKo

User metadata
Rank Newbie
Rank
Newbie

Me and another Turrican fan (the mighty Bronko) tried to get Turrican 2 working in DosBox (and also in the latest CVS version, no difference).

I think, we found out some interesting things:
At first, the game slowly shows the Turrican logo in a wrong palette - originally it does not do that.
When the start screen or a new level is loaded, DosBox likes to hang (for me it always did, for Bronko it worked sometimes).
The workaround: If the game seems to hang, decrease cycles to 1, then increase them back to the normal amount -> and the game goes on. Funny thing.
Something else, I realized, while I tried to start Turrican 2:
DosBox' env vars are case sensitive - that's wrong. I changed Program::SetEnv (in misc/programs.cpp) to fix this:

#include <ctype.h>
#include <string>

.
.
.

bool Program::SetEnv(const char * entry,const char * new_string) {
PhysPt env_read=PhysMake(psp->GetEnvironment(),0);
PhysPt env_write=env_read;
char env_string[1024];
do {
MEM_StrCopy(env_read,env_string,1024);
if (!env_string[0]) break;
env_read+=strlen(env_string)+1;
if (!strchr(env_string,'=')) continue; /* Remove corrupt entry? */
if ((strncasecmp(entry,env_string,strlen(entry))==0) &&
env_string[strlen(entry)]=='=') continue;
MEM_BlockWrite(env_write,env_string,strlen(env_string)+1);
env_write+=strlen(env_string)+1;
} while (1);
/* TODO Maybe save the program name sometime. not really needed though */
/* Save the new entry */
if (new_string[0]) {
/* env vars are case insensitive */
std::string bigentry(entry);
for (std::string::iterator it = bigentry.begin(); it != bigentry.end(); ++it) *it = toupper(*it);
sprintf(env_string,"%s=%s",bigentry.c_str(),new_string);
MEM_BlockWrite(env_write,env_string,strlen(env_string)+1);
env_write+=strlen(env_string)+1;
}
/* Clear out the final piece of the environment */
mem_writed(env_write,0);
return true;
}

Reply 11 of 12, by keropi

User metadata
Rank l33t++
Rank
l33t++

You wrote turrican 2 for pc???
I hail you! An EXCELLENT CONVERSION! You guys rocked!
I had many happy hours with T2 on my 386sx 😁
THANK YOU!

Reply 12 of 12, by Joeyxp2

User metadata
Rank Newbie
Rank
Newbie

I am trying to get this game to work. I am getting gibberish and weird colors on my screen when I am trying to run the game with Dosbox. Is there a guide or a couple of steps to get the game working? I would really appreciate it.