qemu from homebrew is recommended for tsapp development. See the main README for details.
If you don't want to use qemu, this documents a way to use UTM on macOS for tsapp development. It's not as quick of an edit-run-test iteration cycle, but this is how:
tsapp.imgx86_64 (for now; arm64 later)Standard PC (...) (q35)virtio-net-pcivirtio-vga (not that there's much to see)VirtIO, Import ... find tsapp.img again. Save.Once created & the img is imported once, UTM converts it to qcow2 format
under $HOME/Library/Containers/com.utmapp.UTM/Data/Documents/Tsapp.utm/Data/tsapp.qcow2.
To update it, stop the VM, then:
qemu-img convert -f raw -O qcow2 tsapp.img tsapp.qcow2 && \
mv tsapp.qcow2 $HOME/Library/Containers/com.utmapp.UTM/Data/Documents/Tsapp.utm/Data/tsapp.qcow2
To attach to its serial:
% /Applications/UTM.app/Contents/MacOS/utmctl list
UUID Status Name
C0DE927B-F426-4ABA-A6E7-E30AA429371F started Tsapp
% % /Applications/UTM.app/Contents/MacOS/utmctl attach C0DE927B-F426-4ABA-A6E7-E30AA429371F
WARNING: attach command is not implemented yet!
PTTY: /dev/ttys017
% screen /dev/ttys017
(Then Ctrl-a K to kill screen session)