logs archiveBotHelp.net / Freenode / #3dsdev / 2015 / September / 15 / 1
furyhunter
hmm
back on the rust topic,
if I managed to emit an entire rust program (w/ dependencies) to llvm-ir and then assembled the combined IR, perhaps that might make this work?
it's brutally hackish but I fear it might be the only way right now?
https://github.com/AerialX/cargo-build i found this today and want to give it a shot...
yuriks
https://github.com/smealum/ctrulib/pull/169
(Action) dutifully bonks himself in the head
furyhunter
whoa nice
yuriks
would be even nicer if I had commited this back in jan so that me and endrift wouldn't waste 2 weeks chasing after this hang lol
endrift
three I think
aliaspider
lol you had the solution and forgot about it xD ?
yuriks
aliaspider: it didn't come to mind that it was actually the problem
aliaspider
nice to see it finally fixed !
smea
so now mgba just runs perfectly ?
do you have a build i can try out endrift ?
endrift
well it doesn't crash anymore
smea
yeah so it's perfect
:P
anything that doesnt crash is perfect
endrift
oh uh...I've been working on feature work so I don't have a good stashed build at the moment
yuriks
I have a build
one sec
though I should add that vblank tweak
furyhunter
naisu naisu
aliaspider
would atomic reads also help against the random freeze that can happens with the snd module ? ( happens when you constantly read the play position for example)
yuriks
https://dl.dropboxusercontent.com/u/1990844/2015-08/mgba.7z
smea
thanks yuriks
yuriks
aliaspider: dunno, never looked at that code
endrift
so this is on your gpu branch, which means the scaling won't look like sh*t
yuriks
oh, yeah
endrift
which I consider a plus
I do want to merge that soon
once you think it's ready
yuriks
yeah, I'll work on the opts + fixing alpha now that we're past that thing
endrift
cool thanks
trying to add a screenshot feature and for some reason it's not saving the files
or maybe ftBRONY is just buggy
yuriks
some FTP clients are overzealous in caching file listings, watch out for that
endrift
yeah it was just ftBRONY being buggy
smea
winscp works fine
yuriks
smea: I've had it not list files or list files as empty when they weren't
just required a manual F5
endrift
(Action) is just using `ftp`
smea
yeah f5 does the trick
furyhunter
ftbrony works flawlessly on n3ds for me
yuriks
(Action) thinks about how to add that GSP queuing thing to ctrulib
furyhunter
groan
ironhax is only working like 30% of the time x_x
endrift
furyhunter: which fw?
Did you install the updated version of ironhax?
furyhunter
whatever the last 9.x series was
endrift
I had that problem until I updated it
smea released a fix a few days after he first released Ironhax
furyhunter
ahh
well, sh*t, i'm in bed and far too lazy to go get cubic ninja lol
endrift
So smea I totally downloaded ironfall over the hotel internet connection from the viewing room at SGDQ2015
yuriks
lol
endrift
the 3DS is REALLY BAD at captive portals
yuriks
don't worry, I already torrented anime on free airport wifi, so you're still less evil than I am
endrift
want to softlock your 3DS? Try to access the eShop from a captive portal you're not attached to
furyhunter
is it a payload issue, or can I just drop a new hbl in the sd card?
endrift
bam
it's a payload issue
furyhunter
booo
launching software library then ironhax got around it, guess I should update now
endrift
just cored the wii I'm testing on, nice
furyhunter
oh come on cyberduck
ahh... did that sleep mode issue ever get resolved?
archshift
why is inline asm syntax so terrible :|
yuriks
archshift: ikr
tbh it's a pretty complex domain though
the DSL could stand to be better though lol
gxCommand[7]=(flags>>1)&1; //when non-zero, call svcFlushProcessDataCache() with the specified buffer
(flags >> 1) & 1
wtf
oh, ok, it reuses bit 0 for something else...
furyhunter
well, I seem to have gotten a lot further with this approach. what ctr0 object should I link with this manually assembled binary?
crt0*
my produced a.out has main and rust_eh_personality as expected but no entrypoint and main is at 00000000
profi200
yuriks: What about that automatic event wait by the GSP module i someone was speaking about some days ago? That would speed things up because less svc calls.
*-i
yuriks
profi200: yeah, I just tried it and basically, it broke stuff, in addition to requiring a lot of hacking and wacking of ctrulib
furyhunter: "\devkitPro\devkitARM\arm-none-eabi\lib\armv6k\fpu\3dsx_crt0.o" I believe
profi200
I guess ctrulib was not written with the future in mind lol
yuriks
furyhunter: er, actually, specs files says:
*startfile:
3dsx_crt0%O%s crti%O%s crtbegin%O%s
furyhunter
possible to send that specs to ld?
profi200
So basically we have 2 things which need some love now. APT and GSP stuff.
yuriks
not sure what the ctri/ctrbegin is about, but there's a 3dsx_crt0.s
furyhunter
hmmmm...
yuriks
furyhunter: -specs=3dsx.specs
furyhunter
that's for gcc unfortunately, not ld, but I'll try something...
yuriks
well, you have to use gcc as the driver anyway, probably?
profi200: yeah, all the GPU stuff
profi200: fincs has been pushing forward on that
furyhunter
maybe I got something this time
alas I decided not to try anything with ctrurs yet, but it linked :P
yuriks
what are you doing differently?
furyhunter
I'm using cargo-build to make cargo emit ALL dependencies as llvm-ir, which it then combines into a single .ll
« prev 1 2 3 4 5 next »