- [NEW] load binary to memory from inside or as arguments to exe
- Trying berserk
This commit is contained in:
27
test.asm
Normal file
27
test.asm
Normal file
@@ -0,0 +1,27 @@
|
||||
.org $8000
|
||||
|
||||
ei
|
||||
START:
|
||||
ld a, 2
|
||||
out ($fe), a
|
||||
ld b, 255
|
||||
ld de, TILES
|
||||
ld hl, $4000
|
||||
LOOP:
|
||||
ld a, (de)
|
||||
ld (hl), a
|
||||
inc e
|
||||
inc h
|
||||
djnz LOOP
|
||||
ld a, (de)
|
||||
ld hl, $5800
|
||||
ld (hl), a
|
||||
|
||||
ld a, 0
|
||||
out ($fe), a
|
||||
|
||||
halt
|
||||
jr START
|
||||
|
||||
TILES: db $81, $42, $24, $18, $18, $24, $42, $81, $4d
|
||||
|
||||
Reference in New Issue
Block a user