It is currently Thu Oct 19, 2017 2:23 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 96 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
Author Message
 Post subject: Error in F-1 Race (1984)
PostPosted: Fri Jan 03, 2014 3:00 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3064
Location: Brazil
This game hangs on RockNES on startup. It expects a sprite zero hit (PC=$FF62), and it goes into an infinity loop (reading $2002:$40). If I press RESET or HARD RESET, the game starts working fine.

Strange or is something I'm missing regarding PPU reset?


Last edited by Zepper on Fri Jan 03, 2014 5:24 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Error in F1 Race
PostPosted: Fri Jan 03, 2014 4:21 pm 
Offline

Joined: Thu Sep 15, 2005 9:23 am
Posts: 1194
Location: Behind you with a knife!
Zepper wrote:
This game hangs on RockNES on startup. It expects a sprite zero hit (PC=$FF62), and it goes into an infinity loop (reading $2002:$40). If I press RESET or HARD RESET, the game starts working fine.

Strange or is something I'm missing regarding PPU reset?


Could you be a bit more specific about the title of the ROM cartridge?

_________________
http://www.jamesturner.de/


Top
 Profile  
 
 Post subject: Re: Error in F1 Race
PostPosted: Fri Jan 03, 2014 5:23 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3064
Location: Brazil
Image


Top
 Profile  
 
 Post subject: Re: Error in F1 Race
PostPosted: Fri Jan 03, 2014 5:24 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19099
Location: NE Indiana, USA (NTSC)
That'd be F1 レース/F1 Race, which is so old that it was on RROM, the board that preceded NROM-128.


Top
 Profile  
 
 Post subject: Re: Error in F-1 Race
PostPosted: Sat Jan 04, 2014 3:35 am 
Offline

Joined: Thu Sep 15, 2005 9:23 am
Posts: 1194
Location: Behind you with a knife!
Still can't find the ROM cartridge in my folder collection.

_________________
http://www.jamesturner.de/


Top
 Profile  
 
 Post subject: Re: Error in F-1 Race
PostPosted: Sat Jan 04, 2014 5:51 am 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3064
Location: Brazil
google it


Top
 Profile  
 
 Post subject: Re: Error in F-1 Race
PostPosted: Sat Jan 04, 2014 8:54 am 
Offline

Joined: Thu Sep 15, 2005 9:23 am
Posts: 1194
Location: Behind you with a knife!
Ah, F-1 as opposed to F1.

WedNESday runs it fine 1st time. And I would imagine all other emulators would do so as well considering I've never heard of this game having any problems.

_________________
http://www.jamesturner.de/


Top
 Profile  
 
 Post subject: Re: Error in F-1 Race
PostPosted: Sat Jan 04, 2014 9:22 am 
Offline
NESICIDE developer
User avatar

Joined: Mon Oct 13, 2008 7:55 pm
Posts: 1026
Location: Minneapolis, MN
WedNESday wrote:
Ah, F-1 as opposed to F1.

WedNESday runs it fine 1st time. And I would imagine all other emulators would do so as well considering I've never heard of this game having any problems.

Works fine in NESICIDE. Do you pass all the blargg sprite hit tests?


Top
 Profile  
 
PostPosted: Sat Jan 04, 2014 10:42 am 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3064
Location: Brazil
To be more specific:

- load and play any game;
- now load F-1 Race.

I have to compare a clean boot (first loading) with a new ROM loading boot with reset.


Top
 Profile  
 
PostPosted: Sat Jan 04, 2014 1:15 pm 
Offline

Joined: Thu Sep 15, 2005 9:23 am
Posts: 1194
Location: Behind you with a knife!
Zepper wrote:
To be more specific:

- load and play any game;
- now load F-1 Race.


Yep, still works.

cpow wrote:
Do you pass all the blargg sprite hit tests?


This.

_________________
http://www.jamesturner.de/


Top
 Profile  
 
PostPosted: Mon Jan 06, 2014 7:26 am 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3064
Location: Brazil
Found a clue. Well, the game reads $4016 and stores at RAM[$6C]. Later, it reads back RAM[$6C] which should be zero; otherwise, it hangs. In my emulator, reading $4016 returns $01 ("A" button is pressed). I couldn't reproduce it in other emus, since the button state seems to be clear on startup/reset.

Try out. Set $4016 to return $01. The game will hang. ;)
Image


Top
 Profile  
 
PostPosted: Mon Jan 06, 2014 8:19 am 
Offline

Joined: Thu Sep 15, 2005 9:23 am
Posts: 1194
Location: Behind you with a knife!
RAM $6B gets the select button and $6C gets the start button on the title screen. All other buttons are ignored.

Why should $6C be $00 when read back later? On WedNESday the title screen has both locations as $00 when neither button is pressed and the game runs.

Edit: $06 gets the start button too and $07 gets select.

_________________
http://www.jamesturner.de/


Top
 Profile  
 
PostPosted: Mon Jan 06, 2014 8:23 am 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3943
This isn't some weird multicart rip where the rom isn't authentic, is it?

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
PostPosted: Mon Jan 06, 2014 8:39 am 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3064
Location: Brazil
The checksum (0xE0604F76) is correct. Did you try what I said regarding $4016?


Top
 Profile  
 
PostPosted: Mon Jan 06, 2014 8:44 am 
Offline

Joined: Thu Sep 15, 2005 9:23 am
Posts: 1194
Location: Behind you with a knife!
Zepper wrote:
The checksum (0xE0604F76) is correct. Did you try what I said regarding $4016?


If you force it to read $01 from $4016 @ reset then all you get is a grey screen.

_________________
http://www.jamesturner.de/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 96 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

All times are UTC - 7 hours


Who is online

Users browsing this forum: Google Adsense [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group