summaryrefslogtreecommitdiff
path: root/home/start.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/start.asm')
-rw-r--r--home/start.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/home/start.asm b/home/start.asm
new file mode 100644
index 00000000..448b6362
--- /dev/null
+++ b/home/start.asm
@@ -0,0 +1,10 @@
+_Start::
+ cp GBC
+ jr z, .gbc
+ xor a
+ jr .ok
+.gbc
+ ld a, 0
+.ok
+ ld [wGBC], a
+ jp Init