add interrupt table and other data
This commit is contained in:
parent
65228e6fb8
commit
025bb6a8b9
2 changed files with 38 additions and 3 deletions
37
asm/data2.s
37
asm/data2.s
|
@ -1,2 +1,37 @@
|
||||||
@ the second big chunk of data
|
@ the second big chunk of data
|
||||||
.incbin "base_emerald.gba", 0x2e952e
|
|
||||||
|
.align 2, 0
|
||||||
|
|
||||||
|
gUnknown_82E9530:
|
||||||
|
.byte 3
|
||||||
|
|
||||||
|
gUnknown_82E9531:
|
||||||
|
.byte 2
|
||||||
|
|
||||||
|
.align 2, 0
|
||||||
|
|
||||||
|
@ compile time
|
||||||
|
.asciz "2005 02 21 11:10"
|
||||||
|
|
||||||
|
.align 2, 0
|
||||||
|
|
||||||
|
gRomInterruptTable: @ 82E9548
|
||||||
|
.4byte irq_vcount+1
|
||||||
|
.4byte irq_serial+1
|
||||||
|
.4byte irq_timer3+1
|
||||||
|
.4byte irq_hblank+1
|
||||||
|
.4byte irq_vblank+1
|
||||||
|
.4byte irq_other+1
|
||||||
|
.4byte irq_other+1
|
||||||
|
.4byte irq_other+1
|
||||||
|
.4byte irq_other+1
|
||||||
|
.4byte irq_other+1
|
||||||
|
.4byte irq_other+1
|
||||||
|
.4byte irq_other+1
|
||||||
|
.4byte irq_other+1
|
||||||
|
.4byte irq_other+1
|
||||||
|
|
||||||
|
gBgConfigZeroValue: @ 82E9580
|
||||||
|
.4byte 0
|
||||||
|
|
||||||
|
.incbin "base_emerald.gba", 0x2e9584
|
||||||
|
|
|
@ -46,7 +46,7 @@ gpu_get_bg_mode: @ 8001324
|
||||||
gpu_reset_bg_configs: @ 8001334
|
gpu_reset_bg_configs: @ 8001334
|
||||||
push {lr}
|
push {lr}
|
||||||
ldr r2, =0x030008e0
|
ldr r2, =0x030008e0
|
||||||
ldr r0, =0x082e9580
|
ldr r0, =gBgConfigZeroValue
|
||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
adds r1, r2, 0
|
adds r1, r2, 0
|
||||||
adds r1, 0xC
|
adds r1, 0xC
|
||||||
|
@ -74,7 +74,7 @@ sub_8001354: @ 8001354
|
||||||
ldr r1, =0x030008e0
|
ldr r1, =0x030008e0
|
||||||
lsls r0, r4, 2
|
lsls r0, r4, 2
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =0x082e9580
|
ldr r1, =gBgConfigZeroValue
|
||||||
ldr r1, [r1]
|
ldr r1, [r1]
|
||||||
str r1, [r0]
|
str r1, [r0]
|
||||||
_08001372:
|
_08001372:
|
||||||
|
|
Loading…
Reference in a new issue