Mods delete this thread. I do not want to argue with people.
Mods delete this thread. I do not want to argue with people.
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.
...mind explaining what that piece of code actually does?
Re: Capcom and Konami were sabatoging SNES the entire time.
What's going on in here? 
-
fastbilly1
- Site Admin
- Posts: 13775
- Joined: Tue Apr 17, 2007 7:08 pm
Re: Capcom and Konami were sabatoging SNES the entire time.
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?
Re: Capcom and Konami were sabatoging SNES the entire time.
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.
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.
and all this ends up doing...?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
Re: Capcom and Konami were sabatoging SNES the entire time.
So... ?
So if it's true, then wouldn't it be simple to alter the code to eliminate the problem?
So if it's true, then wouldn't it be simple to alter the code to eliminate the problem?
Re: Capcom and Konami were sabatoging SNES the entire time.
Essentially it makes the CPU spin in place for a bit, doing effectively nothing.AppleQueso wrote:and all this ends up doing...?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
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.
well why would they do that?
...did sega slip them some cash?
...did sega slip them some cash?
Re: Capcom and Konami were sabatoging SNES the entire time.
So, does Super R-Type have the mega version of this code hidden somewhere?