aboutsummaryrefslogtreecommitdiff
path: root/print.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-08-15 16:38:19 +0900
committerAstatin <astatin@redacted>2024-08-15 16:38:19 +0900
commit16e0ec4460954b65f3b972fab00f3ad7527062ff (patch)
tree352401c64d31c7779a991ef58b9bfd645f5573e8 /print.gbasm
parentf9f115384757135fa8488bd43eb3e5e91cc243d9 (diff)
Displaying pre-generated dungeon
Diffstat (limited to 'print.gbasm')
-rw-r--r--print.gbasm18
1 files changed, 0 insertions, 18 deletions
diff --git a/print.gbasm b/print.gbasm
deleted file mode 100644
index e5bb898..0000000
--- a/print.gbasm
+++ /dev/null
@@ -1,18 +0,0 @@
-Print_8bit: ; Number in A, Memory Tilemap position in HL
- PUSH AF
- PUSH BC
-
- LD C, A
- SWAP A ; We start by the highest nibble
- AND $0f
- OR $10
- LD (HL+), A
-
- LD A, C
- AND $0f ; Then the lowest
- OR $10
- LD (HL+), A
-
- POP BC
- POP AF
- RET