Timer in "Super Mario Land" cycles between 400 and 500
Status: Inactive
Brought to you by:
joergjahnke
In "Super Mario Land" the time limit indicator does not count down. It goes like: 417, 420, 437, 450, 479, 412, 420, 433, 450, 479, 417, ...
This also means that at the end of level 1-1 you get stuck at the point when bonus points are added for the remaining seconds.
Can you give me a bit more details? Where is this time limit indicator, and is there something special I have to do to see it? Perhaps a screenshot would be helpful.
Sorry for being wage. I'll go into more detail. When playing Super Mario Land 1 you see the word TIME on the top right of the screen. Below you see a number which starts at 400 and counts down by one every second. When it reaches 0 Mario dies. At the end of each stage you earn points for the remaining seconds. In JSwingBoy the first value displayed is 400 (correct). But it does not count down. Instead it jumps up through some numbers. Before the numbers get bigger than 500 it starts between 410 and 420 again. The order of number looks similar to this: ..., 417, 420, 437, 450, 479, 412, 420, 433, 450, 479, 417, ... To replicate just start Super Mario Land in JSwingBoy and watch the number in the top right corner.
Thanks, I'll have a look.
(got myself an account) I noticed one more thing: the music is playing way too fast. Not sure if this is related to this issue. Also I sometimes get "index out of bounds" exceptions when starting the game.
Just a short update: The problem seems to be tougher to solve than I thought. I did some debugging and until now I could not nail down the problem. So it might take a bit longer...
In the end I stumbled over the wrong implementation of the CPU's "DAA" instruction, which also caused the problem, so that the fix was easier than I thought. I am going to create a new release within the next few days.
fixed in HG rev. 416