Fix section linking

Create linker script and float all sections
This commit is contained in:
PikalaxALT
2017-06-17 19:14:55 -04:00
committed by PikalaxALT
parent e1c2876ff6
commit 0e470bc785
72 changed files with 827 additions and 329 deletions

View File

@@ -32,7 +32,7 @@ _AnimateTileset:: ; fc000
ld h, [hl]
ld l, a
jp [hl]
jp hl
; fc01b
Tileset00Anim: ; 0xfc01b
@@ -420,7 +420,7 @@ ScrollTileDown: ; fc36a
AnimateFountain: ; fc387
ld hl, [sp+0]
ld hl, sp+0
ld b, h
ld c, l
ld hl, .frames
@@ -462,7 +462,7 @@ AnimateWaterTile: ; fc402
; Draw a water tile for the current frame in VRAM tile at de.
; Save sp in bc (see WriteTile).
ld hl, [sp+0]
ld hl, sp+0
ld b, h
ld c, l
@@ -497,7 +497,7 @@ WaterTileFrames: ; fc41c
ForestTreeLeftAnimation: ; fc45c
ld hl, [sp+0]
ld hl, sp+0
ld b, h
ld c, l
@@ -539,7 +539,7 @@ ForestTreeRightFrames: ; fc4a4
ForestTreeRightAnimation: ; fc4c4
ld hl, [sp+0]
ld hl, sp+0
ld b, h
ld c, l
@@ -574,7 +574,7 @@ ForestTreeRightAnimation: ; fc4c4
ForestTreeLeftAnimation2: ; fc4f2
ld hl, [sp+0]
ld hl, sp+0
ld b, h
ld c, l
@@ -606,7 +606,7 @@ ForestTreeLeftAnimation2: ; fc4f2
ForestTreeRightAnimation2: ; fc51c
ld hl, [sp+0]
ld hl, sp+0
ld b, h
ld c, l
@@ -671,7 +671,7 @@ AnimateFlowerTile: ; fc56d
; No parameters.
; Save sp in bc (see WriteTile).
ld hl, [sp+0]
ld hl, sp+0
ld b, h
ld c, l
@@ -707,7 +707,7 @@ FlowerTileFrames: ; fc58c
SafariFountainAnim1: ; fc5cc
; Splash in the bottom-right corner of the fountain.
ld hl, [sp+0]
ld hl, sp+0
ld b, h
ld c, l
ld a, [TileAnimationTimer]
@@ -729,7 +729,7 @@ SafariFountainAnim1: ; fc5cc
SafariFountainAnim2: ; fc5eb
; Splash in the top-left corner of the fountain.
ld hl, [sp+0]
ld hl, sp+0
ld b, h
ld c, l
ld a, [TileAnimationTimer]
@@ -760,7 +760,7 @@ AnimateSproutPillarTile: ; fc645
; Destination (VRAM)
; Address of the first tile in the frame array
ld hl, [sp+0]
ld hl, sp+0
ld b, h
ld c, l
@@ -820,7 +820,7 @@ AnimateWhirlpoolTile: ; fc678
; Only does one of 4 tiles at a time.
; Save sp in bc (see WriteTile).
ld hl, [sp+0]
ld hl, sp+0
ld b, h
ld c, l
@@ -860,7 +860,7 @@ WriteTileFromBuffer: ; fc696
; Write tiledata at wTileAnimBuffer to de.
; wTileAnimBuffer is loaded to sp for WriteTile.
ld hl, [sp+0]
ld hl, sp+0
ld b, h
ld c, l
@@ -877,7 +877,7 @@ WriteTileToBuffer: ; fc6a2
; Write tiledata de to wTileAnimBuffer.
; de is loaded to sp for WriteTile.
ld hl, [sp+0]
ld hl, sp+0
ld b, h
ld c, l