Dockerized SicTools
- Setup X11 server
- On Windows
- If you use WSL(Windows Subsystem for Linux), figure out WSLg is enabled(it provide x11, and pulseaudio)
- if not config your environment using x11 server for example VcXsrv, Xming, or etc
- If you use WSL(Windows Subsystem for Linux), figure out WSLg is enabled(it provide x11, and pulseaudio)
- On Windows
- Docker or equivalent like Podman
git clone git@github.com:LMinJae/SicTools-Dockerfile.git
cd SicTools-Dockerfile
docker build -t sictools .
First line -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY
is passing X11 server information for display GUI
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY \
-it \
-v .:/tmp \
sictools
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY \
-it \
-v .:/tmp \
sictools sic.Asm source.asm
where source.asm is the file to be compiled.
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY \
-it \
-v .:/tmp \
sictools sic.Asm -help
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY \
-it \
-v .:/tmp \
sictools sic.Link -o out.obj in1.obj in2.obj ...
where out.obj is the output file and in1, in2,… are .obj files to be linked.
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY \
-it \
-v .:/tmp \
sictools sic.Link -help
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY \
-it \
-v .:/tmp \
sictools sic.Link -g