mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
change name of interrupt handler
it is no longer simple
This commit is contained in:
parent
007d4d3ff8
commit
7b05da4783
|
@ -1,8 +1,8 @@
|
|||
fn main() {
|
||||
println!("cargo:rerun-if-changed=crt0.s");
|
||||
println!("cargo:rerun-if-changed=gba_mb.ld");
|
||||
println!("cargo:rerun-if-changed=interrupt_simple.s");
|
||||
println!("cargo:rerun-if-changed=src/sound/mixer/mixer.s");
|
||||
println!("cargo:rerun-if-changed=interrupt_handler.s");
|
||||
println!("cargo:rerun-if-changed=gfx/test_logo.png");
|
||||
|
||||
let out_file_name = "crt0.o";
|
||||
|
|
|
@ -18,7 +18,7 @@ b .Initialise_mb
|
|||
swi 0x00250000
|
||||
|
||||
@ Set interrupt handler
|
||||
ldr r0, =InterruptHandlerSimple
|
||||
ldr r0, =InterruptHandler
|
||||
ldr r1, =0x03007FFC
|
||||
str r0, [r1]
|
||||
|
||||
|
@ -62,5 +62,5 @@ b .Initialise_mb
|
|||
b 1b
|
||||
.pool
|
||||
|
||||
.include "interrupt_simple.s"
|
||||
.include "src/sound/mixer/mixer.s"
|
||||
.include "interrupt_handler.s"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
@ An interrupt handler that simply acknowledges all interrupts
|
||||
.arm
|
||||
.global InterruptHandlerSimple
|
||||
.global InterruptHandler
|
||||
.section .iwram, "ax"
|
||||
.align
|
||||
InterruptHandlerSimple:
|
||||
InterruptHandler:
|
||||
ldr r2, =0x04000200 @ interrupt enable register location
|
||||
|
||||
mov r1, #0
|
Loading…
Reference in a new issue