< >
Hello, guest! Please log in or register.

The PokéCommunity

Go Back     The PokéCommunity Forums > redriders180 Conversation Between redriders180 and Darthatron


Conversation Between redriders180 and Darthatron
Showing Visitor Messages 1 to 15 of 17
  1. Darthatron
    March 17th, 2012 6:34 PM
    Personally, I use this: http://bear.ces.cwru.edu/eecs_382/AR...manual-pt3.pdf
    But this is good too: http://infocenter.arm.com/help/topic...RC0001_UAL.pdf
    Or just google "arm thumb <opcode>"
  2. redriders180
    March 17th, 2012 6:21 PM
    There's a problem though...my rom won't run on No$GBA. I can't explain it...it starts out completely normal, and when it gets to the "gamefreak" logo, it just crashes, most likely since I edited the logo to say something else. It runs on VBA, and I haven't checked any other emulators, though.

    By the way, do you know of any index of opcodes in ASM? I know what they mean, usually, but I keep encountering arguments from them I don't understand :\
  3. Darthatron
    March 17th, 2012 5:33 PM
    Well I find that when it comes to debugging and testing, the No$GBA debugger works a lot better. It allows you to change the assembly and the hex values at runtime. It's hard to find a copy online, but google should work, but you can't buy it anymore, since the guy who wrote it disappeared off the face of the earth. :\
  4. redriders180
    March 15th, 2012 5:22 AM
    I had a feeling it'd be something like that...just last night I found out VBA can disassemble the ROM, and I learned just how crazy-fast it goes. I thought there were different techniques for doing things...for example, I wanted to display a picture that takes up the entire screen, yet can't figure out how to manage that. I suppose it'll come with time...Another question I had was: Is there an easy way to test out ASM, besides saving it as a .asm, opening up the command prompt, compiling, opening in a hex editor, and copy-pasting the code? I don't mean to sound lazy, but it just seems like a really roundabout way of getting the job done.
  5. Darthatron
    March 15th, 2012 4:26 AM
    Well it's hard to have something like that because ASM code isn't like scripting, since it's all editing areas, rather than adding some new code and simply calling it.

    Anyway, basically what you've got to do is look at the routine you're editing and see which registers aren't needed, or more specifically ARE needed. And if you're branching to a new routine, it doesn't really matter, since when you push them, it saves the value and popping them makes them return to the original value.

    The best way to learn is to look and study code already in the ROM and working out what it does.
  6. redriders180
    March 14th, 2012 6:37 PM
    Oh I wasn't actually expecting help so soon o-o. Basically, I've read tutorials, and I have a notebook filled with opcodes and other such things. But I haven't found any tutorials on actually making the ASM do anything; basically, writing ASM code. I've studied some code, but I'm still clueless on where to begin. The first question that comes to my mind is how do you know which registers to use, which to pop, etc. etc. I've often wished there was an ASM help thread, and not just a scripting one :/. Any help would be appreciated.
  7. Darthatron
    March 14th, 2012 6:01 PM
    You need help with ASM bro?
  8. redriders180
    January 14th, 2012 8:59 PM
    I've never really tried to. I know that each command in XSE corresponds to a hex number, and you just kind of string them together, but beyond that, it's only been stuff from tutorials.
  9. Darthatron
    January 14th, 2012 8:39 PM
    Well they are a lot easier than ASM. Mainly Visual Basic.

    Can you hex edit?
  10. redriders180
    January 14th, 2012 8:35 PM
    I've tried a few of those programs, but I never managed to get the hang of it. It was usually the same issue: learned basics, not how to put it all together.
  11. Darthatron
    January 14th, 2012 8:25 PM
    I'm talking about Visual Basic, or C# or C++, or Java, or Pascal. Something like that.
  12. redriders180
    January 14th, 2012 8:05 PM
    What kind of programming? I'm inclined to think you're not talking about XSE, since that's more scripting than anything.
  13. Darthatron
    January 14th, 2012 6:42 PM
    Have you had any programming experience in the past?
  14. redriders180
    January 14th, 2012 7:23 AM
    A little bit of both. I've read about three ASM tutorials, and I know about the pushing and the popping and the registers and some commands, I just don't understand how to put it all together to make my own stuff.
  15. Darthatron
    January 14th, 2012 12:43 AM
    Oh. Have you read the tutorials and stuff, or are you just swinging around in the dark?

  All times are GMT -8. The time now is 6:29 AM.

Contact Us Archive Privacy Statement Terms of Service Top