logs archiveBotHelp.net / Freenode / #3dsdev / 2015 / September / 15 / 3
profi200
No idea why.
aliaspider
yeah because the hack itself changes the flag ?
or the homberew launcher
profi200
endrift: https://dl.dropboxusercontent.com/s/6dk21qwcdo539s6/mgba.cia https://gist.github.com/profi200/b89a7b5f71ff783076fc
Use the latest makerom.
Lectem
profi200 : you merged with the project files :/
profi200
This build runs fullspeed on N3DS.
Lectem: Well, have not thought about that.
Lectem
(Action) would give a CMakeLists.txt instead of VS projects
:p
yuriks
linkmauve1: look at that code, you can't do that with standard atomic primitives
[06:27:50] <profi200> Also why the second __asm__ volatile()? Maybe i'm not familiar with the syntax of that stuff.
what do you mean, the clrex?
profi200
I did not read that right. It makes sense.
yuriks
wow, bunch of interesting looking flags in that PR
enable_l2_cache
and I guess new3ds_systemmode is the faster clock?
profi200
I just changed the product code, platform, L2 cache and 804 Mhz.
yuriks
oh, so it triples the clock speed
wow, yeah, that's a pretty significant upgrade o_o
profi200
Did not bother messing with the N3DS system mode.
That's funny. The singlecore Raspberry Pi runs at 700 Mhz :D
yuriks
now if only nintendo did something about the dreadful screen...
endrift
profi200: as I'd guessed
oh wow 804MHz
profi200: is this already in makerom?
Platform: snake
interesting
oh I see it has been merged
aliaspider
is the dynarec already functional for mgba 3ds ?
profi200
Not sure what it uses as idicator for N3DS titles but iirc it was the product code. That's why i changed it to KTR.
endrift
aliaspider: what dynarec
aliaspider
i see some emitter files in the arm directory
so not functional then ok
endrift
the emitter is generic
it's a preprocessor emitter, not a runtime emitter
aliaspider
oh ok
endrift
it's used for generating instruction tables
profi200
Home menu can't really check exheader flags so either it checks the product code or there is a special cmd.
aliaspider
an for the gba instructions then ok, I thought they were used for a dynarec :)
endrift
there's a half-baked dynarec from a year ago in my local tree
but it's not so great
and it never got merged
or pushed
ANYWAY
aliaspider
because you can have both dynarec and 804MHz now
on n3DS
endrift
wait what
aliaspider
yeah
gpsp runs at 120fps now
endrift
804MHz I just saw
but dynarec?
aliaspider
yeah
from a cia
works
endrift
how
aliaspider
let me show you
you can have acces to svcbackdoor from a cia but not svcControlProcessMemory
endrift
profi200: I'll merge this stuff tonight
aliaspider
you use svcbackdoor to call this
https://github.com/libretro/gpsp/blob/master/3ds/3ds_utils.c#L9-L19
that gives you access to svcControlProcessMemory
with which you can map memory as read/write/execute
endrift
what about flushing the icache?
aliaspider
same file
endrift
oh still svcBackdoor
aliaspider
citragb has other tricks to flush without svcbackdoor I think
i still need to add function that flush sections of memory instead of the whole thing
endrift
does this qualify as a security vuln to nintendo
I'd assume it would
aliaspider
that svcBackdoor is accessible from CFW
endrift
oh wait you said on CIA which I guess means 9.2 only
aliaspider
?
yeah
no way to overwrite those bytes from +9.2 currently
endrift
profi200: actually, just a regular PR would be appreciated
I can't test it myself after all
I want to fix my Mii Plaza but the suggested avenue to do this is to modify the NAND
so clearly I should find a kernel exploit
I should probably try to collaborate with people if I want to find a kernel exploit so I don't waste time on already traveled paths
xyz
people from the other 3dsdev already have a kernel exploit they just don't want to release it because piracy
endrift
ah of course
I'd love to use it to fix my Mii Plaza but I don't know what the filesystem on the NAND looks like
so I'd probably end up bricking my 3DS
so long story short, my Mii Plaza tells me I need to update when I launch it, but then it tries to update it says it's already been updated
rinse, repeat
deleting the title and import dbs didn't help
smea
lol
sad
endrift
other than that it'd be nice for developing a dynarec on the 3DS
(although I might be able to do the gshax trick to do that)
but I don't really care about anything else
smea
<endrift> (although I might be able to do the gshax trick to do that) <= it really depends on the frequency at which you have to emit code
xyz
you can develop it for vita, we have nice set of functions to allocate memory and flush icache
endrift
so basically I can't use my Mii Plaza until it's either fixed by a software update
smea
and the amount of code
endrift
xyz: ARMv7 != ARMv6K
I'd develop it for the RPi to be honest
xyz
won't a lot of instructions be the same? and isn't it backwards compatible?
endrift
forwards, not backwards
« prev 1 2 3 4 5 next »