It is currently Sun Dec 17, 2017 12:59 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Mon Jan 30, 2017 5:55 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3076
Location: Brazil
1. Running the Stars Demo (PD), I got an invalid opcode ($12), and the emulator tries to RESET.
2. Loading a new ROM makes the bug to trigger... see the screenshot. Not only that game, but any other.

WTF is that?


Attachments:
bug01.png
bug01.png [ 215.48 KiB | Viewed 1224 times ]
bug02.png
bug02.png [ 167.43 KiB | Viewed 1224 times ]


Last edited by Zepper on Mon Jan 30, 2017 8:13 pm, edited 1 time in total.
Top
 Profile  
 
PostPosted: Mon Jan 30, 2017 6:35 pm 
Offline

Joined: Mon Jan 30, 2017 5:20 pm
Posts: 303
Location: Colorado USA
It is some assembly code error. An opcode is a number for the instruction that is running. What ROM are you playing? I'd recommend using Nestopia as your emulator.

http://nestopia.sourceforge.net/


Top
 Profile  
 
PostPosted: Mon Jan 30, 2017 7:07 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3076
Location: Brazil
DementedPurple wrote:
It is some assembly code error. An opcode is a number for the instruction that is running. What ROM are you playing? I'd recommend using Nestopia as your emulator.

http://nestopia.sourceforge.net/

You must be kidding...


Top
 Profile  
 
PostPosted: Mon Jan 30, 2017 7:34 pm 
Offline

Joined: Wed Jun 15, 2016 11:49 am
Posts: 65
Zepper wrote:
1. Running the Stars Demo (PD), I got an invalid opcode ($12), and the emulator tries to RESET.
2. Loading a new ROM makes the bug to trigger... see the screenshot. Not only that game, but any other.

WTF is that?


1. The ROM ends up reading from un-cleared RAM starting at $0784. Emulators that initilize RAM with $FF will end up eventually at instruciton $12. If you initialize all RAM to 0 instead, the demo should run just fine.

2. Not sure aside from stating the obvious that something isn't being reset properly.


Top
 Profile  
 
PostPosted: Mon Jan 30, 2017 7:41 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3076
Location: Brazil
Alyosha_TAS wrote:
1. The ROM ends up reading from un-cleared RAM starting at $0784. Emulators that initilize RAM with $FF will end up eventually at instruciton $12. If you initialize all RAM to 0 instead, the demo should run just fine.

Yeah, that's a known problem. ^_^;;

Quote:
2. Not sure aside from stating the obvious that something isn't being reset properly.

Did you said... OBVIOUS? :lol:

Joke aside, it's not happening on soft/hard reset, or even when I load another ROM. Weird and found it by accident.


Top
 Profile  
 
PostPosted: Mon Jan 30, 2017 7:46 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19353
Location: NE Indiana, USA (NTSC)
Added to list of bugs in widespread homebrew and hacks


Top
 Profile  
 
PostPosted: Mon Jan 30, 2017 8:13 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3076
Location: Brazil
Found the problem. The gfx frame pointer wasn't being set to zero. Well, it was an obscure problem... but I guess details won't be interesting anyways. ^_^;;


Top
 Profile  
 
PostPosted: Thu Feb 02, 2017 11:32 am 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3969
What's going on with Chu Chu Rocket?

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


Top
 Profile  
 
PostPosted: Thu Feb 02, 2017 1:26 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3076
Location: Brazil
Dwedit wrote:
What's going on with Chu Chu Rocket?

Nothing. 8-) It was a bug in my emulator frame pointer.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 7 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