Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Programming. |
User | Post |
interdpth Posts: 325/362 |
I have the $15 dollar version of no$gba I bought it myself, but alas after it reassembles it won't save a ROM to disk |
Dwedit Posts: 109/116 |
NO$GBA can do arm reassembling, but it's not free. |
interdpth Posts: 324/362 |
Actually I found out how to work with Devkit Pro and with a simple batch script. I got it to compile my code
Although I really wish I new how to manually decode a BL instruction to get the offset it points too to change it but if you want to use an assembler like devkitpro here's my batch script arm-eabi-as.exe -g -mcpu=arm7tdmi -mthumb-interwork -o file.elf file.s arm-eabi-objcopy.exe -O binary -S file.elf file.bin pause |
Zeld Posts: 26/53 |
Ouch. This is another reason I fail at using an assembler. I continue scripting stuff by hand...it actually doesn't slow me down much at all, considering how well I've memorized most of the map of opcode/operand bits for thumb opcodes. Every now and then I'll forget a little and type in a 2 to use register 2 as an operand and end up using register 4, but you only have to type 4 numbers to type a whole opcode (assuming you're working in thumb, which you probably are most, if not all of the time). Can't be that much worse than getting the assembler to work, can it?
I haven't even gotten along with goldroad long enough for it to show me that it knows what "add r0, r0, r1" means. Also, that thing about devkit pro making the assembly completely different...what was different about it? Was it like, "devkit tried to optimize my assembly for me" different or "what the hell is this?" different? |
interdpth Posts: 323/362 |
Ok, i'm trying to do an Assembly hack, for this game i'm working on.
The assembler i'm trying to use it GoldRoad 1.7 It's fine except it won't recognize push opcodes or LSL, or ASR's or Pop's I like to leave as much of the code I use intact. And I tried the assembler from devkitpro. Code was completely different from my disassembly. So anyone mind helping me out and telling me what I should try or something? Thanks abunch! |