[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SMOKING CLOVER (Color Tv)
From: |
Alfred M. Szmidt |
Subject: |
Re: SMOKING CLOVER (Color Tv) |
Date: |
Sat, 25 Jan 2025 07:43:51 -0500 |
I think we should reduce command line options and shove as much stuff
into usim.ini. I was looking at the current ones, and they do seem
... seem sensible.
Idle / performance slider, I'm not sure what the purpose would be
... normally you run usim for a long time, and such a configuration
would be more or less permanent?
Just brain dump here, this is our current list:
-a enable Color TV
-b disable auto run from boot (usim will not automatically run
after boot)
-c FILE configuration file (default: usim.ini)
-d dump all PC history of state on halt
-D like -d, but verbose
-g X,Y[,DISP] set window position to X,Y overriding the config (decimal
integers)
-h display this help message
-k PORT lashup target port to connect to the debuggee
-p disable auto power off (usim will not exit when stopped)
-w [FILE] warm boot (from usim:state_filename or FILE)
-f LC DISABLED: enable *full* tracing after lc reaches LC (decimal
integer)
-l LC DISABLED: dump state whenever lc reaches LC (decimal integer)
-t VMEM DISABLED: add a read/write trace for virtual memory location
VMEM (decimal integer)
-u npc DISABLED: dump state whenever the microcode pc reaches npc
(decimal integer)
I'd suggest we reorganize it slightly:
-c FILE configuration file (default: usim.ini)
-g X,Y[,DISP] set window position to X,Y overriding the config (decimal
integers)
-a enable Color TV
-w [FILE] warm boot (from usim:state_filename or FILE)
-b disable auto run from boot (usim will not automatically run
after boot)
-p disable auto power off (usim will not exit when stopped)
-k PORT lashup target port to connect to the debuggee
-d dump all PC history of state on halt
-D like -d, but verbose
-f LC DISABLED: enable *full* tracing after lc reaches LC (decimal
integer)
-l LC DISABLED: dump state whenever lc reaches LC (decimal integer)
-t VMEM DISABLED: add a read/write trace for virtual memory location
VMEM (decimal integer)
-u npc DISABLED: dump state whenever the microcode pc reaches npc
(decimal integer)
-h display this help message
Would it make sense to delete -g and make it possible to set that via
usim.ini? Just an idea, I think having -g is useful, and many
programs support it anyway.
I'd also maybe suggest that since by default we dump _some_ history,
we delete -D or make -d into -D. -d is still very useful for early
broken stuff, if it prints more stuff it doesn't do much harm.
Regarding -f/-l/-t/-u -- are we (you?) using those? If they are
disabled, maybe just elide them from usage() entierly. I see use for
those, so very on the fence.
- SMOKING CLOVER (Color Tv), Alfred M. Szmidt, 2025/01/23
- Re: SMOKING CLOVER (Color Tv), Björn Victor, 2025/01/23
- Re: SMOKING CLOVER (Color Tv), Alfred M. Szmidt, 2025/01/23
- Re: SMOKING CLOVER (Color Tv), Alfred M. Szmidt, 2025/01/23
- Re: SMOKING CLOVER (Color Tv), Björn Victor, 2025/01/24
- Re: SMOKING CLOVER (Color Tv), Mete Balci, 2025/01/24
- Re: SMOKING CLOVER (Color Tv), Alfred M. Szmidt, 2025/01/25
- Re: SMOKING CLOVER (Color Tv), Mete Balci, 2025/01/25
- Re: SMOKING CLOVER (Color Tv),
Alfred M. Szmidt <=
- Re: SMOKING CLOVER (Color Tv), Mete Balci, 2025/01/25