summaryrefslogtreecommitdiff
path: root/emu/options.ggo
diff options
context:
space:
mode:
Diffstat (limited to 'emu/options.ggo')
-rw-r--r--emu/options.ggo63
1 files changed, 63 insertions, 0 deletions
diff --git a/emu/options.ggo b/emu/options.ggo
new file mode 100644
index 0000000..2f97ea1
--- /dev/null
+++ b/emu/options.ggo
@@ -0,0 +1,63 @@
+package "emu"
+version "0.0.1"
+usage "emu [options]"
+description "6502 emulator"
+
+section "Main Options"
+ option "long-version" -
+ "Full version and credentials"
+ optional
+
+ option "gui" g
+ "Enable GUI"
+ optional
+
+ option "debug" d
+ "Enable debugging output"
+ optional
+
+section "Run Options"
+
+ option "rom" r
+ "The code to load into ROM"
+ string typestr="filename"
+ default="rom.bin"
+ optional
+
+ option "steps" s
+ "Run at most 'steps' number of instructions (-1 means 'run forever')"
+ int typestr="steps"
+ default="-1"
+ optional
+
+section "Debug Options"
+
+ option "print-cpu" -
+ "Print status of CPU (registers, status register)"
+ optional
+
+ option "print-zero-page" -
+ "Print zero page of memory"
+ optional
+
+ option "print-stack" -
+ "Print stack area of memory"
+ optional
+
+ option "print-7seg" -
+ "Print what the 7-segment display on the VIA is doing"
+ optional
+
+section "GUI Options"
+
+ option "width" -
+ "Manually set width of the gui to x"
+ int typestr="pixel"
+ default="600"
+ optional
+
+ option "height" -
+ "Manually set height of the gui to y"
+ int typestr="pixel"
+ default="250"
+ optional