Skip to content

PenguinOfThunder/dasm-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dasm Docker

Docker container that lets you run dasm without installing it.

You probably don't need this. And it's less convenient than just installing the real thing.

Build Docker Image

docker build . -t dasm-docker --build-arg DASM_VERSION=2.20.14.1

Substitute the version for whichever version you're building for.

The build will just download the binary release from the dasm github.

Usage

Assume your game is called "game1". You can build the binaries for NTSC like this:

docker run --rm -it -v .:/home/dasm dasm-docker game1.asm -ogame1_ntsc2.bin -lgame1_ntsc.lst -sgame1_ntsc.sym -DNTSC=1 -DNO_ILLEGAL_OPCODES=1 -S -f3 -v5  -I/opt/dasm/machines/atari2600

Note the -v switch to mount the current directory to the /home/dasm volume.

Notes

This is not affiliated in any way with the dasm project in any way. It was created for my own use.

Enhancements

This only builds the Linux x64 version, but it should be fairly simple to set it up for multi-target and perhaps compile dasm from source.

About

A docker image for running dasm the 8-bit macro assembler without installing it

Topics

Resources

License

Stars

Watchers

Forks