I finally got around to playing with LaddieAlpha today.  I had been putting
it off and sticking to dlplus as the runtime requirement for Mono was a bit
off-putting for a UNIX bigot like myself.  But eventually I wanted access
to directories.

I like to leave my TPDD emulator up and running at all times on the storage
server in my home office so I can plug in at any time, save my stuff, and
have everything committed into my ZFS storage pool.  Leaving something up
and running at all times on a Linux box calls for containerization, so...

The secret sauce for running LaddieAlpha on a Linux box in a docker
container without having to figure out a bunch of Mono stuff that's outside
my wheelhouse and not something I want installed on the server itself
anyway.

1. I assume you store things in your home directory.  For me, the TPDD
stash is in ~/model100/stash

2. I assume you're willing to leave the LaddieAlpha.EXE in your home
directory.  I stuck mine in ~/model100/LaddieAlpha.EXE

3. I assume you already have the ability to run docker containers.

4. The magic:

$ docker run -d --name "laddiealpha" --device=/dev/ttyUSB0 -v "$(pwd)":/mnt
frolvlad/alpine-mono sh -c " cd /mnt/stash && mono /mnt/LaddieAlpha.EXE
/dev/ttyUSB0 6"

5. Enjoy!

Reply via email to