Hacking Assembly language and DMA

GameFreak_020

Member
OP
Newcomer
Joined
Oct 22, 2008
Messages
21
Trophies
0
XP
87
Country
United States
The WoodR4 for M3 is one of the best inventions for the M3-franchise flashcarts. Gaboros should get all the good credits for it! However the program has some problems reading fragmented .nds and. sav files. Knowledge of DMA and Assembly programming language is needed to solve this problem. I want to bring this under attention to help Gaboros, but also to let people know why the program has that problem cuz I was smart enough to ask is while it was explained already.

Please refrain from giving comments like: "stop whining" or "just deal with it". At least I tried looking for help and if there isn't anyone who can, then i'm just ok with it.


gaboros said:
jesquinas said:
gaboros,why isnt possible load fragmented .nds or .sav games with wood R4 for M3?I suppose if flashcarts dont have this problem it could be possible to get in success with your wood.

Thx.

I get some informations about that issues from YWG. I found the source of this "bug" but I couldn't fix it currently. I say "bug" because it isn't a bug it is because the DMA design. Yes the flashcard don't have problem with it but that subset is not public.
Let me quote the worlds of YWG:

YWGthis is not a problem or bug. this is by design.
each flashcard has a protocol — the set of commands that allow control cart. there is 'dldi' subset that usually include cart init, sector read and sector write commands. and usually due dldi drivers are opensourced we have enough information about such commands.
but for games launching we need additional functionality — address translation. the game give us virtual address inside rom/save we need translate it to physical address on microsd. there are at least two approaches to do this:
1. cluster map tables that stored in additional memory in flashcart
2. on-the-fly fat processing by flashcart asic.
anyway there is a 'game' subset of control commands in any flashcart. and this subset is not public.
but there is simple idea that in case the rom and save files not defragmented the address translation is easy: we only need add the 1st sector address to virtual address. this idea implemented in woodm3.

So we have to redesign the DMA section. But unfortunately this section is written in assembly language and I do not know a lot about this language and I can not redesign it. This parts controls the chip/processor.

So if anyone know a lot of about the assembly language and he is able to help me/us redesign this section to load fragmented nds/saves as well just send me a P.M. please!
smile.gif


Edit: currently I trying to make the loader to "defragment" the nds/save file if it is fragmented. But that is much more harder then I first thought.
 

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==