Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
Acmlm's Board - I2 Archive - - Posts by MathOnNapkins |
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
User | Post | ||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2124/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
It's nice to think there's an afterlife, but something inside tells me it's just Santa Claus all over again. Something way too good to be true, that is a human hope, but probably is a total lie meant to keep people happy for a short while. It's a well known human folly to search for immortality, and yet people still clutch to the idea of an afterlife as though it was any better an idea or expectation. Even if you're religious I would hope you would be at least a little bit skeptical of the idea. | |||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2125/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
I was hanging out at Snes9x.com a while ago and it seems that the Windows port has actually become the least maintained port of all 3 (mac os, linux, and windows). sort of surprising to me. You can't even get a standalone distribution of the source code for the Windows platform. You have to download the linux port and compile it with different options and GCC. (basically I heard it was a bitch to compile, though I don't use the free compiler.) edit: have you considered trying to use the registry to set your joypad buttons? I'm pretty sure those settings are stored there. (edited by MathOnNapkins on 08-16-05 04:27 PM) (edited by MathOnNapkins on 08-16-05 06:06 PM) |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2126/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
I just have a hard time picturing me doing nothing, feeling nothing, and remembering nothing, and just.. being nothing. So um.... think back to before you were born. It was like that. |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2127/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Starbucks sucks man... I just go to a gas station and fill er up for like $1.29 for a huge ass cup. Beware, flavored coffee like caramel capuccino or wahtever they sell doesn't keep you awake as well. It has to be the dark stuff. Best coffee I've ever had was in Seattle though. There's coffee shops everywhere. The sad thing about coffee is that it smells so good yet tastes so foul. Cream and sugar do help, especially if your store has the flavored creamers, like irish creme or mocha or whatever. |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2128/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
a) most codes end with 20 or 22 (JSR or JSL) I do believe you mean begin with... O_o Here's a list of opcodes you will need to know to do assembly hacking on the snes, they are extremely frequent: Loading and storing the A register: A5, A9, AD, AF, B9, BD, BF, 85, 8D, 8F, 99, 9D, 9F Loading and storing the X and Y registers: A0, A2, A4, A6, AC, AE, 84, 86, 8C, 8E storing zero to a memory location: 64, 9C, 9E branching instructions: 80, D0, F0, 10, 30, (50, 70 - somewhat rare in my experience), 90, B0, 82 increment and decrementing registers and addresses: C8, E8, 88, CA, 1A, 3A, CE, DE, EE, FE, E6, C6 jumping and subroutine instructions: 20, 22, 4C, 5C, 6C, 7C, FC adding and subtracing: 69, 6D, E9, ED So I counted it out, these are about 58 opcodes you should know out of around 255 total. This is if you want to do minor asm edits via a hex editor. |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2129/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Um, yeah... if there was a military rebellion we'd be under martial law, and it would basically would be a coup. Much like the bloody ones you hear about in Africa all the time. I don't want to dream of that. I don't want it to come to that. if you do you're a fool. | |||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2130/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Yeah, using 4 layers (aka BGs aka planes) on an SNES severely cripples what you can do with the machine. | |||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2131/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
If you ask me, NOP is a waste of space While you are more or less correct, there are some things that you simply must use a NOP for on an snes. If you want to do hardware divide or multiply, for instance, you have to wait a set number of cycles to get the result back from the onboard circuitry. So if you have to wait 8 cycles, you will use 4 NOPs, since they take 2 cycles a piece. |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2132/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Originally posted by SePH So says Mr.-I've-yet-to-release-my-hack. |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2133/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
C'mon SePH, you know I was just messing. Everybody knows this is a hard game to hack. The longer it takes, usually the more things you learn how to modify and get better at planning the layout of the game. | |||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2134/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Sure they will... (RTS), (RTI), (RTL). You just won't like the result | |||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2135/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Originally posted by Yoshi DudeOriginally posted by ClockworkzI have a feeling she directed that at you. This is a pocket dimension. Time? |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2136/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Oh yeah? I've seen jump tables that are generated with RTS: REP #$30 LDA INDEX ASL A TAY LDA JUMPTABLE, Y PHA SEP #$30 RTS very hard to spot from just casually looking at a routine. |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2137/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
1. Download Geiger's Snes9x debugger. 2. When you have reached a portion of the game you want to trace, check the "CPU" checkbox to begin tracing. It will start generating trace logs in the same folder as the rom, using a name like "secretofevermore0001.log", and increasing the number of the log file whenever it overflows into a new file. Uncheck CPU checkbox when you are finished. If you don't want huge log files, I suggest you use "trace once" as a parameter. With that, you will only get one instance of each piece of code executed. 3. BRK is an unlikely command to see - ever. The 00 at the end is probably just data, or an indication that "this is the end of this string of text data." You know how in C or C++ coding strings are null terminated? Same dealie. Null terminated means it has a 00 byte at the end of the string. It sounds to me like you are just inexperienced at distinguishing code from data. But that will come with time. |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2138/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Originally posted by Sukasa I took a look at this and there doesn't appear to be any alignment issues with the code and the stack. I would guess the crashing would have more to do with what your code is doing. You should have this moved to the Romhacking forum. you'll get more people looking at it who know what they're doing. Or SMW forum possibly, since the variables you're using are probably more well known there, as well as custom block design. [edit] however, a number of things could cause this to go awry. You need to know that this code is only being jumped into from its beginning, or the PLP's will misalign your stack. Also, have you made sure that the M and X flag are set when this is called? Otherwise those immediate mode instructions will totally kick your ass. (edited by MathOnNapkins on 08-24-05 03:34 PM) |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2139/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Since I have never worked with HDMA directly, just enough to get by. I must ask what the hell this wavy effect is induced by. I assume you are just modifying the scroll registers for certain backgrounds every (edited by MathOnNapkins on 08-25-05 06:18 AM) |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2140/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Wait... is that something you did or a shot from the BS Zelda 3? O_o. nm: forgot BS Zelda 3 was still not really translated. (edited by MathOnNapkins on 08-26-05 04:58 AM) |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2141/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Yeah... well one thing you can do is after your PHP is use SEP #$30. The PLP will erase that modification anyways, if it was for some reason different before that. You should definitely use Geiger's Debugger for this. Set a breakpoint the entry point, and breakpoints on both of the RTS's. If you get two consecutive breakpoints on the entry point, something is amiss. If you get two consecutive breakpoints on RTS's, something is very amiss. If you can't get breakpoints on any of those locations you are seriously doing something wrong. Also, each time the entry point is reached, try step out to see if it returns to an expected location. If it returns to some garbage location, you'll know it's your PHPs and PLP's casuing the problem. One more thing, if the code this is called from expects to have access to a zero result of LDA $14AF, or LDA $7E0076, you can see that the PLP will probably erase that result, unless the P register already had a Z flag set. (edited by MathOnNapkins on 08-26-05 07:07 AM) |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2142/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Open the rom up in a hex editor and find where this code got mapped to. If there's a header subtract that off. Convert the resulting rom addresses into SNES addresses. That's what you use for the breakpoint. Short of sending me your rom I don't know what else I can tell you. (edited by MathOnNapkins on 08-26-05 05:09 PM) |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 2143/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Damn, I thought it would at least been a better movie.... it had some okay parts. Explains why I didn't remember it. |
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
Acmlm's Board - I2 Archive - - Posts by MathOnNapkins |