Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Mon Jan 27, 2020 4:08 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 159 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
PostPosted: Tue Aug 26, 2008 8:41 pm 
Offline
Kommunist
Kommunist

Joined: Thu Jul 10, 2008 2:27 pm
Posts: 21
Location: Resutoran iizuka,japan
Title: Leader of warlords
hay chicken seeing on how u know this stuff can I pm for codes..??cuzz I dont want to get u made by not lising to ur sig..
if u will I have a topic on code request fourm just look for my user name or my total posts
Thanx

_________________
mph fc:1676-5530-5019/new clan web site..looking for some members
http://www.warlords.hoston.us ..FUCK THA WORLD,FUCK HATERS,AND FUCKKK EVERY BITCH I HERED OF!!!keepn dat shit gangsta homies..


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jun 23, 2009 5:57 pm 
Offline
Komrade
Komrade

Joined: Tue Mar 27, 2007 10:18 am
Posts: 1328
I realize this is late, but this is bugging the CRAP out of me.

Code:
94000130 FFFB0000
D3000000 0A00011C
D5000000 00000000
C0000000 0000000C
D8000000 00000000 // How many times will this execute?
D2000000 00000000

I'm hoping for 12.

_________________
Image


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 23, 2009 6:54 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3765
Title: All in a day's work.
Ideally: 16.
Typically: 12.


To explain where I get 16:

The loop command requires at least three lines:
  • Initializer (C0 line)
  • Payload (Write code, for example)
  • Terminator (D0, D1, or D2 line)

Thus, to make efficient use of a loop, your "uncompressed" payload must be four lines or longer, at the very least, to see any true benefit (in the form of compression). With another trick, use a zero-based decrementer. (Every bit is worth it.)

Such that you would end up with a 4-based decrementer, where a 'loop count' of 0 automagically loops 4 times; 1 loops 5 times, etc. Thus, a value of C (12) ideally represents a total loop count of 16.

Unfortunately, Action Replay was designed by commercial-driven idiots. C'est la vie.

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 23, 2009 10:18 pm 
Offline
Kommunist
Kommunist

Joined: Tue Oct 10, 2006 9:32 am
Posts: 445
Actually a value of 0 in the C0 code will execute the code(s) within the loop once.
So setting the C0 code repeat value to 0x0000000C (12) will execute the code(s) 13 times.

So if you want the code(s) within the loop to be executed 12 times, you must set the C0 repeat value to 0x0000000B (11=numbers of times you want the code to be executed minus 1).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jun 24, 2009 11:37 am 
Offline
Komrade
Komrade

Joined: Tue Mar 27, 2007 10:18 am
Posts: 1328
That's what I thought.

I couldn't remember, though, so I had to ask.

EnHacklopedia should be updated to reflect that information.

_________________
Image


Top
 Profile  
Reply with quote  
PostPosted: Wed Jun 24, 2009 5:06 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3765
Title: All in a day's work.
I concur; although EnHackopedia should be updated with a great deal of information. If interested, you know where to reach me...

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 25, 2009 5:20 pm 
Offline
Komrade
Komrade
User avatar

Joined: Tue Mar 27, 2007 6:23 pm
Posts: 1354
Location: Mario Raceway, 1509.831, 217.198, -564.429
Title: Mario Kart 64 Hacker
Why exactly isn't Enhacklopedia a wiki?

_________________
Image 143
HyperNova Software is now live (but may take a few tries to load) currently down; check out my PSP/DS/Game Boy/Windows/Linux homebrew, ROM hacks, and Gameshark codes!


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 25, 2009 10:47 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3765
Title: All in a day's work.
It is.

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 26, 2009 4:24 pm 
Offline
Komrade
Komrade
User avatar

Joined: Tue Mar 27, 2007 6:23 pm
Posts: 1354
Location: Mario Raceway, 1509.831, 217.198, -564.429
Title: Mario Kart 64 Hacker
Good answer.

_________________
Image 143
HyperNova Software is now live (but may take a few tries to load) currently down; check out my PSP/DS/Game Boy/Windows/Linux homebrew, ROM hacks, and Gameshark codes!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 159 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC - 8 hours [ DST ]


Who is online

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