X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fz80%2Fmain.c;h=64984af6b6bf5e15c93731835d7e324591863925;hb=f1be544d8fcb3ff37000939b9739e427f65f3a91;hp=446db99cdb84018862cc210004085e77a85d6b33;hpb=ac3b73ef0556ed8a71ff7c5ce6702ba32f9b8ce1;p=fw%2Fsdcc diff --git a/src/z80/main.c b/src/z80/main.c index 446db99c..64984af6 100644 --- a/src/z80/main.c +++ b/src/z80/main.c @@ -30,13 +30,13 @@ #include "SDCCargs.h" #include "dbuf_string.h" -#define OPTION_BO "-bo" -#define OPTION_BA "-ba" -#define OPTION_CODE_SEG "--codeseg" -#define OPTION_CONST_SEG "--constseg" -#define OPTION_CALLE_SAVES_BC "--calle-saves-bc" -#define OPTION_PORTMODE "--portmode=" -#define OPTION_ASM "--asm=" +#define OPTION_BO "-bo" +#define OPTION_BA "-ba" +#define OPTION_CODE_SEG "--codeseg" +#define OPTION_CONST_SEG "--constseg" +#define OPTION_CALLEE_SAVES_BC "--callee-saves-bc" +#define OPTION_PORTMODE "--portmode=" +#define OPTION_ASM "--asm=" static char _z80_defaultRules[] = @@ -55,21 +55,21 @@ Z80_OPTS z80_opts; static OPTION _z80_options[] = { - { 0, OPTION_CALLE_SAVES_BC, &z80_opts.calleeSavesBC, "Force a called function to always save BC" }, - { 0, OPTION_PORTMODE, NULL, "Determine PORT I/O mode (z80/z180)" }, - { 0, OPTION_ASM, NULL, "Define assembler name (rgbds/asxxxx/isas/z80asm)" }, - { 0, OPTION_CODE_SEG, NULL, " use this name for the code segment" }, - { 0, OPTION_CONST_SEG, NULL, " use this name for the const segment" }, + { 0, OPTION_CALLEE_SAVES_BC, &z80_opts.calleeSavesBC, "Force a called function to always save BC" }, + { 0, OPTION_PORTMODE, NULL, "Determine PORT I/O mode (z80/z180)" }, + { 0, OPTION_ASM, NULL, "Define assembler name (rgbds/asxxxx/isas/z80asm)" }, + { 0, OPTION_CODE_SEG, NULL, " use this name for the code segment" }, + { 0, OPTION_CONST_SEG, NULL, " use this name for the const segment" }, { 0, NULL } }; static OPTION _gbz80_options[] = { - { 0, OPTION_BO, NULL, " use code bank " }, - { 0, OPTION_BA, NULL, " use data bank " }, - { 0, OPTION_CALLE_SAVES_BC, &z80_opts.calleeSavesBC, "Force a called function to always save BC" }, - { 0, OPTION_CODE_SEG, NULL, " use this name for the code segment" }, - { 0, OPTION_CONST_SEG, NULL, " use this name for the const segment" }, + { 0, OPTION_BO, NULL, " use code bank " }, + { 0, OPTION_BA, NULL, " use data bank " }, + { 0, OPTION_CALLEE_SAVES_BC, &z80_opts.calleeSavesBC, "Force a called function to always save BC" }, + { 0, OPTION_CODE_SEG, NULL, " use this name for the code segment" }, + { 0, OPTION_CONST_SEG, NULL, " use this name for the const segment" }, { 0, NULL } };