![]() |
Quote:
R0 = dividend R1 = divisor returning R0 = quotient R1 = modulo answer 081E4684 is another routine made by gamefreak that does modulo only. A few other math routines: 081E460C: another division routine 081E3B9C: square root, calls swi 0x8 I've stumbled across a few others that I dont remember.. |
Quote:
|
Hey guys i have a question how do i get the results lesson1.bin this:
03 B5 03 48 00 68 03 49 80 89 08 80 03 BD C0 46 0C 50 00 03 D0 70 03 02 into my rom? |
Use a Hex Editor and insert the bytes into free space ending with a 0, 4, 8 or C.
|
kan u post something on xse? it aint wantin to work for me. it will work. but it shuts down after like a second.
|
Quote:
Anyway, this is because of the auto update feature. Since Hackmew's site is down, it tries to update, fails, and closes. To fix it, go into your .ini file and change it so that the AutoUpdateCheck equals zero. So that line should look like this: AutoUpdateCheck=0 |
These are extremely helpful ( and long ) well great job hackmew
|
I decided to take a crack at HackMew's ASM challenge, and I succeeded!
http://i50.tinypic.com/efews8.png http://i45.tinypic.com/16ld1g2.png This is what I modified the routine to: Code:
Code:
|
Quote:
Also, you don't need to load player data twice. It should till work without doing this the second time: ldr r0, .PLAYER_DATA ldr r0, [r0] EDIT: I lied, the way you did it, you did need to load it twice (or subtract :D). |
Almost all of the reference links for the ASM tutorial are broken. I have found a few of them, would it be alright for me to post them here? Or should I pm them to DrFuji/giradalkia to add to the end of the tut?
Edit: only two are broken.... Wow, I remember that being a lot more last time.... Edit2: I guess since no one has objected it is fine for me to post the links here: Assembly Wikipedia: (So easy to find it really wasn't broken, but whatever) http://en.wikipedia.org/wiki/Assembly_language ARM7DTMI Technical Manuel: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0210c/DDI0210B.pdf Tonic: Whirlwind Tour of ARM Assembly: http://www.coranac.com/tonc/text/asm.htm Hope these help anyone who wants to learn ASM. |
Since I see people asking questions here, I have a problem using ldr with cmp. I am making a code that compares two words, one located in the RAM and the other located in the ROM. so what I do:
Spoiler:
Spoiler:
|
Quote:
|
code 1:
Spoiler:
Spoiler:
|
Quote:
|
Spoiler:
But does this way work for any other variables other than the 0x8000 family? |
Quote:
|
Oh damn! :(
I'll check your tutorial, thank you bro! |
I got the error 'thumb' not recognized as an internal blah blah
|
Quote:
I would move all the files into 1 folder and do: cd path\To\File thumb source.asm compiled.bin Next time: http://www.pokecommunity.com/showthread.php?t=339708 |
So I have tried using the palette editing tutorial together with APE.
I did change the palettes of the National Pokédex, but I failed as for the right ones. The broken images in OP could really be of help here. Instead of changing that "green" frame of the National Pokédex for the brown one from the Regional Pokédex, I changed the background of the Pokédex to red and brown (and I didn't even use red while editting palettes...) I opened the palettes, just like HackMew's tutorial said to, and I changed every green color for brown colors (only colors that were already in the palette) and this happened. Help? |
2 Attachment(s)
whenever i try to assemble the asm it doesnt work i just keep getting this... idk why it wont work anyone have any ideas?
Spoiler:
Edit: ok nvm i figured it out :D Spoiler:
|
It helped me a lot. Thanks, HackMew (if you're even still around)!
|
hey please help me I can't seem to do the command prompt thingy
|
| All times are GMT -8. The time now is 8:46 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.