Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
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: 2024/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 06-29-05 12:14 PM, in Saving User Prefernces Internally Link
Well I was hoping against hope there was a simple way to do it. Based on my own guesses and your responses it seems I'd have to come up with somethingverrry hackalicious.

"Anyway, I agree with Ramsus. There's no reason to do it this way."

I think it's stupid there isn't an easy way to do this. I find that the creation of files and messing with registry keys generates clutter. I think I'm just going to use a .dat file or something b/c I don't want to fuck up people's registries more then they already are. That and it tends to prevent you from running a program on a protected computer (such as a computer lab at a school/university)
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2025/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 06-29-05 12:19 PM, in "Nothing is faster than YTMND." - Sloganizer Link
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2026/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 06-29-05 09:15 PM, in Tom Cruise kills Oprah =o Link
Originally posted by Kyouji Craw
Oh, being raised by two psychiatrists and the subject periodically coming up, I'm well aware of all that, trust me.


WE MUST CALL SOCIAL SERVICES IMMEDIATELY! :o
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2027/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 06-30-05 08:43 AM, in Can someone tell me the time? Link
Originally posted by Shyguy


Correction!

It's Beerable again!


Your posts have gone from 100% n00b to like 90% n00b. REBERU OPPU!
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2028/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 06-30-05 01:49 PM, in Live The Teddyversary! Link
Already living the Daniversary... how can I live two lives? It doesn't feel right.

And Grey now I have to come up with another quote of the week to last you like 4 months.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2029/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-01-05 10:26 AM, in Totally fucked up day Link
uhh.... that sucks but I cant' really tell the gravity of the situation, since I dont' know what "her kin is open" and "she has a broken rip" and "she's been sawed on her knee and her kin" mean. What is kin, rip, and sawed, specifically?

If "sawed" means they had to amputate part of her leg, that's fucked up.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2030/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-01-05 11:25 AM, in Can someone tell me the time? Link
And so, the shyguy feels sad that he fell in love with a sprite of a MouseGirl.


^ A header should not mix with your normal text. How long have you been on this board and you haven't figured this out?

-Your post goes here.-




-sig goes here.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2031/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-01-05 11:33 AM, in Sushi, Any good? Link
eh... I should know what it's in the spider roll. I served hundreds of them to people. I think it's either crab or shrimp or both. Either way they were fried. I think it's crab b/c the fried crab legs stick out or something, but it's been a year since I worked at that place.

Rainbow rolls are fun, so are Eel or Spicy Tuny Rolls. My personal favorite, though some people find it disgusting, are the Philly Rolls. It's Salmon and Cream Cheese... mmmmm. I would definitely recommend it.


(edited by MathOnNapkins on 07-01-05 02:34 AM)
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2032/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-02-05 04:02 AM, in Totally fucked up day Link
Originally posted by Darth Coby
Sorry for the many typos, I wasn't thinking clearly yesterday.
Kin = Chin
Rip = Err.. Rib? The bones inffront of your lungs
Sawed = Err, if you have a cut wound and the need to thingy it together, with a needle and stuff. :s


Well that's bad, but not quite as bad as I was thinking. Hopefully she'll wise up and stop doing drugs. And you meant "sewn up with stitches" not sawed.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2033/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-02-05 04:05 AM, in Why doesn't this work? Link
Either I'm not quite understanding this, or you explained it incorrectly, b/c there is always a clear way to use the shortest number of letter transitions. It seems way too easy.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2034/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-02-05 08:27 PM, in Tom Cruise =o Link
Originally posted by Dracoon
Ehh... I dunno, this never came up with me, my brother got really depressed though and suicidal and stuff. He took medicine till he was 18 or 19 and doesn't take it anymore.

Anyways, every problem I've had with my own mind, I've solved it by just taking a day, sitting in the dark, and thinking all day. I don't think anyone should really talk about this unless they know how the human brain works, and can explain it, is a phyciatrist, or is a person actually effected by this.


I don't know a whole lot of the technical side of this issue, but I know I've been severely depressed before. not to the point of wanting to commit suicide, but to the point where I would feel physically ill as a result of it. I would come home from school and sleep in the day time, wake up at night and do homework, sleep a few more hours then tiredly go back to school again. Those were dark days (months I guess), but I somehow pulled through without drugs.

This is just a point of view, but you know how if you get a headache, you can either take an Advil or weather the storm without it? You have the same condition, but you just don't feel it. I'd rather take the Advil b/c the headache will pass with less discomfort. But that's a matter of 6 hours or so. When the Advil wears off, I'll know if I've gotten better or not. In the same way I suppose antidepressants and such things might numb the pain, though I've never taken them, so I don't know how they would have affected me. And how do I know how I would feel once I came off the drug. What if the symptoms where actually multiplied? Seemed like a crapshoot to me.

I think I mainly didn't seek treatment b/c I didn't want to deal with my parents asking me about stupid old depression. Hence, I didn't get pills b/c of fear of stigma, though I can't say it's a fear proper, more like a sense of pride I guess. A sense that I would rather get through it myself than stoop to drugs to make me feel good. I dunno. Drugs might have made me feel better, but they probably wouldn't have helped me sort out my problems back then.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2035/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-03-05 01:27 AM, in SOYLENT GREEN IS PEOPLE!!! Link
SOYLENT GREEN IS PEOPLE!!!

No shit sherlock.

wasn't there some saturday night live skit that ended with him saying "SOYLENT GREEN IS STILL MADE OUT OF PEOPLE!!!".?

I've only seen part of that movie. Looked pretty decent from what I saw.

I've watched through it twice. I dare say it is one of the worst movies I've seen, and I watch a lot. I mainly blame that on the fact that most of the actors suck, including Heston and whoever plays Sol. But, it has a lot of memorable lines and scenarios. Like
Spoiler:
the death clinics ... that seems like the best fucking way to die in the world. Poor Sol, though....MY BEST FRIEND IS MADE OUT OF PEOPLE!!


The girl who is actually furniture is a cool idea, as are some of the other paranoid ideas in the movie. Can you imagine paying $250 for a jar of strawberry jam? The business man who doesn't know if God will forgive him has some decent lines, far better than most of the movie.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2036/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-03-05 02:05 AM, in Acmlm's Board Mosts Summer 2005 - Voting Closed! Results to come Friday Link

1. Sweetest - Bella
2. Cutest guy - not going there.
3. Cutest girl - HSDelial
4. Cutest Couple - Danielle & YD
5. Funniest - YD, Xkeeper
6. Nicest -
7. Innocent - yoronsuku (sp?)
8. Evilest - ||bass
9. Most fun to talk to - Zem
10. Craziest/Most insane - Valcion
11. Smartest - Ziff
12. Kinkiest/Most perverted - Ziff
13. Most Mysterious - Slay
14. Shadiest - knuck
15. Suave - Uncle Elmo
16. Hopeless - Trapster
17. Most unique - YD
18. Most serious - ||bass
19. Most reclusive - FuSoYa
20. Best Pacifist - Kitten Yiffer
21. Best at advice - Tarale
22. Best writer (poetry and otherwise) -
23. Most creative (all-around) - Tarale
24. Most changed -
25. Best admin - ||bass
26. Best full mod - Grey
27. Best local mod - probably BMF teh romhaking ubermod
28. Best male regular member - Kyouji Craw
29. Best female regular member - HSD
30. Best newbie - Slay
31. Best veteran - NSNick
32. Most missed member - Zem (he sucks)
33. Most likely to be banned member - Shyguy, RR, Graviteh, Xkeeper
34. Best post layout - layouts suck
35. Best avatar - Lenophis
36. Best nickname - witeasprinwow
37. Best custom title - all custom titles suck
38. Best role player -
39. Best photo album (thread) picture - Danielle making fun of YD and Kwan
40. Most likely to succeed -
41. Most helpful -
42. Best ROM Hacker - VLTone
43. Best SMW Hacker - BMF, d4s
44. Largest inferiority complex -
45. Most likely to never appear on staff - Aioria
46. Most >8( - Valcion
47. Most emo - Valcion
48. Most drunkard - star wars guy
49. Most furry - Fyxe
50. Most likely to be hit by a parked car - Shyguy
51. Most likely to be driving the car - Yiffy Kitten
52. Most likely to be the parked car - Valcion
53. Best Overall (The Wootest) Male - Ziff
54. Best Overall (The Wootest) Female - YD
55. Most likely to get together - Legion and knuck
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2037/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-03-05 08:44 AM, in SOYLENT GREEN IS PEOPLE!!! Link
Originally posted by NSNick
HH, it's the amazingly obvious name- Soylent Green.


so like, maybe, the video tapes and/or DVDs you watch it on are made out of people as well. O_o. that would be creepy, some dude in a movie warning you about the movie you're watching, and nobody would get the subtext until they were in the movie.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2038/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-04-05 08:14 AM, in Working on a disassembler for 65816 Link
Now don't get your hopes up, disassemblers were never meant to fully decompose a rom with the push of a button. Tracers can do that to an extent, but they don't encapsulate routines like C would. What I'm working on is meant to be a clear and superior alternative to console apps written for the same purpose - it's intended to take a routine in the file and encapsulate it.

EDIT: for those of you who like pictures:




It currently already works quite well, with the following features:

-Linear Tracing (right now it just goes from top to bottom)

-Autogenerates english labels with a variety of preset names, "ALPHA", ..., "MAGUS", etc...

-has a number of failsafes including
1. will alert you if it detects a BRK or COP instruction. These instructions are quite rare, and about 100% of the time signal an error on your part in choosing boundaries for disassembly or initial settings.

2. does an analysis of branch destinations, and will determine if they are misaligned (that's very bad). That means one of your branches goes to something that has determined to not be an opcode.

3. saves you time by determining if there are branch destinations to the end of the region you are trying to disassemble. (examples of this will be in the help file, whenever I get around to making it, with pictures).

-selectable initial 16-bit accumulator or X/Y registers.

-support for 512 byte headers

With all the above options it is already better than any existing disassembler I have seen, including the one in Geiger's Debugger. And there's probably other diagnostic messages I cant' remember atm.

Here's a list of features I'm currently working on adding and improving, straight out of my .cpp file:

List of things to add:

edit: strikethroughs are things that have been completed.


1. Save user preferences, possibly add the ability to hide the applicationp, and other Gui niceties.
-probably want to use a file to store settings.

2. -Warning on unconditional Program Counter changes without following branch
-Option to include "Alternate Entry Point" labels
-Generally I have decided not to accept the notion of routines
with internal data, though some of my manually typed disassembly may
allow this, I no longer do it


3. Conversion from Linear to Dynamic Tracing - outpuf buffer and many other things will have to be
revamped


4. Calculation of in rom addresses for JSR, JSL, and branch operations with no internal labels.
-Note, LoRom, HiRom, and FastRom should be specified as needed


5. Streamline spacing of operations to save time in various things.

6. Jump table generation - with conversion to Rom addresses
-Absolute Linear
-Long Linear
-Absolute Indexed
-Long Indexed

7. Possibly generate (i.e. rip from the rom) data tables with specified types of spacing

8. Handle RTF API to generate colorized text

9. Reconfigure the maskbits array and create new ones to store branch destination and source information.
-incorporate data concerning register width at each particular opcode.


10. *optional* add support for PHP and PLP and stack balancing diagnostics. not sure if I need that and it would probably get pretty complicated with more hairy routines.


Ok, so I'm looking for suggestions and input, as well as some Beta Testers.


(edited by MathOnNapkins on 07-03-05 11:37 PM)
(edited by MathOnNapkins on 07-03-05 11:58 PM)
(edited by MathOnNapkins on 07-04-05 07:46 AM)
(edited by MathOnNapkins on 07-06-05 06:24 AM)
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2039/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-04-05 12:36 PM, in New to pointers Link
Originally posted by Kakason
Can someone give me a guide or tutorial on pointers and how to do them manually. Also can you list some tools and where to get them. Also can the tutorial or guide have easy explaination.

Thanks


in what context do you mean? C++/C or some other programming language, or rom hacking. It's mostly the same, but the C/C++ stuff is a little more technical b/c you're dealing with syntax.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2040/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-05-05 12:16 AM, in Working on a disassembler for 65816 Link

-add STP to the never-used opcodes.


Good suggestion. I'm considering including STP and WDM as other failsafe triggers. I might just collect a grouping of rare opcodes and call them that.


-my personal preference of labelnaming is not to use any random names, but to use Label+actual offset in the snes' memory map.
makes it easier to look up stuff in the rom if something with the disassembly went wrong.


Well, right now it has the capability of making up to 128 labels, though you'll probably never need more than that. Branches to labels that are not internal to the routine I just write as follows "BRANCH_$XXXXX". Now I use Rom-addresses for those. But you're saying you would prefer snes memory mapped addresses?


-hdma table logging.
might be impossible without keeping track of the dma channel regs now that i think about it.


I'm willing to give anything a shot if it will be useful. If you want to, e-mail me *edit: sorry now my e-mail address is listed for logged in users* with some rough details on how you think I might go about this, or post them here for all I care. I know a reasonable amount about dma and hdma, but I'm none too sure what you're referring to. Maybe a example of the type of output you're looking for would help.


i especially like the jump table generation part.


Me too


php/plp inside the current routine would be nice, yeah.


Well the only reason I was considering it was to keep a more accurate eye on the A and X/Y register width. But I've never seen it used that way. Of course, I wouldn't rule out that someone might have used it for changing register widths.

Okay, now back to work. Thanks for your input.


(edited by MathOnNapkins on 07-04-05 04:38 PM)
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2041/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-05-05 12:44 AM, in This was found...as a result of music finds... Link
Originally posted by Kanji
Nice!
FF2j was one of my favorite FFs. Nice to see so much progress on an editor for it!


^Look Leno, some people actually like the game you hack!
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2042/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-05-05 09:22 AM, in Tom Cruise =o Link
Well what was missed is that Slay is not saying that psyche drugs can't help people with Schizophrenia or other types of neurosis. Slay was talking about Social Anxiety Disorder and Clincal Depression. I don't see why you went off on the tangent dealing with the real crazies, Ziff.

Though, Slay, I always thought it was bad form to just up and leave a debate because you don't like the current state of affairs. Nine times out of ten people who back out just show up anyway b/c something "made them decide to come back". But do as you wish.


(edited by MathOnNapkins on 07-05-05 12:23 AM)
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 2043/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 07-05-05 02:10 PM, in Working on a disassembler for 65816 Link
For massive disassembly / reverse-engineering of the code, it would be nice if the disassembler could use the information the user has learned from the code to make sections more readible. For example, as I read through the code I could make a table of variable names, routine names, and even "macros" (some code was obviously generated with macros and it's annoying to see similar chunks again and again ... when the only info you'd really need is just the macro name).

Heh I feel your pain like no other. That's certainly something I have though about, but am not sure will be incorporated into this program. Once I've got the next major source of updates I'll probably make this open source. But yeah I hate seeing:

PHDB (push data bank)
PHPB (push program bank)
PLDB (pull data bank) <-- forgive my unorthodox mnemonics. The normal settings use the standard ones. The toggle button in the picture triggers my own personal settings.

80000 times in a row. It gets a little redundant and is a waste of two extra lines. So yeah, it's an idea, but I'm not sure if it would go in this project or another project at this time. The only problem is that once you learned more variable names you'd have to do your disassembly again, right? One way around that is to keep a usage file, so to speak, so that it can dump into one big file on a whim. Perhaps including a hex edit control to do some things visually would also help...

I have to do it entirely by hand.
up until a few weeks ago I was doing all disassembly by hand

2] If you are using tracing abilities ... I'd love something that notices DMA loads and marks that section of the rom as data (and maybe even mention where it is loaded to, so we have an idea of what the data is).

As I said to d4s I'd be happy to implement something that advanced users would appreciate. But, I would need to have some idea how to implement it. Please e-mail me. Currently it does a minimal trace, but it has been upgraded to a nonlinear trace. Meaning, it passes through the region you want disassembled several times, enough to gather all the data it needs. It currently only emulates the M and X flags in the P register. It doesn't load values into an accumulator or store things in memory. Please e-mail me or PM me to give details b/c I want to know how feasible these things are.


Yes, I would prefer snes memory addresses as well. These are the addresses in the actual opcode data (except for relative jumps), and for debugging purposes (putting in a breakpoint) this is the address needed. In short, the system address is usually the relavent address.


I see your point of view. And I will include it as a toggled setting somewhere. I prefer to have the rom address b/c it helps me hunt down code that I'm missing. I basically want something I can punch into a hex editor and hit goto.


I have seen this used. Not often within a routine, but quite often between routines.

The worst rom I've ever looked through as far as trying to keep track of the reg widths was the SF7 Bios. The coding style used there had no "standard" width and the routines didn't even always return with the same widths as when they were called. I'm not sure how the programmer kept that all straight in his mind. It was a horror to disassemble.


SF7 BIOS? You're referring to a game doctor? Well I guess that mini stack will probably make it in. But I think I'm only going to track PHP and PLP on that stack. Thing is, I'll probably have to clear that stack on every pass, or else I could get some garbled and inaccurate results... perhaps a register width override at a particular location would be more appropriate?


There are a couple projects I am working on now that require large disassembly of 65816 code. I can test your disassembler by using it, however I don't really have time to come up with extensive tests specifically to look for bugs.


I do a lot of testing myself. And when I think I've found a stable version I try it out on my own disassembly and I generally trust it.

If you could write a crude "decompiler" instead of just a disassembler, that would be incredible. But that's pretty much a different project entirely.

If you mean something that converts the machine code to something C-ish, well... like I said it's going to be open source. I don't believe I know enough about how C compiles to write a decompiler. I imagine using such a program would require a lot of tweaking even by the user... in the short run anyway.


Anyway, good luck on your project. I look forward to seeing how it turns out, and if you want me to help test it, just let me know.


Thanks. I imagine you are referring to the X-band project for the most part, and I wish you luck there as well.


(edited by MathOnNapkins on 07-05-05 05:11 AM)
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


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.038 seconds.