Homebrew Homebrew Development

Plstic

Guru Meditation Error
Member
Joined
Apr 21, 2010
Messages
1,196
Trophies
1
Location
Milwaukee WI
XP
2,810
Country
United States
why don't you guys try to port ubuntu or a n64 or gamecube emu? :P


Because they don't have access to all the hardware. It's also not feasible to port ubuntu with unity and the whole shebang, porting the linux kernel is entirely possible given that we can use all the hardware. There will never be a gamecube emulator, the hardware is not nearly enough powerful.
 

Ericthegreat

Not New Member
Member
Joined
Nov 8, 2008
Messages
3,455
Trophies
2
Location
Vana'diel
XP
4,281
Country
United States
why dont you guys try to port ubuntu or a n64 or gamecube emu? :P
Because they don't have access to all the hardware. It's also not feasible to port ubuntu with unity and the whole shebang, porting the linux kernel is entirely possible given that we can use all the hardware. There will never be a gamecube emulator, the hardware is not nearly enough powerful.
Should be able to get n64 working tho.
 

PewnyPL

Well-Known Member
Member
Joined
Feb 2, 2014
Messages
771
Trophies
1
XP
2,174
Country
Poland
No way. The PSP could barely do it, and that was by virtue of it having a similar MIPS architecture.

This. The only way for a N64 emulation to work on 3DS, would be to do what Nintendo did on Wii - game specific versions, with speed hacks for each game.
PSX on the other hand, that should be possible. Maybe even in 3D (in the same way that nVidia does on PCs)
 

sightlight

Well-Known Member
Member
Joined
Aug 5, 2009
Messages
423
Trophies
0
XP
282
Country
United States
it will work depending on the hardware really. If we code efficiently it will work, but if we let the 3DS do all the job then, its not to think about.
I believe i saw portal on the ds, then we can make really decent home brew for the 3ds. We just need a complete suite of the 3ds. I dont know how to run a compiled file or with what to compile in my pc. Although I can compile C code with codeblock and g++.
 

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
956
Country
Canada
it will work depending on the hardware really. If we code efficiently it will work, but if we let the 3DS do all the job then, its not to think about.
I believe i saw portal on the ds, then we can make really decent home brew for the 3ds. We just need a complete suite of the 3ds. I dont know how to run a compiled file or with what to compile in my pc. Although I can compile C code with codeblock and g++.

What you saw wasn't exactly "Portal on the DS", but rather, Smea's own game, developed for the DS, with the theme and mechanics of Portal. It was not a port, it was a stand-alone game, much like how Mario64DS was not actually a "Port" per-say, but instead a redesigned and reprogrammed game made for the DS. The only way we could run an N64 emulator with any real speed though would be to activate overclocking on the arm11 cores. We don't even yet know if there's kernel functions that support doing it though, so don't get your hopes up yet. The only thing we know is that the chip's specs should allow running it at 1GHz, or more, but we don't have any information on it as no one has publicly come forward to confirm that it is possible yet.
 

Abcdfv

What comes around goes around.
Member
Joined
Dec 24, 2013
Messages
1,455
Trophies
0
XP
827
Country
United States
So, has anyone tried the emulator yet to run homebrew? I'm gonna try to get space invaders running on it.
 

nop90

Well-Known Member
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
Is someone experiencing like me glitches drawing in ARM11 mode? I have the problem that randomly the value of some pixels don't change (even if the new value is correctly stored in the buffer, I checked it). Drawing in other position of the screen makes appear gradually the previously not correctly showed pixels. Very strange. Probably some sync problem with GPU.

If you want I can post the ARM11 version of my TE3DS to show more clearly the problem.

It's very annoying now that I can use the touchpad and the joystick. I would like to code somethin new, but I'm stuck on this problem.
 

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
956
Country
Canada
Is someone experiencing like me glitches drawing in ARM11 mode? I have the problem that randomly the value of some pixels don't change (even if the new value is correctly stored in the buffer, I checked it). Drawing in other position of the screen makes appear gradually the previously not correctly showed pixels. Very strange. Probably some sync problem with GPU.

If you want I can post the ARM11 version of my TE3DS to show more clearly the problem.

It's very annoying now that I can use the touchpad and the joystick. I would like to code somethin new, but I'm stuck on this problem.

Do you think it has something to do with the random switching issue of the frame buffer? Perhaps, while drawing in arm11 mode, your attempt to correct the flaw by drawing in both buffers is instead confusing the GPU, as it might be pushed into a different mode when accessed in arm11 mode that we're not familiar with. Did you try only drawing in one buffer and seeing if it drew it in both instead as it's supposed to? Heck, maybe you can actually lock the buffers now, who knows, arm11 is kinda a bit uncharted right now, so anything's possible.
 

st4rk

nah
Member
Joined
Feb 11, 2014
Messages
542
Trophies
0
Website
st4rk.net
XP
815
Country
Brazil
Myths of emulation, anyone know how the "NES Joypad" work ? i try write a value in 0x4016, but doesn't work, the biggest problem now is with the joypad config :/


Anyone can help me ?
 

TheCruel

Developer
Banned
Joined
Dec 6, 2013
Messages
1,350
Trophies
2
XP
3,131
Country
United States
Is someone experiencing like me glitches drawing in ARM11 mode? I have the problem that randomly the value of some pixels don't change.


Even Kane's compiled Launcher.dat that demonstrated arm11 code had that issue iirc. The squares often don't draw completely. Overall everything is just really broken.
 

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
956
Country
Canada
Even Kane's compiled Launcher.dat that demonstrated arm11 code had that issue iirc. The squares often don't draw completely. Overall everything is just really broken.

So, basically, the only way around this issue is loading the entire 3DS OS into RAM from NAND (Or SD), patching it on-the-fly for unsigned code running (Or hard-patching and loading the copy from SD), adding an auto-execute routine (or configurable binary loader) to the boot chain at the end (or just redirecting a system app shortcut to a hardcoded location on SD), and then having the complete, unbroken (but patched) services run the homebrew code from there I guess. In short, the whole OS needs to be reversed before anything, and an OTF patcher needs to be coded to get things started. That'll be a pain, but it's not like it hasn't already been done a few different times. I guess it's either do this, or wait for Smea. I just wish I had the skills to do all that myself. It sucks waiting to get into college courses, seriously.
 

nop90

Well-Known Member
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
Do you think it has something to do with the random switching issue of the frame buffer? Perhaps, while drawing in arm11 mode, your attempt to correct the flaw by drawing in both buffers is instead confusing the GPU

I'm not writing in both buffer(http://gbatemp.net/threads/homebrew-development.360646/page-44#post-4936942). Thank you kane for not clearing that first pixel :grog:.

Anyway, attached you can find the arm11 version of Te3DS (it's yet the rotated version, had no time to port the mod by snail, maybe later). It's only to show the problem to someone who asked me. I'll update the code when there will be some new things.

PS: Accessing GPU in ARM11 do not crash the code, but commands are igniored. Still can't swap buffer, but at least with my code to identify active buffer, I can use back buffer to assemble a frame and then I can copy it to active frame in one time.. This should help st4rk progresses with his emulators.
 

Attachments

  • Launcher.zip
    11.6 KB · Views: 125

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: