StanJr Posted January 4, 2004 Share Posted January 4, 2004 Ok, in my major ET overhaul I need to get rid of the ET themed music. So assuming I can run ET through DiStella and get a disassembly, what do I need to look for to locate the section of code governing the sound and how do I turn it off? Quote Link to comment Share on other sites More sharing options...
Nukey Shay Posted January 4, 2004 Share Posted January 4, 2004 Look for areas of the program that save values into the audio registers...AUDC0 ($15), AUDF0 ($17), AUDV0 ($19), and AUDV1 ($1A). Then try playing aound with those values (like loading an absolute value instead of one from rom memory). It should only take a few tries to discover which ones do what...and that should lead you to a table that holds the music data. Quote Link to comment Share on other sites More sharing options...
StanJr Posted January 5, 2004 Author Share Posted January 5, 2004 ok, I can dig that. Now what about turning it off? Quote Link to comment Share on other sites More sharing options...
Nukey Shay Posted January 5, 2004 Share Posted January 5, 2004 That's the thing. Once you locate the routine that handles the music in the game, you can just remove the instructions that are saving the values to those registers (or substitute new values in the table that the values are coming from for a tune of your own). Search, NOP, try...search, NOP, try... Quote Link to comment Share on other sites More sharing options...
ATARI TROLL Posted January 5, 2004 Share Posted January 5, 2004 Stan, you have your work cut out but it sounds interesting. Keep us posted. @Nukey I enjoy reading your advice and where to go! Your always helpful to everyone. Cheers to both of you! Quote Link to comment Share on other sites More sharing options...
uosipa llamxew Posted January 5, 2004 Share Posted January 5, 2004 @Nukey I enjoy reading your advice and where to go! Your always helpful to everyone. Agreed! Nukey always has really good input... extremely knowledgable about these things! @Nukey... have you any projects of your own brewing? Quote Link to comment Share on other sites More sharing options...
Nukey Shay Posted January 5, 2004 Share Posted January 5, 2004 Yeah...to find a steady job. Shucks, you guys flatter me Really, I'm not all that bright...just methods that I've used in the past to hack games on the A800. I've stepped on a few toes before when trying to come up with actual solutions, so I try to just give advice that details how I would go about solving things. Not only that, but I once tried to make sense of ET's program and was blinded for 3 days Seriously, when Thomas was looking around the program for the JD routine...I wonder if he made a disassembly of the game? Quote Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted January 5, 2004 Share Posted January 5, 2004 Seriously, when Thomas was looking around the program for the JD routine...I wonder if he made a disassembly of the game? I just distella'd the game and it's about 99.9% uncommented. Quote Link to comment Share on other sites More sharing options...
StanJr Posted January 5, 2004 Author Share Posted January 5, 2004 PROBLEM! I tried to run ET through DiStella 3.0 and it gave me an error message that says the game is not the right size? Yet Thomas said he did it. What did I do wrong? I used the command distella.exe -pafs E_T.bin > E_T.txt I'm looking to completely overhaul ET in every way possible. Sound will be key. Color too. This is the biggest project have ever undertaken in terms of Atari hacking, so you vets will have to excuse my blind ignorance and repeatedly annoying questions. Thanks to all for the help! Quote Link to comment Share on other sites More sharing options...
Nukey Shay Posted January 5, 2004 Share Posted January 5, 2004 Distella is designed to work with 2k/4k rom images (because 4k is the maximum that the 6507 chip can access). Bankswitched carts need to be broken up into smaller files. Quote Link to comment Share on other sites More sharing options...
StanJr Posted January 5, 2004 Author Share Posted January 5, 2004 Wonderful. Now how am I supposed to do that? Or could Thomas maybe slide me a copy of his disassembly? Quote Link to comment Share on other sites More sharing options...
Nukey Shay Posted January 5, 2004 Share Posted January 5, 2004 lol Now you know why I've avoided 8k games like the plague You can use a program like Mastersplitter to break up the .bin into 4k segments. I use one called HJsplit that seems to work better on my slower system. Mastersplitter (shareware) HJsplit (freeware) Quote Link to comment Share on other sites More sharing options...
NE146 Posted January 5, 2004 Share Posted January 5, 2004 Wonderful. Now how am I supposed to do that? http://www.atariage.com/forums/viewtopic.php?t=3214 Quote Link to comment Share on other sites More sharing options...
StanJr Posted January 5, 2004 Author Share Posted January 5, 2004 You are a sweet sweet man. I take it these programs are self explanatory? Quote Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted January 5, 2004 Share Posted January 5, 2004 Attached you find the two DiStella config files and the resulting 4K assemblies. I never merged them together, sorry. et.zip Quote Link to comment Share on other sites More sharing options...
StanJr Posted January 5, 2004 Author Share Posted January 5, 2004 and you are a sweet sweet man as well! Thanks! Quote Link to comment Share on other sites More sharing options...
Paul Slocum Posted January 5, 2004 Share Posted January 5, 2004 The way I disable sound is to redirect all the sound register writes to a location that does nothing (usually location $2D.) This leaves the number of cycles and bytes in the code unchanged. -paul Quote Link to comment Share on other sites More sharing options...
StanJr Posted January 6, 2004 Author Share Posted January 6, 2004 yet more help from yet another sweet sweet man. Thank you! All of this help is duly noted and will be infinitely helpful! Quote Link to comment Share on other sites More sharing options...
Nukey Shay Posted January 6, 2004 Share Posted January 6, 2004 Excellent advice...that would be better than trying to NOP them out. It looks like $bec4-$beff in the first bank might be the music data...called from the routine at $Lb4cc. Tho I never did anything to test that assumption. Quote Link to comment Share on other sites More sharing options...
ATARI TROLL Posted January 6, 2004 Share Posted January 6, 2004 It's so nice to be back to my oldself again...Took 3 weeks of pain. Anyway, I am glad to read and sit back and follow everything that is going on. Course my favs are the Homebrewers and Hack authors. They have their differences. A hack as we all know is easy, Homebrewing takes some extreme knowledge. I read, dabble with code, and delete most of my unfinished projects. My learning is from everyone here that contributes to AA. I know I am going to miss a few names here but wouldn't it be neat to have a new thread called Atari New Age Pioneers: Such names: Thomas Jentsch, CPUWIZ, Albert, sku_u, Joey Bastard, Alex, Andrew Davie, Nukey, Stan Jr. Atarius Maximus, NE146 (King of Adult Games) ......Names are in no particular order. I know there are more names worth mentioning..Iacovelli, Slocum, Snailsoft, etc. God the list goes on and on. To everyone here, CHEERS TO YOU, CHEERS TO ME, MAY WE NEVER DISAGREE....BUT IF WE DO, FAR-Q..CAUSE I'M RIGHT.-jk In the words of a worn out TROLL: "Keep em coming". P.S.Glad to see STAN FRYING HIS EYES OUT!! Quote Link to comment Share on other sites More sharing options...
Nukey Shay Posted January 6, 2004 Share Posted January 6, 2004 Hey...let's not turn this thread into another group hug j/k Quote Link to comment Share on other sites More sharing options...
StanJr Posted January 6, 2004 Author Share Posted January 6, 2004 Hacking is NOT easy, at least not what I am trying to do. True, Homebrewing requires true GENIUS, but some levels of hacking are very hard, while some are VERY easy (My vector hack of Ms. Pac was rediculously easy ) This ET hack is giving me fits, but teaching me a lot at the same time. I owe everything to the geniuses here at AA, Thomas, Paul, Nukey, NE146, plus many more. Thanks! I'll dig into the sound tomorrow and I'm SURE I'll have thousands of idiodic questions. Quote Link to comment Share on other sites More sharing options...
uosipa llamxew Posted January 6, 2004 Share Posted January 6, 2004 Hey...let's not turn this thread into another group hug Awww... come here, you!!! LOL! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.