Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!

Reply
 
Thread Tools
  #1    
Old July 8th, 2009 (5:51 PM).
JPAN JPAN is offline
pokemon rom researcher
     
    Join Date: Dec 2008
    Posts: 104
    While still in a beta version, I come here today with a document on the ARM7 Thumb-mode assembly.
    I say this is a beta version because I wrote it but nobody read it, and (of course) I understand what's in it, but I have no idea what someone who doesn't will be able to grasp from it.
    Any comments in this thread will be used to improve this document until it is ready for a final version.

    Also, I'm sorry for the lack of pictures or examples. For now, I hope the examples I provide are enough, but if need arises, I will provide some more.
    Attached Files
    File Type: doc THUMB Tutorial.doc‎ (122.5 KB, 2342 views) (Save to Dropbox)
    Reply With Quote
      #2    
    Old July 11th, 2009 (2:00 AM). Edited July 11th, 2009 by liuyanghejerry.
    liuyanghejerry's Avatar
    liuyanghejerry liuyanghejerry is offline
       
      Join Date: Jan 2008
      Location: China,Xi'an
      Nature: Calm
      Posts: 219
      I've just glanced over the whole article.
      Having read some of ASM tutorials ,including this one,I think that they have taken a little far from Pokemon games,though this one is more relational.
      Anyway,good tutorial.
      __________________
      Zel,thethethethe,LU-HO,Darthatron,HackMew,ZodiacDaGreat,Juan,score_under,JPAN,Tamah-chan,I really appreciate your kindness and your help!:D
      Reply With Quote
        #3    
      Old July 11th, 2009 (2:06 AM).
      Lyzo's Avatar
      Lyzo Lyzo is offline
      On vacation
         
        Join Date: Mar 2007
        Location: The Netherlands
        Age: 23
        Gender: Male
        Nature: Bold
        Posts: 252
        Quote:
        Originally Posted by liuyanghejerry View Post
        I've just glanced over the whole article.
        Having read some of ASM tutorials ,including this one,I think that they have taken a little far from Pokemon games,though this one is more relational.
        Anyway,good tutorial.
        I agree, I've read a few (mabye 2 or 3) ASM tutorials and they all explained what registers were, but they didn't tell you what you could do with them in the pokemon games.

        I tried reading through this tutorial and I understood everything till about half way, where I lost it at adding two variables together... That program was too complex xD.

        Anyway I think I'm just not ready for ASM yet xD

        But it's a great tutorial!
        __________________


        ^^ Thank you The Blueprint !!!
        Reply With Quote
          #4    
        Old July 11th, 2009 (4:07 AM). Edited July 22nd, 2009 by sab.
        sab's Avatar
        sab sab is offline
        Now too much of a life.
           
          Join Date: Jul 2008
          Location: Midgar
          Age: 22
          Gender: Male
          Nature: Timid
          Posts: 998
          great tut! I read through it all and only missed 1 or 2 things!
          Edit:I think that along with push and pop there is a move.
          __________________
          Reply With Quote
            #5    
          Old July 27th, 2009 (4:19 PM). Edited July 30th, 2009 by 0m3GA ARS3NAL.
          0m3GA ARS3NAL's Avatar
          0m3GA ARS3NAL 0m3GA ARS3NAL is offline
          Im comin' home...
           
          Join Date: Jan 2008
          Location: Superjail Penitentiary
          Age: 26
          Gender: Male
          Nature: Gentle
          Posts: 1,816
          The reason they don't go into detail about how to use it in pokemon is because ARM/THUMB technical manuals/tutorials usually explain going through the process of MAKING GBA games. ASM isn't centered around pokemon, and in reality, you can develop ASM codes for ANY game... not just pokemon... BUT, Us ROM hackers have found a good use for this complicated bit of programming code.

          Thanks JPAN, I knew you would pull through!

          Just finished reading, and I must say, it looks a lot like some other ARM/THUMB documents I have read... It has a few things that could be used for Pokemon, but no interactivity.
          give us some challenges, some tasks.
          __________________
          >Boot Jailbot
          >Pass *****
          .
          .
          Jailbot OS Ver 1.1.2
          Greetings Warden
          of Superjail Penitentiary
          Awaiting user input...

          >Display User_Info
          ╠══User Info══╣
          Username:
          0m3GA ARS3NAL
          Age: 18
          Sex: Male ♂
          Race: Caucasian
          Quote:
          "What is this
          I don't even..."

          M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
          ╠══End of File══╣
          Awaiting user input...

          >
          Reply With Quote
            #6    
          Old January 23rd, 2010 (9:27 PM).
          OM3GA Umbr30n's Avatar
          OM3GA Umbr30n OM3GA Umbr30n is offline
          Was Mazot2
             
            Join Date: Jun 2009
            Location: UK
            Age: 21
            Gender: Male
            Nature: Relaxed
            Posts: 123
            T_T this eliminates my understanding of ASM
            __________________

            Flareon's are Red,
            Vaporeon's Blue,
            Espeon is my concious,
            Umbreon is my life-style

            ~Umbreon
            Reply With Quote
              #7    
            Old March 23rd, 2010 (6:23 PM).
            Full Metal's Avatar
            Full Metal Full Metal is offline
            C(++) Developer.
             
            Join Date: Jan 2008
            Location: In my mind.
            Age: 23
            Gender: Male
            Nature: Timid
            Posts: 806
            LOL @ above poster.
            Like the tut quite a bit.
            Perhaps you could explain how to find routines that are being ran?
            I see a bunch of people in R&D posting disassembled routines for things like items/surfing etc...i was wondering if you could post how to do that?
            also, i think omega was onto something with the usefulness of mov...
            __________________

            ★ full metal.

            I like to push it,
            and push it,
            until my luck is over.
            Reply With Quote
              #8    
            Old March 23rd, 2010 (9:49 PM).
            ZodiacDaGreat's Avatar
            ZodiacDaGreat ZodiacDaGreat is offline
            Working on a Mobile System
               
              Join Date: Feb 2007
              Location: South Pacific
              Age: 26
              Gender: Male
              Nature: Relaxed
              Posts: 429
              Quote:
              Originally Posted by Full Metal
              LOL @ above poster.
              Like the tut quite a bit.
              Perhaps you could explain how to find routines that are being ran?
              I see a bunch of people in R&D posting disassembled routines for things like items/surfing etc...i was wondering if you could post how to do that?
              also, i think omega was onto something with the usefulness of mov...
              Go download a debugger, read the manual... Then run your ROM with the debugger and add breakpoints to it while watching your game break at certain routines. That's the best way to describe it, can't think of something better.
              __________________
              Reply With Quote
                #9    
              Old March 26th, 2010 (9:19 PM).
              Full Metal's Avatar
              Full Metal Full Metal is offline
              C(++) Developer.
               
              Join Date: Jan 2008
              Location: In my mind.
              Age: 23
              Gender: Male
              Nature: Timid
              Posts: 806
              mkay can you recomend a good one?
              and how do i know where to set the breakpoints?
              i've looked at the disassembler in VBA and it only has RAM addresses, and it skips around way to much for me to know whats going on, which vba-sdl-h only supports 0x08xxxxxx addresses, or am i wrong?
              __________________

              ★ full metal.

              I like to push it,
              and push it,
              until my luck is over.
              Reply With Quote
                #10    
              Old March 27th, 2010 (10:52 AM).
              HackMew's Avatar
              HackMew HackMew is offline
              Mewtwo Strikes Back
               
              Join Date: Jun 2006
              Posts: 1,314
              Quote:
              Originally Posted by Full Metal View Post
              mkay can you recomend a good one?
              and how do i know where to set the breakpoints?
              i've looked at the disassembler in VBA and it only has RAM addresses, and it skips around way to much for me to know whats going on, which vba-sdl-h only supports 0x08xxxxxx addresses, or am i wrong?
              You might want to read my ASM tutorials.
              __________________
              Reply With Quote
                #11    
              Old March 28th, 2010 (3:55 PM).
              Full Metal's Avatar
              Full Metal Full Metal is offline
              C(++) Developer.
               
              Join Date: Jan 2008
              Location: In my mind.
              Age: 23
              Gender: Male
              Nature: Timid
              Posts: 806
              er...i have ... several times, and now i got the thing to work...sort of >_< well...it copies the bytes and everything, but the buffernumber doesn't work right both times, so i must be doin somethin wrong.
              __________________

              ★ full metal.

              I like to push it,
              and push it,
              until my luck is over.
              Reply With Quote
                #12    
              Old April 20th, 2012 (6:54 AM).
              LugiaMZ's Avatar
              LugiaMZ LugiaMZ is offline
                 
                Join Date: Dec 2011
                Gender: Male
                Posts: 74
                ....I dont know all wif ASM....ASM need a compliler?If got please give me link and tutorial how to use.Thanks~:)
                Reply With Quote
                  #13    
                Old April 25th, 2012 (4:49 PM).
                Shiny Quagsire's Avatar
                Shiny Quagsire Shiny Quagsire is offline
                I'm Still Alive, Elsewhere
                   
                  Join Date: May 2009
                  Location: Hoenn Safari Zone
                  Age: 20
                  Gender: Male
                  Nature: Jolly
                  Posts: 700
                  Quote:
                  Originally Posted by LugiaMZ View Post
                  ....I dont know all wif ASM....ASM need a compliler?If got please give me link and tutorial how to use.Thanks~:)
                  The tutorial is the attachment. If you need a basic tutorial and compiler, check for Hackmew's Knowledge. A simple search should bring it up. ;)
                  __________________



                  Reply With Quote
                    #14    
                  Old August 31st, 2012 (5:40 PM).
                  PokeBunny's Avatar
                  PokeBunny PokeBunny is offline
                  Pokemon Game Maker
                     
                    Join Date: Aug 2012
                    Location: South Africa
                    Age: 19
                    Gender: Male
                    Nature: Serious
                    Posts: 34
                    Hi I'm new. I am 12 years old. I am going to make my own POkemon game.
                    I know everything besides the dreaded ASM.

                    Are there ASM tutorial that are COMPLETE for Pokemn?
                    Reply With Quote
                      #15    
                    Old September 4th, 2012 (1:03 PM).
                    PokeBunny's Avatar
                    PokeBunny PokeBunny is offline
                    Pokemon Game Maker
                       
                      Join Date: Aug 2012
                      Location: South Africa
                      Age: 19
                      Gender: Male
                      Nature: Serious
                      Posts: 34
                      This was a cool tut.
                      It got me started with ASM.
                      Now I can work with ASM for animation (I think)
                      __________________
                      special POKeBUNNY

                      The Pokemon Game Developer
                      If you are wondering why I'm taking long to make Pokemon Hot Red and Cold Blue... It's because I barely get computer time. Be patient (I'm not!.

                      My SoundCloud!!!!!!!!!
                      Reply With Quote
                        #16    
                      Old September 18th, 2016 (5:50 PM). Edited September 18th, 2016 by DarkPsychic.
                      DarkPsychic's Avatar
                      DarkPsychic DarkPsychic is offline
                         
                        Join Date: Jul 2012
                        Location: CO
                        Gender: Male
                        Nature: Timid
                        Posts: 144
                        Quote:
                        Originally Posted by JPAN View Post
                        While still in a beta version, I come here today with a document on the ARM7 Thumb-mode assembly.
                        I say this is a beta version because I wrote it but nobody read it, and (of course) I understand what's in it, but I have no idea what someone who doesn't will be able to grasp from it.
                        Any comments in this thread will be used to improve this document until it is ready for a final version.

                        Also, I'm sorry for the lack of pictures or examples. For now, I hope the examples I provide are enough, but if need arises, I will provide some more.
                        Link is dead so here is a new one JPANs Thumb Tutorial with original and pdf versions
                        Reply With Quote
                          #17    
                        Old September 26th, 2016 (5:30 AM).
                        Compumax's Avatar
                        Compumax Compumax is offline
                           
                          Join Date: Oct 2014
                          Gender: Male
                          Posts: 16
                          Good! I need ASM Tutorial

                          :)
                          Reply With Quote
                            #18    
                          Old September 2nd, 2017 (8:41 AM).
                          ShinypikachuX's Avatar
                          ShinypikachuX ShinypikachuX is offline
                             
                            Join Date: Sep 2017
                            Posts: 20
                            I am a beginner, what is ASM.
                            Reply With Quote
                              #19    
                            Old September 2nd, 2017 (3:35 PM).
                            Lunos's Avatar
                            Lunos Lunos is offline
                            Random Uruguayan User
                               
                              Join Date: Oct 2008
                              Location: Montevideo (Uruguay)
                              Gender: Male
                              Nature: Lonely
                              Posts: 1,672
                              Quote:
                              Originally Posted by pokemon pika pikachu View Post
                              I am a beginner, what is ASM.
                              You should read this or this.
                              __________________
                              Reply With Quote
                                #20    
                              Old September 6th, 2017 (7:28 AM).
                              ShinypikachuX's Avatar
                              ShinypikachuX ShinypikachuX is offline
                                 
                                Join Date: Sep 2017
                                Posts: 20
                                Thank you lunos for all the help ;D.
                                Reply With Quote
                                Reply

                                Quick Reply

                                Join the conversation!

                                Create an account to post a reply in this thread, participate in other discussions, and more!

                                Create a PokéCommunity Account
                                Thread Tools

                                Posting Rules
                                You may not post new threads
                                You may not post replies
                                You may not post attachments
                                You may not edit your posts

                                BB code is On
                                Smilies are On
                                [IMG] code is On
                                HTML code is Off

                                Forum Jump


                                All times are GMT -8. The time now is 8:20 PM.