summaryrefslogtreecommitdiff
path: root/emu/options.ggo
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-11-26 19:55:02 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2020-11-26 19:55:02 +0100
commit3d77f3f5ad41e931117425f58c74f49c9503bf7b (patch)
tree8165c8f10a1b3b3cec27cfb283ee218e7af3a519 /emu/options.ggo
parent394c9fbb6cc243e46b32aa9e7221b0e6cadd4c13 (diff)
download6502-3d77f3f5ad41e931117425f58c74f49c9503bf7b.tar.gz
6502-3d77f3f5ad41e931117425f58c74f49c9503bf7b.tar.bz2
more work on emulator, mainly debug and 7seg stuff
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