Jump to content

Open Club  ·  64 members

DASM
IGNORED

IFNDEF / error handling


Propane13

Recommended Posts

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...