Mods delete this thread. I do not want to argue with people.

NES, SNES, N64, Gamecube, Wii
Aaendi
8-bit
Posts: 45
Joined: Sat Jan 28, 2012 9:18 pm

Mods delete this thread. I do not want to argue with people.

Post by Aaendi »

Mods delete this thread. I do not want to argue with people.
Last edited by Aaendi on Wed Feb 29, 2012 6:00 am, edited 3 times in total.
AppleQueso

Re: Capcom and Konami were sabatoging SNES the entire time.

Post by AppleQueso »

...mind explaining what that piece of code actually does?
User avatar
flex wood
Next-Gen
Posts: 2695
Joined: Tue Jul 20, 2010 10:53 pm
Location: Minneapolis

Re: Capcom and Konami were sabatoging SNES the entire time.

Post by flex wood »

What's going on in here? :lol:
fastbilly1
Site Admin
Posts: 13775
Joined: Tue Apr 17, 2007 7:08 pm

Re: Capcom and Konami were sabatoging SNES the entire time.

Post by fastbilly1 »

Ill take a stab at it. The code is saying to loop whatever lda #$4000 is 30 times. Thus generating slowdown in their titles. Am I close?
User avatar
MrPopo
Moderator
Posts: 24190
Joined: Tue Aug 26, 2008 1:01 pm
Location: Orange County, CA

Re: Capcom and Konami were sabatoging SNES the entire time.

Post by MrPopo »

rep #$30 ;sets accumulator register size and index register size to 16 bit
lda #$4000 ;loads 16384 to the accumulator
loop:
dec ;decrement the accumulator
bne loop ;go back to loop if we aren't zero

Based on the clock speed of the SNES, every time this piece of code gets run you add approximately 0.0015 seconds of delay.
Blizzard Entertainment Software Developer - All comments and views are my own and not representative of the company.
AppleQueso

Re: Capcom and Konami were sabatoging SNES the entire time.

Post by AppleQueso »

MrPopo wrote:rep #$30 ;sets accumulator register size and index register size to 16 bit
lda #$4000 ;loads 16384 to the accumulator
loop:
dec ;decrement the accumulator
bne loop ;go back to loop if we aren't zero
and all this ends up doing...?
User avatar
Ziggy
Moderator
Posts: 14913
Joined: Mon Jun 09, 2008 5:12 pm
Location: NY

Re: Capcom and Konami were sabatoging SNES the entire time.

Post by Ziggy »

So... ? :lol:

So if it's true, then wouldn't it be simple to alter the code to eliminate the problem?
User avatar
MrPopo
Moderator
Posts: 24190
Joined: Tue Aug 26, 2008 1:01 pm
Location: Orange County, CA

Re: Capcom and Konami were sabatoging SNES the entire time.

Post by MrPopo »

AppleQueso wrote:
MrPopo wrote:rep #$30 ;sets accumulator register size and index register size to 16 bit
lda #$4000 ;loads 16384 to the accumulator
loop:
dec ;decrement the accumulator
bne loop ;go back to loop if we aren't zero
and all this ends up doing...?
Essentially it makes the CPU spin in place for a bit, doing effectively nothing.
Blizzard Entertainment Software Developer - All comments and views are my own and not representative of the company.
AppleQueso

Re: Capcom and Konami were sabatoging SNES the entire time.

Post by AppleQueso »

well why would they do that?

...did sega slip them some cash? :P
User avatar
sabrage
Next-Gen
Posts: 2588
Joined: Fri Dec 30, 2011 5:47 pm
Location: GMT -7

Re: Capcom and Konami were sabatoging SNES the entire time.

Post by sabrage »

So, does Super R-Type have the mega version of this code hidden somewhere?
Post Reply