Unverified Commit b73c1174 authored by Molive's avatar Molive
Browse files

first commit

parents
*.sym
*.sfc
.build
.build_libsfx
\ No newline at end of file
{
"version": "2.0.0",
"type": "shell",
"tasks": [
{
"label": "build",
"command": "wsl \"make all\"",
"group": "build"
},
{
"label": "build and run",
"command": "wsl \"make run\"",
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
\ No newline at end of file
# Name
name := Template
debug := 0
export LIBSFX_RUNCMD = cmd.exe -c "start $(realpath $(rom))"
# Include libSFX.make
libsfx_dir := ../../../../../GIT/libSFX
include $(libsfx_dir)/libSFX.make
.include "libSFX.i"
Main:
;libSFX calls Main after CPU/PPU registers, memory and interrupt handlers are initialized.
;Set color 0
CGRAM_setcolor_rgb 0, 7,31,31
;Turn on screen
;The vblank interrupt handler will copy the value in SFX_inidisp to INIDISP ($2100)
lda #inidisp(ON, DISP_BRIGHTNESS_MAX)
sta SFX_inidisp
;Turn on vblank interrupt
VBL_on
: wai
bra :-
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment