diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 50eb553..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: rick-gnous diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index fe89e52..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,9 +0,0 @@ -# Set update schedule for GitHub Actions - -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - # Check for updates to GitHub Actions every weekday - interval: "daily" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 35c2bfd..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Test-MSX - -on: - push: - branches: - - 'main' - - 'master' - - 'dev' - paths-ignore: - - '**/README.md' - pull_request: - branches: - - '*' - workflow_dispatch: - -jobs: - image: - name: Test-MSX - runs-on: ubuntu-20.04 - steps: - - name: "📥 Checkout Code" - uses: actions/checkout@v2.3.4 - with: - submodules: 'recursive' - fetch-depth: 0 - - name: "🛠️ Build" - run: make docker diff --git a/Makefile b/Makefile index 8bc8ebc..98d9125 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,5 @@ CC=sjasmplus -DOCKER=docker - CFLAGS= -SRCS = $(wildcard *.asm) -OBJ = $(patsubst %.asm,%,$(SRCS)) -all: $(OBJ) - -$(OBJ): +%: $(CC) $@.asm --raw=$@.rom - -docker: - $(DOCKER) pull bensuperpc/sjasmplus:latest - $(DOCKER) run --rm -v "$(PWD)":/usr/src/myapp -w /usr/src/myapp bensuperpc/sjasmplus:latest make all \ No newline at end of file diff --git a/README.md b/README.md index 91ce7b7..e9b649f 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,6 @@ Le compilateur [SJASMplus](https://github.com/z00m128/sjasmplus) est utilisé af sjasmplus hello.asm --raw=hello.rom ``` -Il est aussi possible d’utiliser le Makefile avec la commande `make <nom programme>`; pour le helloworld par exemple : `make hello`. La commande `make` compilera tous les fichiers .asm. +Il est aussi possible d’utiliser le Makefile avec la commande `make <nom programme>`; pour le helloworld par exemple : `make hello`. Je m'appuie sur [les tutos de Chibiakumas](https://www.chibiakumas.com/z80/msx.php) pour l’écriture des différents programmes.