ROM Hack How are homebrew programs done?

avi58

Well-Known Member
OP
Newcomer
Joined
Aug 7, 2007
Messages
61
Trophies
0
XP
94
Country
Where i can get info about making programs for the ds?

I was thinking about implementing some calculator functions into the ds to help me doing homework.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,795
Trophies
3
XP
28,452
Country
United Kingdom
There are a bunch of homebrew threads but 3 things

high level: there is a very limited java implementation, lua (DSlua), basic and the like and I will lump in the game making/scripting stuff. I am probably missing a few but those are the main ones I can think of.

not quite as high level: this is your C/C++ and is the workhorse of DS programming. C is a bit faster and can make some tighter code. Notable toolkits include palib and devkitpro. The latter is a group of libraries to sort the hardware and a compiler/assembler kit
Palib on the other hand is quite high level. It has somewhat of a reputation for being a bit clunky and slow but some damn nice homebrew has come from it and you can still backport as it were to the devkitpro toolchain when you grow out of it.

ASM level: the DS has 2 arm processors. An ARM9 and 66MHz and an ARM7 at 33MHz. This is mainly used for stuff like emulation, audio and video and hacking commercial roms as it can make the tightest code. Inline assembler (where you write a small section in ASM to do a particular task) is possible too. There are a couple of assemblers available but can I suggest the one with devkitpro, it is not quite as nice as some of the commercial stuff but when commercial means several thousand....

DS hardware specs (whatever you end up with I suggest you read these):
http://nocash.emubase.de/gbatek.htm#dstechnicaldata

As for calculator the ti85 and similar have fairly good emulators and there are a bunch of calculators with more simple functions.
 

avi58

Well-Known Member
OP
Newcomer
Joined
Aug 7, 2007
Messages
61
Trophies
0
XP
94
Country
Thank you man, i'll take a look
wink.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • NinStar @ NinStar:
    you have to launch your homebrews directly from the wii u menu
  • NinStar @ NinStar:
    there is a plugin that display them on the wii u menu, pretty sure it is enabled by default
  • crafthp434 @ crafthp434:
    so like it doesnt exist
  • crafthp434 @ crafthp434:
    yeah
    ?
  • NinStar @ NinStar:
    it doesn't exist, at least not for aroma
  • crafthp434 @ crafthp434:
    ohhhhh
  • NinStar @ NinStar:
    on tiramisu you can access it by opening mii maker
  • crafthp434 @ crafthp434:
    okay
  • NinStar @ NinStar:
    I don't have a wii u anymore to test it myself, but if homebrews are not visible on the wii u menu I think you can press L + R + minus to open the plugin menu, there should be an option called "homebrews on wii u menu" or something similar
  • crafthp434 @ crafthp434:
    nope
  • crafthp434 @ crafthp434:
    it is L+dpad down+ select
  • crafthp434 @ crafthp434:
    but homebrew is appearing in the home menu btw
  • NinStar @ NinStar:
    yes, now I remember it
  • NinStar @ NinStar:
    then it is working, I also don't like that they did this but it is the only option you have if you are using aroma
  • crafthp434 @ crafthp434:
    i just didint know the homebrew launcher didint exist in aroma
  • crafthp434 @ crafthp434:
    thanks btw
  • Xdqwerty @ Xdqwerty:
    Im downloading fallout 3 goty edition
    +1
  • BigOnYa @ BigOnYa:
    I'm downloading more ram for my hamster pc
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    New hamster PC, with anal operation and BT connectivity!
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, How do I make enemies respawn on gdevelop after
    the player dies?
  • Psionic Roshambo @ Psionic Roshambo:
    Carrying a PC or phone is so old school!
  • Psionic Roshambo @ Psionic Roshambo:
    Squeeze your cheeks twice to answer calls!
  • BigOnYa @ BigOnYa:
    @Xdqwerty you can use a "spawner" function on any object.
  • BigOnYa @ BigOnYa:
    Or when your player dies, you can say in code, if enemy exists, do nothing, but if enemy does not exist, then create enemy at certain spot. (This would be a pain tho for lots of emeies)
    BigOnYa @ BigOnYa: Or when your player dies, you can say in code, if enemy exists, do nothing, but if enemy does...