about summary refs log tree commit diff stats
path: root/gba/start
diff options
context:
space:
mode:
authorslipstream/RoL <l33twax@yahoo.com>2017-02-20 18:29:22 +0000
committerslipstream/RoL <l33twax@yahoo.com>2017-02-20 18:29:22 +0000
commitd448823ffb540cb462548552efe4b5650e66de95 (patch)
tree8938c01996d872f3b0e764786b20ebe46d97382a /gba/start
parent272a6592bace32cc4b2c5432aa3fad4066f152c6 (diff)
downloadgen3uploader-d448823ffb540cb462548552efe4b5650e66de95.tar.gz
gen3uploader-d448823ffb540cb462548552efe4b5650e66de95.tar.bz2
gen3uploader-d448823ffb540cb462548552efe4b5650e66de95.zip
Add support for almost all Gen III games
The only Gen III game unsupported should be Pokémon LeafGreen v1.1
(Japan); as it is undumped.

A couple of bugs have also been fixed.

The code has also been refactored a little; now payload code goes into
`payload.c`. The codebase is also ready for a planned future change to
include savedata structure definitions. This will be done when it's done
-- PRs to help would be appreciated!
Diffstat (limited to 'gba/start')
-rw-r--r--gba/start/pkjb_crt0.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/gba/start/pkjb_crt0.s b/gba/start/pkjb_crt0.s index 1bf5bd7..0d9d657 100644 --- a/gba/start/pkjb_crt0.s +++ b/gba/start/pkjb_crt0.s
@@ -85,6 +85,10 @@ start_vector:
85 ldr r1, =0x4000084 85 ldr r1, =0x4000084
86 mov r0, #0x8F 86 mov r0, #0x8F
87 strh r0, [r1] 87 strh r0, [r1]
88@; Also turn interrupts back on
89 ldr r1, =0x4000208
90 mov r0, #1
91 str r0, [r1]
88 pop {pc} 92 pop {pc}
89 93
90@--------------------------------------------------------------------------------- 94@---------------------------------------------------------------------------------