N64 OP Codes? N64 Tracer?

gukingofheart

Well-Known Member
OP
Member
Joined
Feb 2, 2022
Messages
235
Trophies
0
Age
124
XP
440
Country
United States
Know a website with the OPcode values? Here's one for the NES & SNES
http://www.6502.org/tutorials/6502opcodes.html
https://undisbeliever.net/snesdev/65816-opcodes.html

But I need one for the N64 with the numbers.
Do you know what 2400 means, I notice many different codes use this. is it a LDA? A NOP?


I have "Project64-v2.4.0-1688-ge230133", which has a debugger. Do you know if this emulator has a tracer or not? Or if I need some other emulator when it comes to tracing?
Tracing means, seeing all the debug data that ran before.


Any help, would be appreciated!
 

gukingofheart

Well-Known Member
OP
Member
Joined
Feb 2, 2022
Messages
235
Trophies
0
Age
124
XP
440
Country
United States
datasheet for the CPU: https://datasheets.chipdb.org/NEC/Vr-Series/Vr43xx/U10504EJ7V0UMJ1.pdf


The CPU architecture the NEC VR4300 was modified from is the VR4200, which is modified from R2400.
Sure it's not a LDL, $24,3($0), or maybe it's a branch code.
Your sheet does not list the OPcodes, only the names.

Always Have 8 Red Coins On Bowser Levels
Action Replay/GameShark (this code uses a 2400, why?)
812F32E4 2400

Stepping Blocks Last Forever
Action Replay/GameShark (this code uses a 2400 & a 1000, why?)
812B18FC 2400
812B1904 1000

For NES & SNES, OPcodes have simple names like Load, Move, Copy, Branch.
 

bobmcjr

Well-Known Member
Member
Joined
Apr 26, 2013
Messages
1,156
Trophies
1
XP
3,239
Country
United States
Sure it's not a LDL, $24,3($0), or maybe it's a branch code.
Your sheet does not list the OPcodes, only the names.

Always Have 8 Red Coins On Bowser Levels
Action Replay/GameShark (this code uses a 2400, why?)
812F32E4 2400

Stepping Blocks Last Forever
Action Replay/GameShark (this code uses a 2400 & a 1000, why?)
812B18FC 2400
812B1904 1000

For NES & SNES, OPcodes have simple names like Load, Move, Copy, Branch.
These aren't necessarily writing opcodes. See this documentation on gameshark codes: https://en64.shoutwiki.com/wiki/Make_Nintendo_64_GameShark_Codes

The first code writes 0x2400 to address 0x2f32e4 constantly.

You'd need to check if this is overwriting code or just simply data. If it is overwriting code, keep in mind that N64 MIPS opcodes are 32-bit, so this 16-bit value would only be half an opcode, if it's even writing to an opcode. If it is, you'd need to find the full 32-bit value at that address (0x2f32e4) and either use a MIPS disassembler, or convert it to binary and read the ISA manual.
 

gukingofheart

Well-Known Member
OP
Member
Joined
Feb 2, 2022
Messages
235
Trophies
0
Age
124
XP
440
Country
United States
Duh to myself, for not debugging after the cheat code is enabled.

It's an "ADDU" R0 R0 code.
Is R0 always set to 0. I understand more now, at least.
I'll just experiment with debugging different values, and write down the patterns
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Sentinel of the stary skies
  • K3Nv2 @ K3Nv2:
    Ds is 20 years old this year
  • Psionic Roshambo @ Psionic Roshambo:
    So MJ no longer wants to play with it?
  • K3Nv2 @ K3Nv2:
    He put it down when the 3ds came out
  • SylverReZ @ SylverReZ:
    @K3Nv2, RIP Felix does great videos on the PS3 yellow-light-of-death.
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    AncientBoi @ AncientBoi: :O:ohnoes::lol::rofl::rofl2: