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
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 3DS
Circle Pad patches for Super Mario 64 DS and other games (in TwilightMenu with TWPatcher and RTCom)
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="shoco" data-source="post: 10025952" data-attributes="member: 499034"><p>I've updated the patch. Unfortunately, I couldn't fix the problem entirely. Previously, CPad caused the music to slowdown by about 20%, and with ZL+ZR by 50%; now it's something like 9% for CPad and 12% for CPad+ZLZR. For some reason, I cannot eliminate it completely. As if the music somehow relied on a hardcoded delay of some sort and whatever I put in the VBlank IRQ handler just makes it longer. Or maybe that VBlank IRQ handler is just not the best place for it. </p><p></p><p>Now, instead of passing 5 bytes of data (cpad x, cpad y, zlzr, nub x, nub y), I pass only 3 (the nub is merged into zlzr on arm11's side). Plus, I also update the CPad once in 2 frames (it's 30 times per second overall) and the Nub once in 4 frames. Ideally, it should be fine since Arm9 reads the input only 30 times per second. In reality, though, that's not always the case, there may be 1 frame delay in the CPad input, but that's almost unnoticeable. At least, if I haven't messed up the code</p><p>[automerge]1671192180[/automerge]</p><p></p><p>Probably the first one? I am not familiar with the analog mod solutions, and I am certainly not an expert in all of this, but it goes something like this. The cheat contains code for all 3 CPUs. Code for Arm7 uploads Arm11's code through RTCom and repeatedly (inside the VBlank IRQ handler) sends a command to Arm11 to execute it. The code for Arm11 reads the CPad data from a certain place in the 3DS ram (where it's already calibrated and clamped into 2 bytes), as well as the Nub data from the corresponding I2C device, and then returns this through RTCom back to Arm7. Arm7 takes this data and saves it into some safe place where Arm9 can get it. The code for Arm9 is hooked into the game's routine that usually does the preprocessing of the touchscreen's input and dpad buttons. If Arm9 sees that the CPad's been touched, it reads the input, preprocesses (calculates the length of the vector, cosine, sine, etc) and saves it where the rest of the game's logic expects it to be</p></blockquote><p></p>
[QUOTE="shoco, post: 10025952, member: 499034"] I've updated the patch. Unfortunately, I couldn't fix the problem entirely. Previously, CPad caused the music to slowdown by about 20%, and with ZL+ZR by 50%; now it's something like 9% for CPad and 12% for CPad+ZLZR. For some reason, I cannot eliminate it completely. As if the music somehow relied on a hardcoded delay of some sort and whatever I put in the VBlank IRQ handler just makes it longer. Or maybe that VBlank IRQ handler is just not the best place for it. Now, instead of passing 5 bytes of data (cpad x, cpad y, zlzr, nub x, nub y), I pass only 3 (the nub is merged into zlzr on arm11's side). Plus, I also update the CPad once in 2 frames (it's 30 times per second overall) and the Nub once in 4 frames. Ideally, it should be fine since Arm9 reads the input only 30 times per second. In reality, though, that's not always the case, there may be 1 frame delay in the CPad input, but that's almost unnoticeable. At least, if I haven't messed up the code [automerge]1671192180[/automerge] Probably the first one? I am not familiar with the analog mod solutions, and I am certainly not an expert in all of this, but it goes something like this. The cheat contains code for all 3 CPUs. Code for Arm7 uploads Arm11's code through RTCom and repeatedly (inside the VBlank IRQ handler) sends a command to Arm11 to execute it. The code for Arm11 reads the CPad data from a certain place in the 3DS ram (where it's already calibrated and clamped into 2 bytes), as well as the Nub data from the corresponding I2C device, and then returns this through RTCom back to Arm7. Arm7 takes this data and saves it into some safe place where Arm9 can get it. The code for Arm9 is hooked into the game's routine that usually does the preprocessing of the touchscreen's input and dpad buttons. If Arm9 sees that the CPad's been touched, it reads the input, preprocesses (calculates the length of the vector, cosine, sine, etc) and saves it where the rest of the game's logic expects it to be [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo 3DS
Circle Pad patches for Super Mario 64 DS and other games (in TwilightMenu with TWPatcher and RTCom)
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
Psionic Roshambo
Loading…
@
BakerMan
:
btw i feel this a good time to remind you guys that sea of thieves was made by rare, who also made DKC1-3 and DK64, alongside banjo kazooie and conker's bad fur day
Today at 2:11 AM
@
Xdqwerty
:
https://www.youtube.com/watch?v=k9FS3ZIO73E
Today at 2:15 AM
@
Xdqwerty
:
good night
Today at 2:15 AM
@
a_username_that_isnt_cool
:
Good morning!
Today at 2:15 AM
@
NinStar
:
https://twitter.com/NintendoAmerica/status/1788375084886892947
Today at 2:21 AM
@
NinStar
:
look, a multibillion dollar company can't pay for twitter API
+1
Today at 2:21 AM
@
NinStar
:
so sad
Today at 2:21 AM
@
Psionic Roshambo
:
Not a huge loss? Lol
Today at 2:23 AM
@
NinStar
:
someone is saying ultimate nes remix didn't had less games, it makes my brain hurts
Today at 2:24 AM
@
The Real Jdbye
:
well it had more games than either of the individual nes remixes
Today at 2:29 AM
@
The Real Jdbye
:
and it had all the good ones
Today at 2:29 AM
@
The Real Jdbye
:
like who the fuck cares about NES Golf
Today at 2:29 AM
@
NinStar
:
there a bunch of good games missing, one of them (which makes a lot of sense for this type of game) was wario woods
Today at 2:31 AM
@
a_username_that_isnt_cool
:
whoever made flog cared about NES golf
Today at 2:42 AM
@
a_username_that_isnt_cool
:
i brung that up because i remembered it randomly and it has become my hyperfixation
Today at 2:43 AM
@
NinStar
:
nes remix 1 had the bad one, nes remix 2 had the good one
Today at 2:46 AM
@
Psionic Roshambo
:
https://www.youtube.com/watch?v=dZbUuSmFgMo
Today at 4:15 AM
G
@
genistopitauniverfrocrami
:
Today at 7:23 AM
@
SylverReZ
:
@genistopitauniverfrocrami
, What drugs is this dude on?
+1
Today at 7:27 AM
@
NinStar
:
CRAZY HAMBURGER
Today at 7:33 AM
@
The Real Jdbye
:
@NinStar
both nes remix 1 and 2 had some stinkers in there
+1
Today at 11:09 AM
@
The Real Jdbye
:
but at least 2 doesn't have sports games
Today at 11:11 AM
@
The Real Jdbye
:
loved nes remix, but hated having to play Baseball, Tennis and Golf in order to progress
+1
Today at 11:11 AM
@
The Real Jdbye
:
or fucking Clu Clu Land for that matter
Today at 11:20 AM
@
Psionic Roshambo
:
Not a big fan of NES kid Icarus either... I know it was popular but I didn't care for it.
9 minutes ago
Submit
@
Psionic Roshambo
:
Not a big fan of NES kid Icarus either... I know it was popular but I didn't care for it.
9 minutes ago
Chat
1