apartmentEmulator / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

BattleTanx doesnt boot up #277

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Describe your system:
 - Linux distribution: Debian
 - Machine type: 64-bit (Pure interpreter)
 - Mupen64Plus version: svn 1411
 - Plugins used: rice, jttl_audio

For visual artifacts, give:
 - BATTLETANX', CRC e7dda46ae7f4e2e3-45, 3406A505C22BAC2F40D9BFC6FF08CF86

Describe the problem:
Stops to boot somewhere at address 0x80000154 - it doesn't real stops, but
after execution this opcode pj64 can also not boot anymore.

80000154 sllv $t6, $v0, $v1

V0 is FFFFFFFF8C6201B8
V1 is 0000000000000018
T6 is FFFFFFFF80280180
after the command it is 
      FFFFFFFFB8000000

The execution looks relative ok. Decoding is right, execution is right,
sign extending is right - as far as I can see. This is the 121327. time
this position was executed.

Savestate right before the interesting command can be found at
http://www.mediafire.com/?zo3twmxzgd3

Original issue reported on code.google.com by sven@narfation.org on 30 Sep 2009 at 7:17

GoogleCodeExporter commented 8 years ago
Judging by the PC (0x80000154) and assuming the game's entry point is 
0x80000400, that 
would make this code from part of the game's bootup code (a problematic area 
for 
emulators), correct? Don't know if it has any relevance, but I think it's worth 
pointing out.

So Battletanx fails to start in both Mupen64+ and Project64? Are there any 
emulators it 
*does* work on? If it works in MESS, MAME, or another LLE, it could be a bug in 
hardware emulation.

Original comment by zzt...@gmail.com on 1 Oct 2009 at 6:29

GoogleCodeExporter commented 8 years ago

Original comment by richard...@gmail.com on 13 Jan 2010 at 1:18

GoogleCodeExporter commented 8 years ago
I only found an hack by changing the counter. So it looks like a timing 
problem. The hack was only done for the default emu modes (it is only a test... 
so newdynarec would just make it more complicated without a benefit).

Timing is always problematic because the pipeline is not emulated and therefore 
timing is more guessing than anything else.

Original comment by s...@narfation.org on 21 Jul 2013 at 11:31

Attachments:

GoogleCodeExporter commented 8 years ago
This game needs a CountPerOp setting of 3 in the mupen64plus.cfg Core section. 
The patch to make this setting usable will be sent as pull request to Richard 
soon

Original comment by s...@narfation.org on 13 Dec 2013 at 2:06

GoogleCodeExporter commented 8 years ago
Pullrequest was merged

Original comment by s...@narfation.org on 14 Dec 2013 at 12:19

GoogleCodeExporter commented 8 years ago

Original comment by s...@narfation.org on 14 Dec 2013 at 12:20