Homebrew .NET Micro framework (C#/VB.NET)

Which language(s) do you develop in?


  • Total voters
    97

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,403
Country
United Kingdom
I dare say most 3ds homebrew will probably be assembly, C and C++ for the time being, indeed most people are not doing 3ds homebrew owing to a lack of info and https://github.com/smealum is about as good as things get as far as source code and libs to look at. However the 3ds having a handful of "big framework" style programming languages would make me curious. Likewise I am not sure how well it would handle the overhead but back on the DS people were using Lua to spectacular effect so that is not so bad.
 
  • Like
Reactions: filfat

misterb98

Moral Gateway User. Wat.
Member
Joined
Aug 24, 2010
Messages
449
Trophies
0
XP
290
Country
United States
If you can get this working, that will be amazing. Im already considering trying to learn C to mess around with the 3ds, but if c# works.... :D
 
  • Like
Reactions: filfat

TheCruel

Developer
Banned
Joined
Dec 6, 2013
Messages
1,350
Trophies
2
XP
3,131
Country
United States
Hmm interesting, I wasn't aware of the .NET Micro Framework or that .NET could compile to native ARM. It all seems unnecessarily high-level to me, but if you're a C# fan, go for it. :lol:
 
  • Like
Reactions: cearp and filfat

filfat

CTO @ Nordcom Group Inc.
OP
Member
Joined
Nov 24, 2012
Messages
1,261
Trophies
1
Location
Gothenburg, Sweden
Website
www.sweetsideofsweden.com
XP
1,749
Country
Sweden
Okay, status update.
I have now started looking into the .NET Micro Porting kit(or PK for short) and it seems like I will have to create a special "CAD" file with the PCB layout for the compiler to understand the board correctly, also, Nintendo's 1048 SoC is not helping XD
Oh yeah, I'm also making progress on compiling, only 43 errors and 124 warnings on a template project ;)
Oh well I will be back when I got something new.

Worth to read(as a reminder for me):
http://3dbrew.org/wiki/Hardware
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0201d/index.html
Etc...

BTW, anyone out there who is interested in helping? I will be publishing the codeplex project soon, but of course without any "working" code, I'm not that fast ;)
 

dubbz82

Well-Known Member
Member
Joined
Feb 2, 2014
Messages
1,572
Trophies
0
Age
41
XP
1,215
Country
United States
This is awesome. Personally I find some of the low level stuff in C/asm to be a bit of a headache...if you can in fact get this up and running I'll personally be pretty happy
 

filfat

CTO @ Nordcom Group Inc.
OP
Member
Joined
Nov 24, 2012
Messages
1,261
Trophies
1
Location
Gothenburg, Sweden
Website
www.sweetsideofsweden.com
XP
1,749
Country
Sweden
Okay, I have looked into the code a bit and well, I need a few C++/C Developers to get the "Firmware"(Or more like the think that runs the .NET Micro Firmware...) running on the 3DS, then everything from there will be *easy*, we just need that initial push forward. Any one? :)
 

McHaggis

Fackin' Troller
Member
Joined
Oct 24, 2008
Messages
1,749
Trophies
0
XP
1,466
Country
Still nothing, however thinking about it, it might be possible to *remap* C# to C++.
Which means that we basically develop in C# but compile in C++ if that makes sense...

Not much, I'm afraid. The differences in grammar would cause a C++ compiler to choke and mapping/replacing code prior to compilation is likely to cause more problems. What you need to look at is porting either Mono or .Net MF to the 3DS hardware. Microsoft released a porting kit for .NET MF, that's probably the best place to start.

If you want my advice, though, it's to write 3DS software using C/C++. It can be difficult at first, but the more you practice, the closer you get to having knowledge of another programming language under your belt.
 
  • Like
Reactions: filfat

filfat

CTO @ Nordcom Group Inc.
OP
Member
Joined
Nov 24, 2012
Messages
1,261
Trophies
1
Location
Gothenburg, Sweden
Website
www.sweetsideofsweden.com
XP
1,749
Country
Sweden
Yes, I have looked into the porting kit, however my C++ knowledge is way to bare to be able to make any use of it, I blame C# for that(I have forgotten the most of C++ since C#).
Hmm, I wonder how hard it would be to get Mono to run on 3DS hardware...... *Windows 95 Loading Bar*
In short we got everything to port either .NET MF or Mono,
We got
  • ARMv11 & ARMv9 Support.
  • We can basically access all framebuffers.
  • We can access about everything if I'm not mistaken.
So I just need anyone to get Mono or .NET running on the 3DS and then I would gladly spend the next month or two writing C# API's that developers can use.

EDIT:
Just saw that you recommended learning C++/C to me... you mean like re-learn it? :P
 

dubbz82

Well-Known Member
Member
Joined
Feb 2, 2014
Messages
1,572
Trophies
0
Age
41
XP
1,215
Country
United States
There's a number of things the .net languages take care of for you....LINQ is nice but above and beyond that there's stuff like garbage collection that automatically disposes of objects after they're done being used...(at least for most object types)
 
  • Like
Reactions: filfat

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=EIoANBgzYkQ