Teletype Games Plus/4 demo: a TED colour-wash title card in 6502 assembly, on the served plus4 pipeline
ci/woodpecker/manual/plus4 Pipeline was successful

This commit is contained in:
2026-09-07 23:20:17 +02:00
commit 68d64b4e12
7 changed files with 351 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
# -----------------------------------------
# Makefile Plus/4 project builder (ACME + VICE)
# -----------------------------------------
PROJECT = plus4-demo
ASM = acme
EMU = xplus4
SRC = main.asm
SRCS = $(wildcard *.asm)
TARGET ?= $(PROJECT).prg
METADATA = metadata.json
UNAME_S := $(shell uname -s)
# CI/CD variables
VERSION_FILE = .version
all: build
deps:
ifeq ($(UNAME_S),Darwin)
@command -v brew >/dev/null 2>&1 || { echo "Homebrew kell ehhez. Telepitsd: https://brew.sh"; exit 1; }
brew install acme vice
else
@echo "A 'deps' target csak macOS-en (Darwin) automatikus. Detektalt OS: $(UNAME_S)"
@echo "Telepitsd kezzel: acme assembler + VICE emulator (xplus4)."
@exit 1
endif
build: $(TARGET)
$(TARGET): $(SRCS)
$(ASM) -f cbm -o $(TARGET) $(SRC)
run: build
$(EMU) $(TARGET)
clear:
rm -f $(TARGET) $(PROJECT)-*.prg $(PROJECT)-*.metadata.json $(VERSION_FILE)
rebuild: clear build
rebuildrun: clear build run
.PHONY: all deps build run clear rebuild rebuildrun