summaryrefslogtreecommitdiff
path: root/home/start.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 13:03:21 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 13:03:21 -0400
commit6bd86e10c32cd7b464425adfc01621f3ff6726aa (patch)
tree808b190bd43f5024cc694c4e229167ce7928b4d4 /home/start.asm
parentc9c59dc34323a5e0b1886db5f845c8d41620826e (diff)
Reorganize home header
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