8BIT 1337 Posted March 2, 2003 Share 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 Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted March 2, 2003 Share 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 Link to comment Share on other sites More sharing options...
8BIT 1337 Posted March 2, 2003 Author Share 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 Link to comment Share on other sites More sharing options...
Greg Zumwalt Posted April 8, 2003 Share 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 Link to comment Share on other sites More sharing options...
Cybergoth Posted April 9, 2003 Share 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 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.