Reply to thread
GBAtemp.net - The Independent Video Game Community
Search
Search titles only
By:
Search titles only
By:
Reply to thread
GBAtemp.net - The Independent Video Game Community
Home
Log in
Terms & Rules
Donate
Forums
New posts
Search forums
Groups
Public Events
New
New posts
New resources
New blog entries
New profile posts
New blog entry comments
New threadmarks
Latest activity
Cheats
Cheat Codes Add and Request group
The Legend of Zelda: Tears of the Kingdom cheat codes
Pokémon Legends: Arceus cheat codes
Xenoblade Chronicles 3 cheat codes
Fire Emblem Engage cheat codes
Request a cheat...
Tutorials
Nintendo Switch tutorials
Nintendo 3DS tutorials
Nintendo Wii U tutorials
Reviews
Overview
Official reviews
User reviews
Downloads
Latest reviews
Search resources
Blogs
New entries
New comments
Blog list
Search blogs
Chat
Top chatters
Search
Search titles only
By:
Search titles only
By:
Log in
Register
New posts
Search forums
Log in
Register
Home
Forums
PC, Console & Handheld Discussions
Nintendo GBA
Multi-platform builder scripts for GBA emulators
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="patters" data-source="post: 10139066" data-attributes="member: 36062"><p>You should leave it here in case someone later finds a problem with mine. Remember - I don't have an Omega to test. Not sure why you'd delete it.</p><p></p><p>Based on your example ASM, I <em>think</em> I could optimize mine to the following which would be 92 bytes. Will test tonight.</p><p>[CODE]</p><p>add r0, pc, #0x2c</p><p>ldm r0, {r1, r2, r3, r4, r5, r6, r7, r8, sb, sp}</p><p>strh r7, [r1] @ 0x9fe0000 = 0xd200</p><p>strh r8, [r2] @ 0x8000000 = 0x1500</p><p>strh r7, [r3] @ 0x8020000 = 0xd200</p><p>strh r8, [r4] @ 0x8040000 = 0x1500</p><p>strh sb, [r5] @ 0x9880000 = 0x8000</p><p>strh r8, [r6] @ 0x9fc0000 = 0x1500</p><p>mov r1, #0</p><p>strh r1, [sp] @ 0x3fffffa = 0x0000</p><p>mov r0, #0xfc</p><p>svc #0x10000</p><p>svc #0</p><p>.BYTE 0x00, 0x00, 0xfe, 0x09</p><p>.BYTE 0x00, 0x00, 0x00, 0x08</p><p>.BYTE 0x00, 0x00, 0x02, 0x08</p><p>.BYTE 0x00, 0x00, 0x04, 0x08</p><p>.BYTE 0x00, 0x00, 0x88, 0x09</p><p>.BYTE 0x00, 0x00, 0xfc, 0x09</p><p>.BYTE 0x00, 0xd2, 0x00, 0x00</p><p>.BYTE 0x00, 0x15, 0x00, 0x00</p><p>.BYTE 0x00, 0x80, 0x00, 0x00</p><p>.BYTE 0xfa, 0xff, 0xff, 0x3f</p><p>[/CODE]</p><p></p><p>Some reset examples seem to write zero to 0x3fffffa just before the reset and some (yours included) seem to write zero to 0x3007ffa. Do you know what the difference is?</p><p></p><p><a href="https://github.com/patters-match/gba-ezflash-iv-emulators/blob/main/ez4/reset_ez4.s" target="_blank">Kuwanger's EZ4 reset code</a> contains the cryptic comment</p><p></p><p>Can they be used interchangeably?</p></blockquote><p></p>
[QUOTE="patters, post: 10139066, member: 36062"] You should leave it here in case someone later finds a problem with mine. Remember - I don't have an Omega to test. Not sure why you'd delete it. Based on your example ASM, I [I]think[/I] I could optimize mine to the following which would be 92 bytes. Will test tonight. [CODE] add r0, pc, #0x2c ldm r0, {r1, r2, r3, r4, r5, r6, r7, r8, sb, sp} strh r7, [r1] @ 0x9fe0000 = 0xd200 strh r8, [r2] @ 0x8000000 = 0x1500 strh r7, [r3] @ 0x8020000 = 0xd200 strh r8, [r4] @ 0x8040000 = 0x1500 strh sb, [r5] @ 0x9880000 = 0x8000 strh r8, [r6] @ 0x9fc0000 = 0x1500 mov r1, #0 strh r1, [sp] @ 0x3fffffa = 0x0000 mov r0, #0xfc svc #0x10000 svc #0 .BYTE 0x00, 0x00, 0xfe, 0x09 .BYTE 0x00, 0x00, 0x00, 0x08 .BYTE 0x00, 0x00, 0x02, 0x08 .BYTE 0x00, 0x00, 0x04, 0x08 .BYTE 0x00, 0x00, 0x88, 0x09 .BYTE 0x00, 0x00, 0xfc, 0x09 .BYTE 0x00, 0xd2, 0x00, 0x00 .BYTE 0x00, 0x15, 0x00, 0x00 .BYTE 0x00, 0x80, 0x00, 0x00 .BYTE 0xfa, 0xff, 0xff, 0x3f [/CODE] Some reset examples seem to write zero to 0x3fffffa just before the reset and some (yours included) seem to write zero to 0x3007ffa. Do you know what the difference is? [URL='https://github.com/patters-match/gba-ezflash-iv-emulators/blob/main/ez4/reset_ez4.s']Kuwanger's EZ4 reset code[/URL] contains the cryptic comment Can they be used interchangeably? [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo GBA
Multi-platform builder scripts for GBA emulators
General chit-chat
Help
Users
Settings
Notifications
Miscellaneous
Inverse message direction
Display editor on top
Enable maximized mode
Display images as links
Hide bot messages
Hide statuses
Hide chatter list
Show messages from ignored users
Temporarily disable chat
Receive mention alerts
Sound notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Desktop notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Options
Options
View top chatters
K3Nv2
Loading…
BigOnYa
Loading…
@
BigOnYa
:
True, I don't want mud crumbs in my bed, and btw you left without paying your tab. Ill add it to next month but getting tired of extending.
Today at 1:51 AM
@
K3Nv2
:
I hope silent hill 2 turns out good
+1
Today at 1:54 AM
@
BigOnYa
:
I seen that, hope so too, the first was so epic back then.
Today at 1:56 AM
@
K3Nv2
:
Didn't look into much is it just a remake
Today at 1:57 AM
@
BigOnYa
:
Only thing drive me crazy is all these new horror games nowadays is its so dark, all time. I can't even play them. I understand they trying to create spooky but be creative a little, not just darkness with pop out scare scenes.
+1
Today at 1:59 AM
@
Xdqwerty
:
@BigOnYa
, either that or mascot horror
+1
Today at 2:13 AM
@
Psionic Roshambo
:
https://www.reddit.com/r/Whatcouldgowrong/s/zFNgZdLFQ1
Today at 2:19 AM
@
Xdqwerty
:
gonna watch gintama for the first time
Today at 2:20 AM
@
Psionic Roshambo
:
@BigOnYa
, I always turn the lights up on those lol
+1
Today at 2:21 AM
@
K3Nv2
:
Two studio lights for one horror game
Today at 2:22 AM
@
Psionic Roshambo
:
Lol
Today at 2:22 AM
@
K3Nv2
:
https://youtu.be/9w0hKiTgxtE?si=ON3eq3tR1mZJi3h8
Today at 2:26 AM
@
K3Nv2
:
Couch casting for horror
+1
Today at 2:26 AM
@
K3Nv2
:
Mig switch already has a v2 lol
Today at 2:53 AM
@
OGSniper
:
How we doin' in here?
Today at 2:59 AM
@
K3Nv2
:
https://videocardz.com/newz/amd-introduces-ryzen-9000-zen5-desktop-cpus-granite-ridge
+1
Today at 3:34 AM
@
K3Nv2
:
5.7Ghz sounds crazy
Today at 3:35 AM
@
Sicklyboy
:
hz my nuts
Today at 3:39 AM
@
K3Nv2
:
Tylenol
Today at 3:40 AM
@
K3Nv2
:
Giganutz
Today at 3:42 AM
@
NinStar
:
Today at 4:28 AM
@
BigOnYa
:
Couch casting horror, lol
41 minutes ago
@
ZeroT21
:
You need better couch potatoes la
+1
39 minutes ago
@
BigOnYa
:
Tbh isn't that already couch casting
8 minutes ago
@
K3Nv2
:
She sat on a couch must be a hoe
+1
5 minutes ago
Submit
@
K3Nv2
:
She sat on a couch must be a hoe
+1
5 minutes ago
Chat
2