This commit is contained in:
2026-05-23 09:11:14 +02:00
parent dd46c2112e
commit cb706c6a54
3 changed files with 20 additions and 2 deletions

6
.vscode/tasks.json vendored
View File

@@ -1,6 +1,12 @@
{ {
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{
"label": "deps",
"type": "shell",
"command": "make deps",
"problemMatcher": []
},
{ {
"label": "build", "label": "build",
"type": "shell", "type": "shell",

View File

@@ -3,7 +3,19 @@ EMU = x64sc
SRC = main.asm SRC = main.asm
TARGET = main.prg TARGET = main.prg
.PHONY: build run clear rebuild rebuildrun UNAME_S := $(shell uname -s)
.PHONY: build run clear rebuild rebuildrun deps
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 (x64sc)."
@exit 1
endif
build: $(TARGET) build: $(TARGET)

View File

@@ -56,7 +56,7 @@ delay_inner:
jmp color_loop jmp color_loop
message: message:
!text "main, COMMODORE 64!" !text "HELLO, COMMODORE 64!"
!byte 13, 13 !byte 13, 13
!text "TELETYPE GAMES DEMO" !text "TELETYPE GAMES DEMO"
!byte 13, 0 !byte 13, 0