gitignore

This commit is contained in:
2026-05-23 09:04:38 +02:00
parent 9021354ca6
commit dd46c2112e
6 changed files with 67 additions and 14 deletions

View File

@@ -1,9 +0,0 @@
{
"permissions": {
"allow": [
"Bash(brew list *)",
"Bash(brew search *)",
"Bash(brew info *)"
]
}
}

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.claude
*.prg

39
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,39 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "make build",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
"label": "run",
"type": "shell",
"command": "make run",
"problemMatcher": []
},
{
"label": "clear",
"type": "shell",
"command": "make clear",
"problemMatcher": []
},
{
"label": "rebuild",
"type": "shell",
"command": "make rebuild",
"problemMatcher": []
},
{
"label": "rebuildrun",
"type": "shell",
"command": "make rebuildrun",
"problemMatcher": []
}
]
}

21
Makefile Normal file
View File

@@ -0,0 +1,21 @@
ASM = acme
EMU = x64sc
SRC = main.asm
TARGET = main.prg
.PHONY: build run clear rebuild rebuildrun
build: $(TARGET)
$(TARGET): $(SRC)
$(ASM) -f cbm -o $(TARGET) $(SRC)
run: build
$(EMU) $(TARGET)
clear:
rm -f $(TARGET)
rebuild: clear build
rebuildrun: clear build run

BIN
hello.prg

Binary file not shown.

View File

@@ -1,9 +1,9 @@
; ----------------------------------------------------------- ; -----------------------------------------------------------
; hello.asm - C64 demo: szoveg kiiratas + keret villogtatas ; main.asm - C64 demo: szoveg kiiratas + keret villogtatas
; Forditas: acme -f cbm -o hello.prg hello.asm ; Forditas: acme -f cbm -o main.prg main.asm
; ----------------------------------------------------------- ; -----------------------------------------------------------
!to "hello.prg", cbm !to "main.prg", cbm
* = $0801 * = $0801
@@ -56,7 +56,7 @@ delay_inner:
jmp color_loop jmp color_loop
message: message:
!text "HELLO, COMMODORE 64!" !text "main, COMMODORE 64!"
!byte 13, 13 !byte 13, 13
!text "UDV TASI - JO PROGRAMOZAST!" !text "TELETYPE GAMES DEMO"
!byte 13, 0 !byte 13, 0