Compare commits
2 Commits
379d1c88fc
...
14b496ae1c
Author | SHA1 | Date | |
---|---|---|---|
|
14b496ae1c | ||
|
f6efec6961 |
@ -65,6 +65,16 @@ start:
|
|||||||
cpx #(charset_end - charset)
|
cpx #(charset_end - charset)
|
||||||
bne @charset_loop
|
bne @charset_loop
|
||||||
|
|
||||||
|
; Manually clear screen
|
||||||
|
ldx #(VRAM_BG1)
|
||||||
|
@loop:
|
||||||
|
stx VMADDL
|
||||||
|
stz VMDATAL
|
||||||
|
stz VMDATAH
|
||||||
|
inx
|
||||||
|
cpx #(VRAM_BG1 + 32 * 29)
|
||||||
|
bne @loop
|
||||||
|
|
||||||
; write tile to position (1, 1)
|
; write tile to position (1, 1)
|
||||||
TILE_X = 1
|
TILE_X = 1
|
||||||
TILE_Y = 1
|
TILE_Y = 1
|
||||||
|
3
justfile
3
justfile
@ -1,6 +1,9 @@
|
|||||||
default:
|
default:
|
||||||
just --list
|
just --list
|
||||||
|
|
||||||
|
run-homebrew: homebrew-tutorial
|
||||||
|
mesen-s ./out/main.sfc
|
||||||
|
|
||||||
homebrew-tutorial:
|
homebrew-tutorial:
|
||||||
mkdir -p out
|
mkdir -p out
|
||||||
ca65 ./homebrew-tutorial/main.asm -o ./out/main.o -g
|
ca65 ./homebrew-tutorial/main.asm -o ./out/main.o -g
|
||||||
|
Loading…
Reference in New Issue
Block a user