summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-01-27 16:22:41 -0500
committeryenatch <yenatch@gmail.com>2014-01-27 16:24:13 -0500
commit1b9ee46af9f8baac0d266a54130115a719788377 (patch)
tree8ac61c0752dc74da0677cb26fe4db6362db5b2b7 /audio
parent6bde08504fdc336b1d458bab0bed4ef649cae25a (diff)
Get rid of globals.asm. Use ::s to export labels between objects.
globals.asm was a hack that: - gave rgbasm an extra 100k lines to read - increased reliance on the python preprocessor - made the makefile a mess - gave object creation an extra step - wasn't even necessary This speeds up build time by at least a third.
Diffstat (limited to 'audio')
-rw-r--r--audio/engine_1.asm4
-rw-r--r--audio/engine_2.asm4
-rw-r--r--audio/engine_3.asm4
3 files changed, 6 insertions, 6 deletions
diff --git a/audio/engine_1.asm b/audio/engine_1.asm
index 0d60308a..8534b325 100644
--- a/audio/engine_1.asm
+++ b/audio/engine_1.asm
@@ -1,6 +1,6 @@
; The first of three duplicated sound engines.
-Func_9103: ; 0x9103
+Func_9103:: ; 0x9103
ld c, CH0
.loop
ld b, $0
@@ -1273,7 +1273,7 @@ Func_9858: ; 0x9858
ld d, a
ret
-Func_9876: ; 0x9876
+Func_9876:: ; 0x9876
ld [$c001], a
cp $ff
jp z, Func_9a34
diff --git a/audio/engine_2.asm b/audio/engine_2.asm
index deb65357..56834b90 100644
--- a/audio/engine_2.asm
+++ b/audio/engine_2.asm
@@ -1,6 +1,6 @@
; The second of three duplicated sound engines.
-Func_21879: ; 21879 (8:5879)
+Func_21879:: ; 21879 (8:5879)
ld c, CH0
.loop
ld b, $0
@@ -1324,7 +1324,7 @@ Func_22017: ; 22017 (8:6017)
ld d, a
ret
-Func_22035: ; 22035 (8:6035)
+Func_22035:: ; 22035 (8:6035)
ld [$c001], a
cp $ff
jp z, Func_221f3
diff --git a/audio/engine_3.asm b/audio/engine_3.asm
index 1f285ee6..15237f57 100644
--- a/audio/engine_3.asm
+++ b/audio/engine_3.asm
@@ -1,6 +1,6 @@
; The third of three duplicated sound engines.
-Func_7d177: ; 7d177 (1f:5177)
+Func_7d177:: ; 7d177 (1f:5177)
ld c, CH0
.loop
ld b, $0
@@ -1273,7 +1273,7 @@ Func_7d8cc: ; 7d8cc (1f:58cc)
ld d, a
ret
-Func_7d8ea: ; 7d8ea (1f:58ea)
+Func_7d8ea:: ; 7d8ea (1f:58ea)
ld [$c001], a
cp $ff
jp z, Func_7daa8