From 7783a5d1819b9d19540b0cef2d9e1dc0d657eda7 Mon Sep 17 00:00:00 2001 From: ggn Date: Sat, 31 Oct 2015 15:36:34 +0200 Subject: [PATCH] Force -fa when user passes -p. --- rmac.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rmac.c b/rmac.c index 0c663b4..27642ec 100644 --- a/rmac.c +++ b/rmac.c @@ -133,6 +133,7 @@ void DisplayHelp(void) " -n Don't do things behind your back in RISC assembler\n" " -o file Output file name\n" " -p[n] Create an ST .prg (1=normal, 2=w/symbols)\n" + " Forces -fa\n" " -r[size] Pad segments to boundary size specified\n" " w: word (2 bytes, default alignment)\n" " l: long (4 bytes)\n" @@ -317,6 +318,9 @@ int Process(int argc, char ** argv) ++errcnt; return errcnt; } + // Enforce Alcyon object format - kind of silly + // to ask for .prg output without it! + obj_format = ALCYON; break; case 'r': // Pad seg to requested boundary size case 'R': -- 2.37.2