+Propane13 Posted August 5 Share Posted August 5 First of all, I realize this is a beginner question- thank you for your patience; I'm quite rusty. Can DASM do the something like the following? IFNDEF NTSC RAISE_ERROR "NTSC not defined, bailing out" ENDIF On a related note, is there a way I can pass in a parameter on the command line to define the NTSC const value (something like what I have below)? ${DASM} source_code.asm -f3 -DNTSC=1 -obinary.bin Thanks! Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted August 5 Share Posted August 5 You are looking for IFNCONST. And -D works as you describe. dasm.pdf Link to comment Share on other sites More sharing options...
Recommended Posts