The following are the supported command line arguments for zxian.
For a simpler, user-friendlier interface, use zxianui.

Usage:
         zxian -switch value

Switches:
  -sna <snapshot>     loads the specified snapshot file
                      example:    -sna manicminer.z80
                      example:    -sna manicminer.sna
  -tap <TAP file>     loads the specified TAP file
                      example:    -tap rastan.tap
  -zoom <integer>     enlarges window by an integer factor
                      example:    -zoom 2
  -silence            silences sounds
  -soundvolume        set sound volume (0 to 255)
  -noframeskip        disables automatic frame skipping
  -scanlines          simulates a CRT-like scanline effect
  -displaymode <integer>
                      sets the display mode; exit fullscreen via ALT+F4
                      0=windowed, 1=desktop fullscreen, 2=fullscreen
                      example:    -displaymode 1
                      Note: fullscreen modes may not work correctly
                            if zoom is too high for the supported
                            monitor resolutions
  -poke               enables the poke UI, which can modify memory
  -pokeaddr <integer> sets initial address and enables the poke UI
  -pokeval <integer>  sets initial value and enables the poke UI
  -framems <integer>  sets the duration of a video frame in milliseconds
                      default is 20 (since PAL video standard is 50fps)
                      example:    -framems 15
                      for values lower than 20, also specify
                          -videomode 1
                      for values higher than 20, lower sound sample rate
  -controllerconfig <config file>
                      loads the specified controller config file
                      example:
                           -controllerconfig .\controller\kempston.cfg
                      read the files inside controller\ for mapping info

Advanced switches, video:
  -frameskipallowance <integer>
                      percent of frame duration which triggers frameskip
                      example:    -frameskipallowance 3
                      (waits for 103%% frame duration before skipping)
  -videomode <integer>
                      sets method of driving video
                      0=QueueTimer-based, 1=SDL_Timer-based
                      example:    -videomode 0
  -renderer <integer>
                      selects the SDL renderer to be used
                      0=software, 1=accelerated
                      example:    -renderer 0

Advanced switches, sound:
  -soundmode <integer>
                      how sound is sampled with respect to frame length
                      0=auto, 1=static, 2=dynamic
                      example:    -soundmode 0
  -soundsamples <integer>
                      sample rate per second, default is 44100
                      example:    -soundsamples 22050
  -soundlogresyncs    logs a message every time a resync occurs

Advanced switches, sound sync:
Note: many of these are inter-dependent; changing one will likely
      require you to change others
  -soundbuffer <float>
                      buffer size in milliseconds (ms)
                      example:    -soundbuffer 200.0
  -soundsyncmindistance <float>
                      min distance for read head behind write head (ms)
                      example:    -soundsyncmindistance 5.0
  -soundsyncmaxdistance <float>
                      max distance for read head behind write head (ms)
                      example:    -soundsyncmaxdistance 150.0
  -soundsyncrewindamount <float>
                      adjustment amount for when read is too fast (ms)
                      example:    -soundsyncrewindamount 3.0
  -soundsyncfastforwardamount <float>
                      adjustment amount for when read is too slow (ms)
                      example:    -soundsyncfastforwardamount 4.0

Advanced switches, miscellaneous:
  -instructionlog     logs every instruction executed by
                      the CPU; produces VERY large log files
  -instructionstats   logs run-time instruction statistics
                      such as instruction frequency, etc.
