Hacking Coding vWii 3-core support - everything you need to know.

Maxternal

Peanut Gallery Spokesman
OP
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country

officialjunk

Well-Known Member
Newcomer
Joined
Oct 4, 2008
Messages
72
Trophies
0
XP
224
Country
United States

officialjunk

Well-Known Member
Newcomer
Joined
Oct 4, 2008
Messages
72
Trophies
0
XP
224
Country
United States
The code for that is in the "tests" branch of the "default" git repository on the googlecode page ;)
https://code.google.com/p/gbadev/source/browse/?name=tests

EDIT : actually, on the "changes" section of the that branch, SPRdump0 would be the last commit on Jan 9th. The test that it shows on Jan 14th was this DOL which gives just a little bit more information.


i have two questions (and forgive me for not being familiar with this):
1. in the last line of the memory dump (currently line #707 of powerpc_elf.c), where we print the MSR value, is the memory address offset supposed to be the same as L2CR(1017)'s? if so, is it because the value at L2CR is copied to MSR?

2. at the start of the memory dump, are we invalidating enough bits on line #690? should we be invalidating more than 256 bits? since we are reading 11 (or possibly 12, depending on the answer to question 1) 32-bit values, seems like we should be invalidating 252 (or 384) bits?

again, i'm not very familiar with this and would appreciate any insights anyone has to explain my (mis)understanding.
 

Maxternal

Peanut Gallery Spokesman
OP
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
i have two questions (and forgive me for not being familiar with this):
1. in the last line of the memory dump (currently line #707 of powerpc_elf.c), where we print the MSR value, is the memory address offset supposed to be the same as L2CR(1017)'s? if so, is it because the value at L2CR is copied to MSR?

2. at the start of the memory dump, are we invalidating enough bits on line #690? should we be invalidating more than 256 bits? since we are reading 11 (or possibly 12, depending on the answer to question 1) 32-bit values, seems like we should be invalidating 252 (or 384) bits?

again, i'm not very familiar with this and would appreciate any insights anyone has to explain my (mis)understanding.


1. Oh thanks. I'll have to look at that then. I thought it was odd that the MSR value both had unused bits set AND had a bit in 0 that I thought I had already set and spent some time reading through the processor documentation trying to figure out what the heck that meant >.< (it's one of the hazzards of copy and paste, I guess ... oops)

2. That is actually measured in bytes, not bits and I was leaving 64(1<<6)bytes of space for each core and with 4 bytes per 32-bit value I was only using 48 bytes each for 12 values IIRC.

Thanks for looking over that. Two sets of eyes are always better than one. ;)




EDIT :
ok, here's the fixed version of that if anyone's interested
http://vwii.idfbest.com/upload/SPRdump1.dol
 
  • Like
Reactions: Ray Lewis

jammybudga777

Well-Known Member
Member
Joined
Aug 23, 2013
Messages
2,284
Trophies
1
Age
37
XP
2,193
Country
Well Maxternal's money has to go through a few bank transfers before he gets it. This reminds me of Yoshi's Island. The banks are the Yoshis, the cash is Baby Mario, Maxternal is the parent and the cyberthieves are the toadies. ;)



does this mean maxternal is finally getting a wii u?? or are you just woffleing on some next random thing!!!!!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    why
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, it's not funny
  • K3Nv2 @ K3Nv2:
    ok
  • BigOnYa @ BigOnYa:
    Wut?
  • K3Nv2 @ K3Nv2:
    That's not funny
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    So two cannibals where eating a clown and one says to the other. Hey does this taste funny to you?
    +2
  • K3Nv2 @ K3Nv2:
    What do you call a slow car? Retired
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Did you hear about the police car that someone stole the wheels off of? The police are working tirelessly to find the thieves.
    +2
  • K3Nv2 @ K3Nv2:
    A firefighter got arrested for assault his main claim was what I was told he was on fire
    +2
  • BigOnYa @ BigOnYa:
    What do you call a hooker with a runny nose? Full
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    What do you tell a woman with two black eyes? Nothing you already told her twice!
  • K3Nv2 @ K3Nv2:
    Diddy also works
  • K3Nv2 @ K3Nv2:
    A scientist heard the word batman so he put a naked lady in a cage with a bat
  • Psionic Roshambo @ Psionic Roshambo:
    Chuck Norris won a staring contest, with the sun.
  • K3Nv2 @ K3Nv2:
    A vampires favorite thing to do is moon you
  • BigOnYa @ BigOnYa:
    What's the difference between an airplane, and Ken's mom? Not everyone has been in an airplane.
  • K3Nv2 @ K3Nv2:
    What's the difference between @BigOnYa and his wife? Nothing both want to bone me
    +3
  • RedColoredStars @ RedColoredStars:
    How much wood could a wood chuck chuck if a wood chuck could chuck norris
    +1
  • BakerMan @ BakerMan:
    how do i know? you're a guy, and he wants to bone every guy on this site (maybe, idk)
    +1
  • K3Nv2 @ K3Nv2:
    He wants to bone anything with a dick
    +1
  • Xdqwerty @ Xdqwerty:
    Good night
    +1
  • BigOnYa @ BigOnYa:
    Nighty night, big day tomorrow. Congrats.
    K3Nv2 @ K3Nv2: https://www.instagram.com/reel/C7iLZ35NrQt/?igsh=MWd2Z3U0dmNlMmNxcw==