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,238
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
  • No one is chatting at the moment.
  • Veho @ Veho:
    Double dickhead chinballs is still better than double dickhead eyeballs.
    +1
  • Veho @ Veho:
    As in, the balls will grow in your eye sockets.
  • K3Nv2 @ K3Nv2:
    I paid 5 grand to get them moved to my chin
    +1
  • Veho @ Veho:
    This you?
  • K3Nv2 @ K3Nv2:
    My hair can't be that cool
    +1
  • Veho @ Veho:
    Ah, yes, portrait mode, surely the best way to film a row of people. If only there were some way to fit a wider shot, at the expense of height... if only...
    +1
  • K3Nv2 @ K3Nv2:
    4k portrait mode?
    +1
  • BigOnYa @ BigOnYa:
    Diddy - "I never touched her, that bitch is crazy." Video is released. Diddy - " Ok I did it, i am remorseful for my actions during my darkest times." Lol
  • SylverReZ @ SylverReZ:
    @BigOnYa, Glad that the Diddler got caught once again.
    +1
  • K3Nv2 @ K3Nv2:
    Iran ran out of options
  • K3Nv2 @ K3Nv2:
    Thought I saw my ex on that new kingdom of the Apes poster
  • BigOnYa @ BigOnYa:
    I thought I saw a puttie snatch...
  • BigOnYa @ BigOnYa:
    I'm so pumped, NCAA football video game is back after a 10 year hiatus, coming to SeriesS/X, PS5 in July.
  • BigOnYa @ BigOnYa:
    Wish they would let us play the NCAA football 14 on newer xbox, its one of the only games I love and own on disc still, that is not back compatible, bs.
  • AdenTheThird @ AdenTheThird:
    @BigOnYa My dad recently bought a spare Series X off of me, got game pass, and saw Madden '24 on Game Pass, decided to try it out.

    ...He was a bit taken aback by the 60GB download size. Poor guy's still living in the 90s!
    +1
  • SylverReZ @ SylverReZ:
    @AdenTheThird, Bro's still in the PS2 age.
  • K3Nv2 @ K3Nv2:
    Lol charging your dad's classic unless he's the type that doesn't like taking things like that
  • AdenTheThird @ AdenTheThird:
    @K3Nv2 He was looking into consoles for his house anyway (for my younger siblings and himself) and I had a spare XSX and Switch I ended up selling him at pretty steep cuts. I would just give them to him, but I did buy them with the intent to sell them... and college is super expensive.
    AdenTheThird @ AdenTheThird: @K3Nv2 He was looking into consoles for his house anyway (for my younger siblings and himself)...