aboutsummaryrefslogtreecommitdiff
path: root/tiles.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-08-03 16:12:57 +0900
committerAstatin <astatin@redacted>2024-08-03 16:12:57 +0900
commit6b0db29bfccbdce4ea4a438f2ccb921173f96afa (patch)
tree4058c787d75e6a2ee1e7e1214abb59bb9b137464 /tiles.gbasm
Initial commit
Diffstat (limited to 'tiles.gbasm')
-rw-r--r--tiles.gbasm22
1 files changed, 22 insertions, 0 deletions
diff --git a/tiles.gbasm b/tiles.gbasm
new file mode 100644
index 0000000..f69a87d
--- /dev/null
+++ b/tiles.gbasm
@@ -0,0 +1,22 @@
+
+Tile_Image_Data:
+ .DB $00, $00, $44, $44, $aa, $ee, $aa, $ee, $fe, $b2, $fc, $b4, $fc, $94, $75, $4d
+ .DB $7f, $42, $2f, $30, $1f, $10, $39, $26, $37, $2f, $48, $78, $50, $70, $60, $60
+ .DB $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $c0, $c0
+ .DB $34, $f4, $ce, $3a, $fe, $0a, $fc, $04, $bc, $c4, $5c, $64, $88, $f8, $f0, $f0
+
+Load_Tile:
+ LD HL, $8010
+ LD DE, =Tile_Image_Data
+ LD B, $40
+ Load_Tile.loop0:
+ LD A, (DE)
+ LD (HL+), A
+ INC DE
+ DEC B
+ XOR A
+ CP B
+ JR NZ =Load_Tile.loop0
+ RET
+
+