gitignore
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(brew list *)",
|
||||
"Bash(brew search *)",
|
||||
"Bash(brew info *)"
|
||||
]
|
||||
}
|
||||
}
|
||||
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
.claude
|
||||
*.prg
|
||||
39
.vscode/tasks.json
vendored
Normal file
39
.vscode/tasks.json
vendored
Normal 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
21
Makefile
Normal 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
|
||||
@@ -1,9 +1,9 @@
|
||||
; -----------------------------------------------------------
|
||||
; hello.asm - C64 demo: szoveg kiiratas + keret villogtatas
|
||||
; Forditas: acme -f cbm -o hello.prg hello.asm
|
||||
; main.asm - C64 demo: szoveg kiiratas + keret villogtatas
|
||||
; Forditas: acme -f cbm -o main.prg main.asm
|
||||
; -----------------------------------------------------------
|
||||
|
||||
!to "hello.prg", cbm
|
||||
!to "main.prg", cbm
|
||||
|
||||
* = $0801
|
||||
|
||||
@@ -56,7 +56,7 @@ delay_inner:
|
||||
jmp color_loop
|
||||
|
||||
message:
|
||||
!text "HELLO, COMMODORE 64!"
|
||||
!text "main, COMMODORE 64!"
|
||||
!byte 13, 13
|
||||
!text "UDV TASI - JO PROGRAMOZAST!"
|
||||
!text "TELETYPE GAMES DEMO"
|
||||
!byte 13, 0
|
||||
Reference in New Issue
Block a user