blob: 90bb5c166b97e55f0db26170306818231fc647fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
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
option "initialize" -
"Initialize all components with known values (not realistic, but useful for memchecks)"
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
option "start-paused" -
"Start the CPU in paused mode"
optional
|