Skip to content

Instantly share code, notes, and snippets.

@olegslavkin
Last active December 6, 2020 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olegslavkin/d9884b966a2aacde108dbdb7c79992a4 to your computer and use it in GitHub Desktop.
Save olegslavkin/d9884b966a2aacde108dbdb7c79992a4 to your computer and use it in GitHub Desktop.

Clone and compile

unset PRJ
export PRJ=${HOME}/Projects/pce
git clone git://git.hampa.ch/pce.git ${PRJ} && cd ${PRJ}
CFLAGS="-g3 -pg -fno-omit-frame-pointer " LDFLAGS="-g3" ./configure --prefix=$HOME/.local --disable-atari-st --disable-cpm80 --disable-macplus --disable-rc759 --disable-sim405 --disable-sims32 --disable-simarm --disable-vic20 --with-x
make -j $(nproc) && make install

help for pce-ibmpc

$ pce-ibmpc --help
pce-ibmpc: IBM PC 5150 emulator

usage: pce-ibmpc [options]
  -?, --help               Print usage information
  -b, --boot int           Set the boot drive
  -c, --config string      Set the config file name [none]
  -d, --path string        Add a directory to the search path
  -g, --video string       Set the video device
  -i, --ini-prefix string  Add an ini string before the config file
  -I, --ini-append string  Add an ini string after the config file
  -l, --log string         Set the log file name [none]
  -p, --cpu string         Set the CPU model
  -q, --quiet              Set the log level to error [no]
  -r, --run                Start running immediately [no]
  -R, --no-monitor         Never stop running [no]
  -s, --speed int          Set the CPU speed
  -t, --terminal string    Set the terminal device
  -v, --verbose            Set the log level to debug [no]
  -V, --version            Print version information
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment