Mercurial > hg > index.cgi
diff lwlink/main.c @ 148:08fb11004df9
Initial pass at OS9 module support for lwlink
author | lost@l-w.ca |
---|---|
date | Fri, 26 Aug 2011 23:26:00 -0600 |
parents | fdc11ef4115b |
children | 606123758641 |
line wrap: on
line diff
--- a/lwlink/main.c Thu Aug 25 22:29:58 2011 -0600 +++ b/lwlink/main.c Fri Aug 26 23:26:00 2011 -0600 @@ -74,6 +74,8 @@ outformat = OUTPUT_RAW; else if (!strcasecmp(arg, "lwex0") || !strcasecmp(arg, "lwex")) outformat = OUTPUT_LWEX0; + else if (!strcasecmp(arg, "os9")) + outformat = OUTPUT_OS9; else { fprintf(stderr, "Invalid output format: %s\n", arg); @@ -119,7 +121,7 @@ { "debug", 'd', 0, 0, "Set debug mode"}, { "format", 'f', "TYPE", 0, - "Select output format: decb, raw, lwex"}, + "Select output format: decb, raw, lwex, os9"}, { "decb", 'b', 0, 0, "Generate DECB .bin format output, equivalent of --format=decb"}, { "raw", 'r', 0, 0,