8BIT 1337 #1 Posted March 2, 2003 I'm in the beginning stages of playing around with graphical hacks. Before I actually do anything I want to be comfortable with the disassemble and reassemble stages. I've used Distella to dissassemble a 4k rom, using the -a option, and when I try to use dasm on the resulting file I get an error for *every* line: "Unknown Mnemonic." What idiotic thing am I doing to cause this? I'm using version 2.12 of Dasm. I've tried 2.02 as well with the same result. Any help will be appreciated! Quote Share this post Link to post Share on other sites
Thomas Jentzsch #2 Posted March 2, 2003 You have to tell DASM the CPU type Add processor 6502 (with at least one blank before!) at the start of your code. Quote Share this post Link to post Share on other sites
8BIT 1337 #3 Posted March 2, 2003 That worked of course - Thanks! I must have missed that little tidbit somewhere along the line! First hack, here I come... Quote Share this post Link to post Share on other sites
Greg Zumwalt #4 Posted April 8, 2003 Thanks here too. I transfered my software from a Win98 machine to one running XP and thought it was an OS issue. Glad I checked here first This little batch script really helps out: DISSAMBLE.BAT echo processor 6502 > %1.s distella -a %1.bin >> %1.s Just type disassemble and the file name, no extension. Quote Share this post Link to post Share on other sites
Cybergoth #5 Posted April 9, 2003 Hi Greg! echo processor 6502 > %1.sdistella -a %1.bin >> %1.s Try this one: distella -pa %1.bin >> %1.s Greetings, Manuel Quote Share this post Link to post Share on other sites