Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Basket Case. |
Acmlm's Board - I2 Archive - Basket Case - Just got done reading about ASM.... | | | Thread closed |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Red_Oxygen Red Paragoomba Level: 10 Posts: 24/53 EXP: 3830 For next: 584 Since: 07-27-05 Since last post: 95 days Last activity: 93 days |
| ||
How is it possible to code in Assembly? C beats that language every day of the week. |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 1441/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
Notepad works well for me. after that, simply compile it with whichever utility you like. | |||
Keikonium Banned Level: NAN Posts: 2048/-2459 EXP: NAN For next: 0 Since: 04-02-04 Since last post: 63 days Last activity: 9 hours |
| ||
You use a word program, and then use a complier which can be found at Zophars domain. I would like to see you program SMW in C. ~EDIT~ Darkflight beat me to it. (edited by Keikonium on 07-28-05 04:23 PM) |
|||
Red_Oxygen Red Paragoomba Level: 10 Posts: 27/53 EXP: 3830 For next: 584 Since: 07-27-05 Since last post: 95 days Last activity: 93 days |
| ||
How in the bloody h*** am I going to recode an entire game ? | |||
Kanji Red Goomba Level: 12 Posts: 23/47 EXP: 7874 For next: 47 Since: 03-15-04 Since last post: 62 days Last activity: 19 days |
| ||
Originally posted by Red_Oxygen I believe ASM hacking is more based around writing new pieces of code and inserting them into the ROM, which means you have to write it using the space you have, and go by the original ROM's RAM and the like... For example, if you wanted to have something else happen when you hit the message box, you would write in the code for your thing to happen, and replace the message box's code with that. |
|||
Red_Oxygen Red Paragoomba Level: 10 Posts: 32/53 EXP: 3830 For next: 584 Since: 07-27-05 Since last post: 95 days Last activity: 93 days |
| ||
ASM is just impossible almost I just learnt how to add subtract and multiply and it took me 2 days to learn that!!! So If I expand the ROM I can put C code in it and have use pointers to load it? |
|||
Kanji Red Goomba Level: 12 Posts: 26/47 EXP: 7874 For next: 47 Since: 03-15-04 Since last post: 62 days Last activity: 19 days |
| ||
Originally posted by Red_Oxygen I don't believe so. You'll have to use ASM if you want to add code to SMW... I agree, ASM is more difficult than something like C. |
|||
Red_Oxygen Red Paragoomba Level: 10 Posts: 34/53 EXP: 3830 For next: 584 Since: 07-27-05 Since last post: 95 days Last activity: 93 days |
| ||
crap... |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 1445/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
And I hate to tell you this, but C for a computer uses different machine code than what the 65c816 uses. Besides, you're actually better off learning ASM, since it is a lot more powerful than C when used correctly. | |||
Red_Oxygen Red Paragoomba Level: 10 Posts: 36/53 EXP: 3830 For next: 584 Since: 07-27-05 Since last post: 95 days Last activity: 93 days |
| ||
its not more powerful....faster yes... more flexible and easier to learn and debug no. | |||
PaD Micro-Goomba Level: 5 Posts: 6/11 EXP: 361 For next: 168 Since: 07-27-05 From: Datteln, Germany Since last post: 86 days Last activity: 5 days |
| ||
so you'd probably like a platform compiling c-code on-the-fly? no comment... assembly is easy, you just have to learn a few commands which do everything you want, you just gotta put them into the right order and give correct addresses and values i hacked c&c yuri's revenge and made things possible that people couldn't think of before, all that using assembly. if you can't think logically, you can forget it. you have to know what you're coding, you gotta deeply concept your algorithms and the final code. and yep, assembly is the only possibility to hack, unless there is a rom editor or whatever (nice idea actually) |
|||
beneficii Lakitu Level: 36 Posts: 370/567 EXP: 299656 For next: 8454 Since: 06-27-04 From: Cordova, TN, USA Since last post: 14 hours Last activity: 6 hours |
| ||
Red_Oxygen, Can you find a C compiler that compiles to 65c816 assembly? After that, how are you going to link it up with the program? You have to ask yourself: At what points do I need to interrupt the program and what address am I going to have to use and what formats am I going to have to respect, etc., to make this hack work? Just so you know, you can't use Borland C++, compile it, and then put the code at the end of the ROM. That just won't do anything; the machine code won't match up with that of the system you're trying to use. Of course, you'd be a first-class dumbass if you ever thought that would work. (edited by beneficii on 07-28-05 06:04 PM) |
|||
Red_Oxygen Red Paragoomba Level: 10 Posts: 43/53 EXP: 3830 For next: 584 Since: 07-27-05 Since last post: 95 days Last activity: 93 days |
| ||
nahh I have to use a 65c86??/(forget) assembly and not a intel x86 (8086?)... Wait a minute doesn't C decompile into ASM? |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2082/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
You'd have to find a C compiler that outputs into 65816 machine code. ASM is not one programming language. It's the language for whatever processor you happen to be trying to code for. In this case, x86 is certainly out of the question b/c it's the wrong machine! I believe FreeDos mentioned a C compiler for 6502 a while back, not sure how available one for 65816 would be. Though I think Neviksti mentioned one that LordTech made. That was probably a long time ago too, and it uses really weird compilation from what i've heard. You're better off learning some basic assembly and grabbing a command line program like ASM2HEX or Xkas. |
|||
beneficii Lakitu Level: 36 Posts: 372/567 EXP: 299656 For next: 8454 Since: 06-27-04 From: Cordova, TN, USA Since last post: 14 hours Last activity: 6 hours |
| ||
Originally posted by Red_Oxygen It compiles into machine code; assembly is the next level above machine code, putting things in words to make somewhat easier for coders to understand. But yes you have to use 65c816 assembly and not x86, because the SNES is a 65c816 system, meaning that machine code assembled from 65c816 assembly is the only type that it'll understand. |
|||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 6156/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Since he's already posted a few threads about this, has no idea what he's doing, and has given up, I'm trashing this. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Basket Case - Just got done reading about ASM.... | | | Thread closed |