mirror of https://github.com/pfusik/xasm.git
OPT ?+ for MADS compatibility.
This commit is contained in:
parent
6f25038d95
commit
52ef8c05d6
|
@ -1,6 +1,6 @@
|
||||||
// xasm 3.1.1 by Piotr Fusik <fox@scene.pl>
|
// xasm 3.1.1 by Piotr Fusik <fox@scene.pl>
|
||||||
// http://xasm.atari.org
|
// http://xasm.atari.org
|
||||||
// Can be compiled with DMD v2.092.0.
|
// Can be compiled with DMD v2.096.0.
|
||||||
|
|
||||||
// Poetic License:
|
// Poetic License:
|
||||||
//
|
//
|
||||||
|
@ -2171,6 +2171,10 @@ void assemblyOpt() {
|
||||||
case 'u':
|
case 'u':
|
||||||
optionUnusedLabels = readOption();
|
optionUnusedLabels = readOption();
|
||||||
break;
|
break;
|
||||||
|
case '?':
|
||||||
|
if (!readOption())
|
||||||
|
throw new AssemblyError("OPT ?- not supported");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
column--;
|
column--;
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -304,12 +304,14 @@ Six options are available:
|
||||||
+
|
+
|
||||||
You can turn any of these on or off.
|
You can turn any of these on or off.
|
||||||
The default (if no `OPT` specified) is `opt f-g-h+l+o+u+`.
|
The default (if no `OPT` specified) is `opt f-g-h+l+o+u+`.
|
||||||
|
For compatibility with MADS, `opt ?+` is accepted and ignored.
|
||||||
Examples:
|
Examples:
|
||||||
+
|
+
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
opt l- listing off
|
opt l- listing off
|
||||||
opt l+o- listing on, object file off
|
opt l+o- listing on, object file off
|
||||||
opt f+g+h- useful for Atari 5200 cartridges - raw output, 5200 hw regs
|
opt f+g+h- useful for Atari 5200 cartridges - raw output, 5200 hw regs
|
||||||
|
opt ?+ MADS compatibility, no effect
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
*ORG* - change value of the origin counter::
|
*ORG* - change value of the origin counter::
|
||||||
|
|
Loading…
Reference in New Issue